Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 03-23-2012, 01:10 AM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Hulu download script


I created a very basic Ruby script to download from Hulu.

It only works for Windows right now.

Feel free to use and improve it.

github.com/svnpenn/dotfiles/blob/master/bin/hulu.rb
Reply With Quote
  #2  
Old 03-23-2012, 01:54 AM
Stream Ripper Stream Ripper is offline
Super Moderator
 
Join Date: Feb 2007
Location: World
Posts: 886
Stream Ripper has a reputation beyond reputeStream Ripper has a reputation beyond reputeStream Ripper has a reputation beyond reputeStream Ripper has a reputation beyond reputeStream Ripper has a reputation beyond reputeStream Ripper has a reputation beyond reputeStream Ripper has a reputation beyond reputeStream Ripper has a reputation beyond reputeStream Ripper has a reputation beyond reputeStream Ripper has a reputation beyond reputeStream Ripper has a reputation beyond repute
Default

Re: Hulu download script


Awesome, thanks!
Reply With Quote
  #3  
Old 03-23-2012, 08:40 AM
evol evol is offline
Senior Member
 
Join Date: Jun 2011
Posts: 228
evol is on a distinguished road
Question

ruby install???


Hi have you any hints and tips on installing ruby on windows to use your script ?

Ive installed rubyinstaller version 1.8.7 and the DevKit and ran
Code:
gem install nokogiri
&
Code:
gem install nokogiri --platform=ruby
Still cant get your script to work ?

Reply With Quote
  #4  
Old 03-23-2012, 12:05 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: ruby install???


I'm at work right now.

I will try to make a write up for the script later today!
Reply With Quote
  #5  
Old 04-03-2012, 03:49 PM
evol evol is offline
Senior Member
 
Join Date: Jun 2011
Posts: 228
evol is on a distinguished road
Default

Re: Hulu download script


Any help on this please im really interested in this Ruby method.

Thanks
Reply With Quote
  #6  
Old 04-03-2012, 03:54 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: Hulu download script


Sorry for the delay. I have been trying to turn the script into a Ruby gem, so that it is easier to install.

I am new with Ruby so its been slow going, but it definitely works with Hulu, without:

* modifying hosts file
* RtmpSrv
* RtmpExplorer
Reply With Quote
  #7  
Old 04-05-2012, 06:32 AM
evol evol is offline
Senior Member
 
Join Date: Jun 2011
Posts: 228
evol is on a distinguished road
Thumbs up

Re: Hulu download script


Quote:
Originally Posted by svnpenn View Post
Sorry for the delay. I have been trying to turn the script into a Ruby gem, so that it is easier to install.

I am new with Ruby so its been slow going, but it definitely works with Hulu, without:

* modifying hosts file
* RtmpSrv
* RtmpExplorer
Thanks for the update ill look forward to your little gem
Reply With Quote
  #8  
Old 04-05-2012, 11:00 AM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: Hulu download script


What issue did you have, maybe I can solve it for now.
Reply With Quote
  #9  
Old 04-05-2012, 04:13 PM
evol evol is offline
Senior Member
 
Join Date: Jun 2011
Posts: 228
evol is on a distinguished road
Question

Re: Hulu download script


Quote:
Originally Posted by svnpenn View Post
What issue did you have, maybe I can solve it for now.
This is the error i get even though i have nokogiri installed from gem ?
Code:
C:\Documents and Settings\evol\Desktop\hulu>ruby hulu.rb
hulu.rb:4:in `require': no such file to load -- nokogiri (LoadError)
        from hulu.rb:4

C:\Documents and Settings\evol\Desktop\hulu>
Reply With Quote
  #10  
Old 04-05-2012, 05:07 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: Hulu download script


Ok I see the problem

This script requires Ruby 1.9

If you are going to use Ruby 1.8 you need this diff

Code:
--- a/hulu.rb	2012-04-05 16:48:54 -0500
+++ b/hulu.rb	2012-04-05 17:02:56 -0500
@@ -1,6 +1,7 @@
 #!/bin/env ruby
 # nokogiri.org/Nokogiri/XML/Document
 # tenderlovemaking.com/2008/12/04/nokogiris-slop-feature
+require 'rubygems'
 require 'nokogiri'
 
 # Dump process and parse
stackoverflow.com/a/5496053
Reply With Quote
Reply Post New Thread
Tags: ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 09:44 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons