MiraculousLegendas / get-flash-videos

Automatically exported from code.google.com/p/get-flash-videos
1 stars 0 forks source link

[PATCH] Google video search URL is incorrect #561

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Part of the the bug report at: 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742450 was regarding the 
Google Video Search URL, which has changed.

I have extracted the appropriate part of the patch and attached it here.

Daniel Lintott on behalf of the Debian Perl Group

Original issue reported on code.google.com by daniel.j...@gmail.com on 23 Mar 2014 at 9:45

Attachments:

GoogleCodeExporter commented 8 years ago
Patch applied.. initial version added.

  https://github.com/monsieurvideo/get-flash-videos/commit/8890ed964d6aa51a834396e7b55e48bc07e4decc

Error on Debian (Wheezy) unpatched gfv....

$ get_flash_videos ITV "DCI Banks"
There is no form with the requested fields at 
/usr/share/perl5/FlashVideo/Site/Googlevideosearch.pm line 18
Searching 'FlashVideo::Site::Googlevideosearch' failed with: There is no form 
with the requested fields at /usr/share/perl5/WWW/Mechanize.pm line 1897.

No results found for 'ITV DCI Banks'.

Modified version on OpenBSD...
$ perl -Ilib ./get_flash_videos ITV  "DCI Banks"
Search for 'ITV DCI Banks' found these results:
Wide character in printf at ./get_flash_videos line 219.
[ 1] ⺠1:01
[ 2] DCI Banks - Brand New Series 3 - Coming soon to ...
Wide character in printf at ./get_flash_videos line 219.
[ 3] ⺠1:01
[ 4] ITV3, ITV new-look trailers 2013 - DCI Banks ...
Wide character in printf at ./get_flash_videos line 219.
[ 5] ⺠45:37
[ 6] DCI BANKS DRY BONES THAT DREAM PART2 ON ...
Wide character in printf at ./get_flash_videos line 219.
[ 7] ⺠46:07
[ 8] DCI BANKS STRANGE AFFAIR PART 1 ON ITV3 ...
Wide character in printf at ./get_flash_videos line 219.
[ 9] ⺠1:31
[10] DCI Banks, series 3, episode 1, review - YouTube
Enter the number(s) or range (e.g. 1-3) of the videos to download (separate 
multiple with comma or space): 4
Using method 'youtube' plugin version 0.01 for 
http://www.youtube.com/watch?v=4SEGQ3TIr0c
Downloading http://www.youtube.com/watch?v=4SEGQ3TIr0c
Downloading 
http://r1---sn-aigllnse.googlevideo.com/videoplayback?ratebypass=yes&ipbits=0&ex
pire=1395638896&mv=m&source=youtube&key=yt5&itag=18&fexp=919116%2C937417%2C91343
4%2C936910%2C936913%2C934022&mt=1395614045&sver=3&sparams=id%2Cip%2Cipbits%2Cita
g%2Cratebypass%2Csource%2Cupn%2Cexpire&ms=au&ip=80.177.13.158&signature=3C7FB9AC
955EA82EE722E871E8AB59EA0226DCD5.5C17BBF895759C952C7A84D5F9E009EAFC2D916D&id=e12
1064374c8af47&upn=gEpTbpcDiWE&signature=...
ITV3,_ITV_new-look_trailers_2013_-_DCI_Banks,_Lewis.mp4: 43% (1582.21 / 3677.76 
KiB)^C

Needs more work. before closing.

Original comment by njtaylor...@gmail.com on 23 Mar 2014 at 11:17