Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   get-flash-videos (http://stream-recorder.com/forum/forumdisplay.php?f=70)
-   -  

get_flash_videos' YouTube downloads fail in my new stable Debian box.

(http://stream-recorder.com/forum/showthread.php?t=10885)

ant 01-28-2012 01:03 PM

get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
Hello.

I can't seem to get get_flash_videos to work with any YouTube video on my new stable Debian box. Here is an example:

$ get_flash_videos http://www.youtube.com/watch?v=Arghq2XmijY
Downloading http://www.youtube.com/watch?v=Arghq2XmijY
Using method 'youtube' for http://www.youtube.com/watch?v=Arghq2XmijY
Unable to find video URL
YouTube:


$ get_flash_videos --version
get_flash_videos version 1.24 (http://code.google.com/p/get-flash-videos/)


Did I miss something? Thank you in advance. :)

svnpenn 01-28-2012 02:03 PM

Re: get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
I cant get it to work either. I would recommend using my YouTube bookmarklet.

svnpenn.github.com/youtube

ant 01-28-2012 02:23 PM

Re: get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
Quote:

Originally Posted by svnpenn (Post 38052)
I cant get it to work either. I would recommend using my YouTube bookmarklet.

svnpenn.github.com/youtube

Hmm, it doesn't seem to work in Mozilla's SeaMonkey web browser. :(

svnpenn 01-28-2012 02:44 PM

Re: get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
I just tested it with SeaMonkey on Windows and it is working.

ant 01-28-2012 02:52 PM

Re: get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
Quote:

Originally Posted by svnpenn (Post 38056)
I just tested it with SeaMonkey on Windows and it is working.

Weird. Maybe I am doing it wrong. I go to a YouTube video and click on your bookmarklet in my toolbar. Does it matter what version (2.0.14) I have and the addons/extensions (FlashBlock, AdBlock Plus, etc.)?

svnpenn 01-28-2012 03:20 PM

Re: get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
A bookmarklet is javascript so if you have anything blocking javascript you will need to deal with that.

ant 01-28-2012 03:37 PM

Re: get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
Quote:

Originally Posted by svnpenn (Post 38063)
A bookmarklet is javascript so if you have anything blocking javascript you will need to deal with that.

Weird. I use TinyURL, DeSlide, etc. bookmarklets without any problems.

svnpenn 01-28-2012 03:57 PM

Re: get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
The source code is available at
github.com/svnpenn/youtube

Beyond that Im not sure what more I can do for you.

ant 01-28-2012 04:03 PM

Re: get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
Quote:

Originally Posted by svnpenn (Post 38067)
The source code is available at
github.com/svnpenn/youtube

Beyond that Im not sure what more I can do for you.

Thanks anyways! I use third party downloaders like Orbit Downloader, (c)clive, get_flash_videos, etc. for YouTube videos.

FYI from error console when I click on your bookmarklet:
Error: player.insertAdjacentHTML is not a function
Source file: http://svnpenn.github.com/youtube/yt.js
Line: 54

svnpenn 01-28-2012 05:05 PM

Re: get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
Quote:

Originally Posted by ant
Error: player.insertAdjacentHTML is not a function

I rewrote the code to use innerHTML instead of insertAdjacentHTML.
You should try the bookmarklet again, you might need to clear your Cache first so that the bookmarklet uses the new code.

ant 01-28-2012 08:07 PM

Re: get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
Quote:

Originally Posted by svnpenn (Post 38070)
I rewrote the code to use innerHTML instead of insertAdjacentHTML.
You should try the bookmarklet again, you might need to clear your Cache first so that the bookmarklet uses the new code.

Awesome, it worked! OK a question: Does it not work with embedded YouTube videos? Also, I assume YouTube has to be streaming and not blocked by FlashBlock.

svnpenn 01-28-2012 08:28 PM

Re: get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
When you watch a video on YouTube, the URLs for every quality of video are actually already there, just hidden in the page source. All this bookmarklet does is parse out those URLs.

It will not work with embedded videos and there are no plans for that. As long as the Flash element is not removed by some plugin the bookmarklet will work.

ant 01-28-2012 08:35 PM

Re: get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
Quote:

Originally Posted by svnpenn (Post 38080)
When you watch a video on YouTube, the URLs for every quality of video are actually already there, just hidden in the page source. All this bookmarklet does is parse out those URLs.

It will not work with embedded videos and there are no plans for that. As long as the Flash element is not removed by some plugin the bookmarklet will work.

Ah, is there a way to have your bookmarklets reveal the URLs so I can copy and paste into a download manager before the downloads? Are you planning to do this for other video hosts like Vimeo, DailyMotion, etc.?

svnpenn 01-28-2012 08:40 PM

Re: get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
You can just right click any link and choose "Copy Link Location".

I only made this bookmarklet so that my brother could transfer some videos to a new YouTube account. I might look at adding Vimeo tomorrow but no guarantees.

ant 01-28-2012 08:43 PM

Re: get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
Quote:

Originally Posted by svnpenn (Post 38082)
You can just right click any link and choose "Copy Link Location".

I only made this bookmarklet so that my brother could transfer some videos to a new YouTube account. I might look at adding Vimeo tomorrow but no guarantees.

Ah, I didn't know that. Take your time. :)

svnpenn 01-29-2012 03:11 PM

Re: get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
I created a new repository, for both YouTube and Vimeo bookmarklets.

svnpenn.github.com/bm

ant 01-29-2012 04:09 PM

Re: get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
Quote:

Originally Posted by svnpenn (Post 38112)
I created a new repository, for both YouTube and Vimeo bookmarklets.

svnpenn.github.com/bm

Hmm, it didn't work on http://vimeo.com/35751003 when I tried it. I got this in my error console after a few seconds after I pressed your bookmarklet:

Error: x is undefined
Source file: http://svnpenn.github.com/bm/vimeo.js
Line: 11


Later on, is it possible to combine all video hosts with a single bookmarklet?

svnpenn 01-29-2012 04:29 PM

Re: get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
I fixed the XMLHttpRequest so it should work now. Make sure to clear Cache before retrying.

At this point I have no desire to combine the bookmarklets.

ant 01-29-2012 04:40 PM

Re: get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
Quote:

Originally Posted by svnpenn (Post 38114)
I fixed the XMLHttpRequest so it should work now. Make sure to clear Cache before retrying.

At this point I have no desire to combine the bookmarklets.

Hmm, it doesn't offer me downloads and no errors in its console. Yes, I deleted my caches and restart SM.

svnpenn 01-29-2012 05:21 PM

Re: get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
I tested it using Windows SeaMonkey 2.0.14 and it is working.

svnpenn.github.com/bm/images/seamonkey.png

ant 01-29-2012 05:36 PM

Re: get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
Quote:

Originally Posted by svnpenn (Post 38118)
I tested it using Windows SeaMonkey 2.0.14 and it is working.

svnpenn.github.com/bm/images/seamonkey.png

Oooh, I missed that. I had my web browser 800 pixels wide. I was expecting it to be like your YouTube results. I think you need to move vimeo's results and bigger like YouTube's.

svnpenn 01-29-2012 06:18 PM

Re: get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
I moved the links more to the left. As always clear Cache before retrying.

ant 01-29-2012 06:22 PM

Re: get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
Quote:

Originally Posted by ant (Post 38119)
Oooh, I missed that. I had my web browser 800 pixels wide. I was expecting it to be like your YouTube results. I think you need to move vimeo's results and bigger like YouTube's.

That's better. Maybe maybe that font size bigger? ;)

svnpenn 01-29-2012 06:54 PM

Re: get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
Now, bigger font.

Enjoy :)

gfvbgtyeys 06-14-2012 07:07 PM

pals? each day!? Become a member of your? movement!


 
Hahah ikr same the following, once the final?Look At This episode came My spouse and i FREAKEN CRIED For five MINTUES!!! and also buy diablo 3 gold
my mother is similar to The reason why Ough Crying and moping!!! i'm just like hannah mt completed and my mom responses Bizzare KID?
Any time th Hannah Mt season done on Family members Route im? not necessarily affraid to confess the idea.buy diablo 3 gold
My spouse and i

joseyiga 05-12-2013 01:49 PM

Re: get_flash_videos' YouTube downloads fail in my new stable Debian box.


 
you use http://rg3.github.io/youtube-dl/

you need python


All times are GMT -6. The time now is 04:08 AM.