Cherrypicker
Cherrypicker was part of my final year project for university it
is a Ruby Gem that lets you download from; Rapidshare, Hotfile, rghost, Youtube, Vimeo & Megavideo
You can also utilise the LinkChecker to see if your files are alive on Rapidshare and Hotfile
Enjoy!
Installation
gem install cherrypicker
Usage
require 'cherrypicker'
Terminal Examples
Within your terminal type
cherrypick
cherrypick http://www.youtube.com/watch?v=I5DCwN28y8o -d "~/Movies"
cherrypick http://rapidshare.com/files/453165880/test_file.txt -u "karlentwistle" -p "foobar"
Gem Examples
test = Rapidshare.new("http://rapidshare.com/files/329036215/myfile.rar", "username", "password")
test.download
test2 = Hotfile.new("http://hotfile.com/dl/81103855/ee51a52/myfile.rar", "username", "password")
test2.download
check = LinkChecker.new([
"http://rapidshare.com/files/329036215/myfile.rar",
"http://rapidshare.com/files/329036764/deadfile.rar"]).status
test3 = Rapidshare.new("http://rapidshare.com/files/329036215/myfile.rar", "username", "password", :size => 10000, :location => "/location/tosave/file/")
test3.download
Vimeo.new("http://www.vimeo.com/2119458", :location => "/Volumes/Storage/Desktop/cherrytest/").download
Youtube.new("http://www.youtube.com/watch?v=SF6I5VSZVqc", :location => "/Volumes/Storage/Desktop/cherrytest/").download
Megavideo.new("http://www.megavideo.com/?v=2PEKD0YS", :location => "/Volumes/Storage/Desktop/cherrytest/").download
Download.new("http://download.thinkbroadband.com/10MB.zip", :location => "/location/tosave/file/")
Download.new("http://download.thinkbroadband.com/10MB.zip", :location => "/location/tosave/file/", :size => 10485760)
Contributing
If you'd like to contribute a feature or bugfix: Thanks! To make sure your fix/feature has a high chance of being included, please read the following guidelines:
- Post a new GitHub Issue[http://github.com/karlentwistle/Cherrypicker/issues].
- Write a simple unit test that includes UrlAvailable?
Limitations
The download function for cyberlockers is only useful if you're using premium accounts, this will not work without a valid username and password when downloading a file
The linkchecker is subject to throttling from both Hotfile and Rapidshare so don't abuse it or your IP address could get banned
I frequently have problems accessing file hosting sites because one of their files has been included on the IWF list and the ISP IWF filtering screws things up. (Im on Virgin Media UK)
License
Ruby Gem that lets you download from; Rapidshare, Hotfile, Youtube, Vimeo & Megavideo
Copyright (C) 2011 Karl Entwistle
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.