pantiweara / get-flash-videos

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

Hulu not working. #429

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Fresh install of get_flash_video and hulu plugin
2. run ./get_flash_videos --debug http://www.hulu.com/watch/402521
3.

What is the expected output? What do you see instead?
I expected video to download but instead get the following output:

./get_flash_videos --debug http://www.hulu.com/watch/402521
1 plugin installed:
- Hulu.pm
Downloading http://www.hulu.com/watch/402521
-> GET http://www.hulu.com/watch/402521
<- 200 text/html; charset=utf-8 (76912): UTF8 on, ASCII, 76912 characters 76912 
bytes
Trying to open plugin ~/.get_flash_videos/plugins/Www.pm
Trying to open plugin ~/.get_flash_videos/plugins/Hulu.pm
Using method 'hulu' for http://www.hulu.com/watch/402521
Found Hulu CID: 60122609
-> GET http://www.hulu.com/site-player/player.swf
<- 200 application/x-shockwave-flash
Newer Hulu SWF retrieved (Fri, 24 Aug 2012 06:13:08 GMT)
-> GET http://r.hulu.com/videos?content_id=60122609
<- 404 text/plain (13): UTF8 off, ASCII, 13 characters 13 bytes
Error: Couldn't get Hulu encrypted PID at 
/loader/0x7fbf0a3a71e0/FlashVideo/Site/Hulu.pm line 116.

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

Please confirm the site is using Flash video and if you have Flash available
check that the URL really works(!).

Check for updates by running: ./get_flash_videos --update

If the latest version does not support this please open a bug (or
contribute a patch!) at http://code.google.com/p/get-flash-videos/
make sure you include the output with --debug enabled.
Couldn't download any videos.

What version of the product are you using? On what operating system?
Mac OS X10.8 using most up-to-date version of get_flash_videos and hulu.pm

Please provide any additional information below.

I modified the hulu plugin to for it to use eid instead of cid.  It got a 
little further but crapped out trying to decrypt using the pid.

Original issue reported on code.google.com by jeffkirk...@gmail.com on 20 Sep 2012 at 9:35

GoogleCodeExporter commented 9 years ago
EID lookup was failing. The attached change fixed it for me.

Original comment by Alexande...@gmail.com on 21 Sep 2012 at 3:15

Attachments:

GoogleCodeExporter commented 9 years ago
The patch works for me. Thanks!

Original comment by bradleyb...@gmail.com on 21 Sep 2012 at 4:19

GoogleCodeExporter commented 9 years ago
Fixed in git. Run get_flash_videos --update to get the latest version. Thanks 
to flashinpan for the fix.

Original comment by zakflash...@gmail.com on 25 Sep 2012 at 7:06

GoogleCodeExporter commented 9 years ago
Yet another EID format change. The attached patched fixes it (for me).

Original comment by Alexande...@gmail.com on 5 Oct 2012 at 1:55

Attachments: