rg3/youtube-dl — Issue #274: youtube-dl.py ytsearch, gvsearch and ybsearch...  hm... and dmsearch, mvsearch? :-)
Author: hjiuow8nui
Created: 2012-01-16 02:04:21+00:00
State: open

Hi!

According to http://rg3.github.com/youtube-dl/documentation.html , it is possible to search video sites and automatically download the videos found.

As far as i can see, ytsearch (for youtube), gvsearch (for google video) and ybsearch (for yahoo video) are implemented.

But i can only get ytsearch working. The other boths dont work for me.

Example:

A batch file "test" with the content:

e:\programme\python26\python youtube-dl.py -U
e:\programme\python26\python youtube-dl.py -i -w "ytsearch2:funny cats"
e:\programme\python26\python youtube-dl.py -i -w "gvsearch2:funny dogs"
e:\programme\python26\python youtube-dl.py -i -w "ybsearch2:funny animals"

produces the following output:

c:\test>test

c:\test>e:\programme\python26\python youtube-dl.py -U
Updating to latest version...
youtube-dl is up-to-date (2012.01.08b)

c:\test>e:\programme\python26\python youtube-dl.py -i -w "ytsearch2:funny cats"

[youtube] Setting language
[youtube] query "funny cats": Downloading page 1
[youtube] ElzPZNSdd5w: Downloading video webpage
[youtube] ElzPZNSdd5w: Downloading video info webpage
[youtube] ElzPZNSdd5w: Extracting video information
[download] Destination: ElzPZNSdd5w.mp4
[download] 100.0% of 43.72M at 999.03k/s ETA 00:00
[youtube] w0ffwDYo00Q: Downloading video webpage
[youtube] w0ffwDYo00Q: Downloading video info webpage
[youtube] w0ffwDYo00Q: Extracting video information
[download] Destination: w0ffwDYo00Q.flv
[download] 100.0% of 4.84M at 105.97k/s ETA 00:00

c:\test>e:\programme\python26\python youtube-dl.py -i -w "gvsearch2:funny dogs"

[video.google] query "funny dogs": Downloading page 1

c:\test>e:\programme\python26\python youtube-dl.py -i -w "ybsearch2:funny animals"
WARNING: Falling back on generic information extractor.
[generic] ybsearch2:funny animals: Downloading webpage
ERROR: Unable to retrieve video webpage:
c:\test>

So, from youtube there are two videos downloaded, as intended, very fine :-)
But via google and yahoo none.

Am i doing or understanding something wrong, or is there something broken?

And... unfortunately i am no programmer, so i can not implement it by myself, but i suspect that i am not the only one who would appreciate it very much, if such a search option would be implemented for other video download sites too, e.g. dailymotion or myvideo :-)

Thanks in advance, best regards :-)