giavoni / get-flash-videos

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

Cannot download Hulu Plus videos #390

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Execute the following command on a windows command prompt

perl get_flash_videos 
http://www.hulu.com/watch/160498/8-simple-rules-the-principal#s-p1-so-i0

What is the expected output? What do you see instead?

I would expect to see that the .flv would begin downloading. Instead the 
following output is generated: -

Downloading http://www.hulu.com/watch/160498/8-simple-rules-the-principal#s-p1-s
o-i0
Using method 'hulu' for http://www.hulu.com/watch/160498/8-simple-rules-the-prin
cipal#s-p1-so-i0
Enter Hulu username and passwordUsername: xxxxxxxx@xxxxxxx.xxx
Ok, need your password:xxxxxxxxx
Found Hulu CID: 50059728
Found Hulu EID: BOOTsJZyR0iMt_uMkSKykQ
Error: Couldn't get RTMP url at /loader/0x14fa6c4/FlashVideo/Site/Hulu.pm line 2
72, <STDIN> line 2.

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?

Windows XP, Get_Flash_Videos version 2.4 and the most recent update of the hulu 
plugin

Please provide any additional information below.

The login file has been created to force login with hulu plus credentials. Even 
though the netrc file has been created, the system still prompts interatively 
for the username and password.

Both hulu.com and rtmpexplorer work and can access the video listed.

Original issue reported on code.google.com by an...@manageyour.info on 29 May 2012 at 10:08

GoogleCodeExporter commented 9 years ago
I no longer have access to Hulu Plus so I can't check this. (Someone gave me 
access to develop the functionality, never replied to my email after I finished 
coding, reneged on an offer to pay, and has now changed login information and 
the cached session has expired.)

Original comment by zakflash...@gmail.com on 30 May 2012 at 7:57

GoogleCodeExporter commented 9 years ago
I'd like to find a way to help. Perhaps email me offline and we can bring 
results back into the post.

Original comment by an...@manageyour.info on 30 May 2012 at 8:15

GoogleCodeExporter commented 9 years ago
I just found out what was wrong with the downloads. I was debugging the code 
for the plugin and found that a file called "auth" was being used as a cache 
for the authentication token. So I deleted the file and lo' and behold it 
started working.

I now have two separate issues to test. Will the auth file update properly? Why 
does it prompt me to enter the hulu plus login details even though they're in 
the netrc file? Thoughts?

Original comment by an...@manageyour.info on 30 May 2012 at 10:23

GoogleCodeExporter commented 9 years ago
Prompt issue: if you're being prompted, it's because your details can't be 
found in the .netrc file, or the .netrc file itself can't be found. I didn't 
test support for that on Windows. I don't know Net::Netrc even looks for the 
file on Windows. Just to double check the format though, it should be:

  machine hulu login yourhuluusername password yourpassword

The "auth" file is used to cache the authentication token. It's valid for a 
month or so. The plugin does another auth request when the token has expired.

Original comment by zakflash...@gmail.com on 31 May 2012 at 6:01

GoogleCodeExporter commented 9 years ago
Lack of further details, closing for now.

Original comment by zakflash...@gmail.com on 20 Jun 2012 at 8:09