Skip navigation.

exploreopera

| Help

Sign up | Help

Dreamcatcher

Hell is fueled by nightmares...

Posts tagged with "ruby"

Ruby Movie Get 1.50 Released! (Last.fm support added!)

, , , ...

It's been 5 months since the last release of Movie Get. Defc0n and I are both busy working in real-life but we are proud to present the 1.50 release of Movie Get. The project site is here and You can download Movie Get on Your machine from here.

Here is the changelog for this version:

Fixed support for:
  • dailymotion.com ( issue #62 );
  • gazeta.pl ( issue #62 );
  • glumbert.com ( issue #62 );
  • itvp.pl ( issue #62 );
  • sevenload.com ( issue #62 );
  • veoh.com ( issue #62 );
  • patrz.pl ( issue #53 , issue #56 , issue #57 );
  • smog.pl ( issue #54 );

Removed support for (these sites are no longer avaible on the network):
  • stage6.com ( issue #61 );
  • loadup.ru ( issue #63 );
  • czechtv ( issue #63 );

Added support for:
  • last.fm (mp3 and video) ( issue #59 );

Ruby is no longer required on MS Windows (the installer contains all the required files), thanks to rubyscript2exe. This saves a typical Windows user ~22MB of download.

We are mostly proud of last.fm support. You can download both mp3 and video content with mget from last.fm. But in order to download content You have to register a free account on last.fm and add at least 14 tracks to Your playlist. After that You can give mget url's like http://www.lastfm.pl/music/The+Offspring/_/The+Kids+Aren't+Alright and in return mget will give You back a direct link to full length mp3 files. It may take some time before mget returns the link. If it fails with a cryptic error then Your network probably timedout. Just try again and it should work :wink:

A little example to get You started :wink:
C:\Users\mulander>mget -sdC "http://www.lastfm.pl/music/The+Offspring/_/The+Kids
+Aren't+Alright"
[?] To use the LastFM module, you need at least 14 tracks on Your playlist!
LastFM decided that in order to view this movie you must identify
LastFM username: YourAccount
LastFM password: YourPassword
http://play.last.fm/user/1b4b32a32ee6e08a08bbc7a6c3e999e5.mp3
--22:28:40--  http://play.last.fm/user/1b4b32a32ee6e08a08bbc7a6c3e999e5.mp3
           => `./LastFM000000.mp3'
Resolving play.last.fm... 87.117.229.109
Connecting to play.last.fm|87.117.229.109|:80... connected.
HTTP request sent, awaiting response... 302
Location: http://s10.last.fm/user/9650693/1b4b32a32ee6e08a08bbc7a6c3e999e5/116/0
004618070/a760648797f04e38f6477388d584973a/1213302521/10.0.0.25/164001545.mp3 [f
ollowing]
--22:28:40--  http://s10.last.fm/user/9650693/1b4b32a32ee6e08a08bbc7a6c3e999e5/1
16/0004618070/a760648797f04e38f6477388d584973a/1213302521/10.0.0.25/164001545.mp
3
           => `./LastFM000000.mp3'
Resolving s10.last.fm... 87.117.229.97
Connecting to s10.last.fm|87.117.229.97|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2á918á608 (2.8M) [audio/mpeg]

100%[====================================>] 2á918á608     16.44K/s    ETA 00:00

22:31:30 (16.78 KB/s) - `./LastFM000000.mp3' saved [2918608/2918608]

Mget 1.15 released

, , ,



16:37 < Brain> Pinky, are you pondering what I'm pondering?
16:37 <@Pinky> I think so, Brain, but if they called them sad meals kids wouldn't buy them
16:38 < Brain> the fact that your mind is not clouded by medication only fills me with pity.
16:38 <@Brain> We will release a new version of mget to take over the world!
16:38 <@Pinky> Gee Brain let's do it!
16:38 -!- Brain changed the topic of #united_crew to: Ruby Movie Get v1.15: http://movie-get.org
16:38 <@Pinky> What are we going to do tomorrow night, Brain?
16:38 <@Brain> The same thing we do every night, Pinky.
16:38 <@Pinky> What's that?
16:38 <@Brain> ...I have no idea.
16:38 <@Pinky> Poit.
16:38 <@Brain> Narf.

Movie Get 1.10 Released

, , , ...

As in the topic, here's a short list of what's new since version 1.01:

mget (1.10)

+ Added support for:
- movies.yahoo.com (requires mplayer);
- itvp.pl (requires mplayer) (issue #3);
+ Fixed some minor bugs;
+ Behaviour changes:
- log files are now stored in one place;
- files are downloaded to sub-directories
only when the list of movies is supplied
from a file ( by the --input command ).

-- mulander, defc0n, 22.12.2006

See the whole ChangeLog if you didn't track the development process :wink:

Mainly the application should be less messy then the previous releases (they left logs(files) everywhere just waiting for someone to trip over them P:).
Also the previous versions always created a directory for the current movie site that it's downloading from, and it dumped the file there. This was annoying especially if you just wanted to download one file (you still get the directory structure download but only with the --input flag).
And last but not least. Two new movie sites. I'm sure that I don't have to introduce anyone to movies.yahoo.com :wink: but you may be wondering about the second one. Well I didn't use it much myself, but we got a feature request from an Movie Get user so we did our best and here it is :wink:

Visit the project homepage to get Movie Get

I would love to get your feedback on the script.
How do you like it? Is it useful? What would you change otherwise?

Movie Get got some attention

, , ,

Recently some people told me that the script is being used by more people then I actually thought. So with my friend defc0n we decided to move our repository to google hosting and set up a simple page for the project. Also a friend prepared an installer for MS Windows, and some other people are working on packages for various linux distributions. Maybe this all is far to much for such a simple script. But it doesn't hurt anyone and if at least one person finds it useful, then it's worth it.

If you want to keep track of things that change in mget development, then go right to our project page.

Ruby Movie Get v0.05

, , ,

A new release of mget appeared, with some help from my friend defc0n we added the following functionality.

Downloading movies from:

  • Google Videos
  • vids.myspace
  • patrz.pl (a polish equivalent for youtube)
  • smog.pl (another polish video site)
  • Converting .flv movies to .avi using ffmpeg software
  • Fixed downloading movies from metacafe


You can get the new version here. I'm looking forwards for your comments, opinions and feature suggestions. We are also considering with defc0n, placing the code on google hosting - where a good issue (bug) tracker would be available (not to mention other features of google hosting), should we move our repo to google? What do you think?.

Ruby Movie Get

, , , ...

I've been playing with ruby recently and coded a simple app that some of you might find useful.
Movie Get is a simple console script written in ruby. Mget allows downloading videos from metacafe and youtube directly from your console. Here is an example of its usage:
mulander@inferno ~/code/ruby/mget $ ruby mget.rb 
Usage:   mget.rb url name
url      - a valid youtube or metacafe movie link
filename - name used to save the file, without the extension


mulander@inferno ~/code/ruby/mget $ ruby mget.rb http://youtube.com/watch?v=lawkc3jH3ws linux_xgl

http://youtube.com/get_video.php?video_id=lawkc3jH3ws&eurl=&iurl=http%3A//sjl-static10.sjl.youtube.com/vi/lawkc3jH3ws/2.jpg&t=OEgsToPDskJPhYFA2LMxSAL4vhmoD8rG

Download the movie (using wget) now? [Y/n] Y


--14:50:22--  http://youtube.com/get_video.php?video_id=lawkc3jH3ws&eurl=&iurl=http%3A//sjl-static10.sjl.youtube.com/vi/lawkc3jH3ws/2.jpg&t=OEgsToPDskJPhYFA2LMxSAL4vhmoD8rG
           => `linux_xgl.flv'
Resolving youtube.com... 208.65.153.241, 208.65.153.242, 208.65.153.245
Connecting to youtube.com|208.65.153.241|:80... connected.
HTTP request sent, awaiting response... 303 See Other
Location: http://youtube-924.vo.llnwd.net/d1/02/3B/lawkc3jH3ws.flv [following]
--14:50:22--  http://youtube-924.vo.llnwd.net/d1/02/3B/lawkc3jH3ws.flv
           => `linux_xgl.flv'
Resolving youtube-924.vo.llnwd.net... 68.142.89.233, 87.248.197.25, 87.248.197.38
Connecting to youtube-924.vo.llnwd.net|68.142.89.233|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11,142,237 (11M) [video/flv]

100%[============================================================================>] 11,142,237   105.71K/s    ETA 00:00

14:52:07 (104.64 KB/s) - `linux_xgl.flv' saved [11142237/11142237]


In case of metacafe the file is saved as .wmv and youtube videos are in the .flv format. You can use mplayer to play .flv videos.

This script uses wget to actually download the file, but you can answer N to the question and use the link in your favorite download manager.

You can download mget here

offtopic: Its been a long time since my last post, I will try to write more often :wink:
October 2008
SMTWTFS
September 2008November 2008
1234
567891011
12131415161718
19202122232425
262728293031