View Single Post
  #48  
Old 10-28-2012, 09:53 AM
shamshel shamshel is offline
Junior Member
 
Join Date: Oct 2012
Posts: 9
shamshel is on a distinguished road
Default

Re: hulu.sh, download from Hulu


Quote:
Originally Posted by chanc View Post
http://www.hulu.com/watch/406882?utm..._term=10947797

Code:
Administrator@pc ~
$ hulu.sh
This script requires Firefox.
Killed flash player for clean dump.
Attempt 1, Restart video.
Cannot attach to process #3288, error 5kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Attempt 2, Restart video.
Attempt 3, Restart video.
Failed to open process #3100, error 87
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Attempt 4, Restart video.
Attempt 5, Restart video.
Failed to open process #3952, error 87
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Attempt 6, Restart video.
Attempt 7, Restart video.
Failed to open process #2144, error 87
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Attempt 8, Restart video.
Attempt 9, Restart video.
Failed to open process #1840, error 87
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Attempt 10, Restart video.
 0       650_h264       akamai
 1       400_h264       akamai
 2      1000_h264       akamai
 3       650_h264       limelight
 4       400_h264       limelight
 5      1000_h264       limelight
 6       650_h264       level3
 7       400_h264       level3
 8      1000_h264       level3
Make choice. Avoid level3.
3
+ rtmpdump -o a.flv -W http://download.hulu.com/huludesktop.swf -r rtmpe://hulu-243.fcod.llnwd.net/a2461/o23 -y mp4:243/60127243/agave50349659_12151792_H264_650.mp4 -a 'a2461/o23?as=adobe-hmac-sha256&av=1&te=connect&mp=243/60127243&et=1351414195&fmta-token=7b56a029ff8df997b68811ff8ca44436edb428a4810b05274209bc660056e57d&hgt=OZU7Pvs7j27-nhteNno7wj5LZZZ08ovPImyO2D2g1XJhyaMB6mRGBAYWlzm8CTsqUKQy8Kt7Nv2peyCl5xho1MB-x6F3INbzKmnTjP2XsYxHFrGPdvGkI8zGG1q9Zf7asUvD8ojLpZblESkBTcei58BDfPQVBDOaw0SqBWcZoBjzUQXOZa7FrtQJ8xx-4qwgzAB9zP83xuHoCEY8PDecCjgkgzVyAyER8hMwn4lHo8kE9ROWCGPip1O3tOStYUKmkrCARl3f16T6t4aQe_AbsJpu-nsIqevoPx0Ir3dyrrE=&hgt_ver=331370278'
RTMPDump v2.4 GIT-2012-07-26 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: RTMP_HashSWF: connection lost while downloading swfurl http://download.hulu.com/huludesktop.swf
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close

Administrator@pc ~
The new script is not as good as the old ones, especially on old computers with slow internet speed.
It continually kills the flash before the ad begins.Even though each time kills, it allows one more second, but it is far from enough. And all I had to do was to restart the video again and again and again, until there is enough time for real video starts playing.
I prefer the old version which manually start the scripts.
Is the old version still available ? It's a pity that I have not had any backups .

I would like to have the previous version which allows the scripts not to kill the video until it catches the stream.
What do those process #xxxx errors mean? I don't see those after my Flash crashes. My script would just tell me "Attempt x, Restart video" and I would go press refresh. Then it would tell me "Attempt x+1, Restart video" and I would need to go press refresh, etc.

And how are you able to get the real video to load after only 10 attempts? A short ad is about 20 seconds, so wouldn't you need to wait at least the script had 18 attempts (2 second initial wait, plus 1 second for each attempt)?

Here's the script from Oct 16, before the changes: https://github.com/svnpenn/etc/blob/...890523/hulu.sh. As a test, I just replaced the new script with that old one and it still doesn't work for me. **sigh**

I wonder if we are overlooking something outside the script. Does it matter which Flash version we are using? Or which FireFox?

Quote:
Originally Posted by Tri View Post
Can someone make detail tutorial how to download videos from hulu?
What do I do when I download RTMPexplorer and Cygwin?
You don't need RTMPexplorer, only rtmpdump and FireFox. Put hulu.sh in the same folder as rtmpdump, then run the script. It should work.... it seems like I am alone here with my problems.
Reply With Quote