dhumketuxbox / ror5

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

Hulu broken again #424

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. no tested urls (see below) work

What is the expected output? What do you see instead?
Expect the movie to download, instead get something like:

Using method 'hulu' for http://www.hulu.com/watch/215837
Downloading http://www.hulu.com/watch/215837
Found Hulu EID: X1kBnpgj2eecfIcHp6Dm9A
Error: encrypt: datasize not multiple of blocksize (16 bytes) at 
/loader/0x2159790/FlashVideo/Site/Hulu.pm line 582.

Couldn't extract Flash movie URL. This site may need specific support adding,
or fixing.

What version of the product are you using? On what operating system?
using a fresh git clone and the Hulu.pm pushed out on Sept. 7th.

Please provide any additional information below.
urls tested:
http://www.hulu.com/watch/231664
http://www.hulu.com/watch/215837
http://www.hulu.com/watch/215925
http://www.hulu.com/watch/256956
(and every other CritCo movie)

Also I hope the use of .netrc is temporary since it breaks other programs. Each 
plugin/site needs it's own .rc file with login credentials. (Sorry didn't want 
to do a whole "Issue" for this.)

Thanks for the program!

Original issue reported on code.google.com by sunwuk...@gmail.com on 8 Sep 2012 at 6:26

GoogleCodeExporter commented 8 years ago
In Hulu.pm, change line 76 from this:

    if ($browser->content =~ m{huluim[.]com/video/(\d+)[?]size}) {

to this:

    if ($browser->content =~ m{huluim[.]com/(?:video|movie)/(\d+)[?]size}) {

Original comment by baby.lueshi@gmail.com on 8 Sep 2012 at 7:00

GoogleCodeExporter commented 8 years ago
Thanks working again!

Original comment by sunwuk...@gmail.com on 12 Sep 2012 at 1:56

GoogleCodeExporter commented 8 years ago
Fixed in git thanks to code from flashinpan. Run get_flash_videos --update to 
get the latest version.

Original comment by zakflash...@gmail.com on 19 Sep 2012 at 7:46