hulu.sh

Topics regarding RTMPDump.
svnpenn
Posts: 263
Joined: Tue Nov 01, 2011 12:19 am

Re: hulu.sh

Postby svnpenn » Thu Mar 28, 2013 4:52 pm

kitana wrote:Not sure if right-clicking the above link>Save link as.. would work or simply pull hulu.sh out of this ZIP

Code: Select all

https://github.com/svnpenn/a/archive/master.zip


Thank you for this, I would rather not spend my days teaching people *how to download a file*.

Terminator02
Posts: 11
Joined: Thu Mar 28, 2013 1:38 am

Re: hulu.sh

Postby Terminator02 » Thu Mar 28, 2013 9:27 pm

My apologies for the hassle. Thank you kitana, the hulu.sh from that archive works perfectly, and thank you svnpenn, your script is fantastic.

Terminator02
Posts: 11
Joined: Thu Mar 28, 2013 1:38 am

Re: hulu.sh

Postby Terminator02 » Sun Mar 31, 2013 10:17 am

I've noticed that when a download messes up, my example was I lost connection for a bit, when I try to re-initiate the download by rerunning the script it starts over again from the beginning.

When I do similar with get_flash_videos, it sees that the file I'm trying to download is already partially there, so it executes a resume with rtmpdump. I'm requesting that you implement something similar in hulu.sh.

svnpenn
Posts: 263
Joined: Tue Nov 01, 2011 12:19 am

Re: hulu.sh

Postby svnpenn » Sun Mar 31, 2013 4:03 pm

Terminator02 wrote:I've noticed that when a download messes up, my example was I lost connection for a bit, when I try to re-initiate the download by rerunning the script it starts over again from the beginning.
When I do similar with get_flash_videos, it sees that the file I'm trying to download is already partially there, so it executes a resume with rtmpdump. I'm requesting that you implement something similar in hulu.sh.


Sorry, not interested. However as it is a script you can easily go in and modify the code.

svnpenn
Posts: 263
Joined: Tue Nov 01, 2011 12:19 am

Re: hulu.sh

Postby svnpenn » Thu Apr 04, 2013 5:38 am

github.com/svnpenn/a/commit/55c8

Code: Select all

 Monitor existence of folder rather than process memory

Previously the script monitored the memory usage of
Firefox (/proc/$arg_pid/maps). When the memory usage "flattened out" it was
taken as an indicator that the video had been loaded.

This method has proven to be unreliable in its current form across countries
and operating systems. This has been the cause of the much ballyhooed
"dumped too soon, retry" errors.

I noticed that while loading the video several files and folders are loaded in
the Firefox folder. The script now waits for the creation of "thumbnails"
folder before dumping Firefox. I ran 10 successful tests with this, but we shall
see how it goes.

svnpenn
Posts: 263
Joined: Tue Nov 01, 2011 12:19 am

Re: hulu.sh

Postby svnpenn » Sat Apr 06, 2013 7:21 am

github.com/svnpenn/a/commit/17d4

Code: Select all

 Search Firefox cache instead of monitoring file

Monitoring a file is not working for some people, as it appears the for them the
file is being created before the video has loaded.

New method waits until "hulu.com/position" file has been downloaded before
assuming video has loaded.

kitana
Posts: 24
Joined: Sat Mar 23, 2013 3:50 am

Re: hulu.sh

Postby kitana » Tue May 14, 2013 12:11 am

Does hulu.sh work on other sites similar to Hulu? I tried it at EpixHD.com (used a 14-day Free Trial)
epixhd.jpg

Pretty sure the CND and FILETYPE params are entirely different
epixhd-2.jpg

svnpenn
Posts: 263
Joined: Tue Nov 01, 2011 12:19 am

Re: hulu.sh

Postby svnpenn » Tue May 14, 2013 12:58 am

kitana wrote:Does hulu.sh work on other sites similar to Hulu?


Since the heyday of
get-flash-videos,
the way it has been done is one script per site.

Granted, with GFV you could consider the scripts Perl Modules with a master
script to control them, but still. If I was to support another site it would be
through another script.

I do not have the motivation to do this, however the "hulu.sh" script is open
source with the entire history of the file available on GitHub. Perhaps you
could learn from it and make your own.

BenoitRen
Posts: 8
Joined: Sat Aug 24, 2013 8:26 pm

Re: hulu.sh

Postby BenoitRen » Sat Aug 24, 2013 10:59 pm

I gave this script a try under Baby Cygwin (on Windows XP) after modifying it for SeaMonkey. However, it doesn't work because it doesn't look like it can access the program memory:

Code: Select all

waiting for seamonkey to load...
dumping seamonkey...
./hulu.sh: line 101: /proc/2400/winpid: No such file or directory
grep: hulu.core: No such file or directory
Dumped too soon, try increasing sleep values.

Any ideas?

BenoitRen
Posts: 8
Joined: Sat Aug 24, 2013 8:26 pm

Re: hulu.sh

Postby BenoitRen » Sun Aug 25, 2013 1:28 am

Looks like I had a bad version of Baby Cygwin. It was the one I downloaded using the script (ran using Unxutils). The reason I didn't notice is because I also have devkitPro on this computer, which provided the msys DLL file that the bad version needed. I solved the problem by using the Baby Cygwin download package (which wasn't easy to find).

By this point I was using hulu-xp.sh instead of the regular script, and it works now.

Thanks svnpenn, you're my hero. :) All the hours searching for a solution finally paid off!


Return to “RTMPDump Specific”

Who is online

Users browsing this forum: No registered users and 1 guest