My favorites | Sign in
Logo
                
Search
for
Updated Yesterday (23 hours ago) by tokland
Labels: Featured, Phase-Requirements
Readme  

Introduction

Plowshare is a command-line downloader and uploader for some of the most popular file-sharing websites. It currently supports:

Website Download Upload
Megaupload anonymous, free-membership and premium anonymous, free-membership and premium (multifetch support)
Rapidshare anonymous anonymous and free zone
2Shared anonymous anonymous
Badongo anonymous no
Mediafire anonymous no
4Shared anonymous no
ZShare anonymous no
DepositFiles anonymous no

Dependencies

To run plowshare and all its modules you will need:

  • A POSIX-compliant operating system:
    • GNU/Linux (Debian/Ubuntu/Fedora/Gentoo/Archlinux/...)
    • BSD (should work, but it's untested)
    • OSX (needs some patches),
    • Windows/Cygwin (theoretically possible, but be prepared for a dependency nightmare).
  • bash
  • curl
  • recode
  • imagemagick (with GIF and TIFF support)
  • tesseract-ocr
  • spidermonkey (or a compatible Javascript interpreter)
  • aview (optional)

Debian/Ubuntu users may try:

$ sudo apt-get install curl recode imagemagick tesseract-ocr-eng spidermonkey-bin aview

Download & Install

$ yaourt -Sy plowshare
$ emerge -av plowshare
$ wget http://plowshare.googlecode.com/files/plowshare-VERSION.tgz
$ tar xvzf plowshare-VERSION.tgz
$ cd plowshare-VERSION
$ sudo bash setup.sh install

Usage examples

Download

$ plowdown http://www.rapidshare.com/files/86545320/Tux-Trainer_25-01-2008.rar
$ plowdown file_with_links.txt
$ plowdown -a myuser:mypassword http://www.megaupload.com/?d=132348234
$ plowdown -p somepassword http://www.megaupload.com/?d=ieo1g52v
$ plowdown --link-only http://www.2shared.com/file/4446939/c9fd70d6/Test.html | xargs -rt wget
$ plowdown -r 50K http://www.2shared.com/file/4446939/c9fd70d6/Test.html
$ plowdown -c file_with_links.txt > file_with_active_links.txt

Upload

$ plowup -a myuser:mypassword -d "My description" /path/myfile.txt megaupload
$ plowup -a myuser:mypassword -d "My description" --multifetch http://www.somewherefarbeyond.com/somefile megaupload
$ plowup /path/myfile.txt rapidshare:anothername.txt

Delete

$ plowdel -a myuser:mypassword http://www.megaupload.com/?d=132348234

Implement your own modules

Plowshare is designed with modularity in mind, so it should be easy for others programmers to add new modules. Study the code of any of the existing modules (i.e. 2shared) and create your own. New modules will be added to plowshare as long as they are released under a GNU GPL compatible license.

Feedback

If you find a bug in plowshare or want to propose an enhancement open a new issue. For other comments, suggestions, whatever, you can email me: tokland AT gmail.com.

Request for new modules

Plowshare has reached a pretty mature state, and I am fairly satisfied with what it currently does. However, there are dozens of file-sharing websites out there, and naturally users ask for their favorite to be implemented. As you can easily understand, I don't have the time to add support for every one of these websites, so I've decided to establish a quid-pro-quo agreement with plowshare users: if you send me a book/comic -- any language, second hand, something you liked, please ;-) -- I will implement (download only) your favorite website. If you cannot afford to send a book, a postcard would be also ok. Contact me for further information.

Special thanks

(contact me if you don't mind your complete names to appear here)


Comment by randy.hastings, May 20, 2009

This is a nice piece of software, thank you for making it. I just started using jdownloader (java based rapidshare downloader) a few days ago. It's ok, but pretty buggy. Then I found a link to plowshare and decided to give it a try. I like it a lot. Plowshare has basically the same functionality as jdownloader but without the bugs and java overhead.

Comment by igayoso, Aug 25, 2009

Very good job, I was triying another apps like JDownloader and Tucan but this is better way and simple, only type from console from a file list.

Thanks!

Comment by hb2araujo, Sep 26, 2009

Guys, your script is UNBELIEVABLE!!!! Thank you very very much!!!!!!

Comment by sugar0, Oct 27, 2009

amazing

Comment by tuxubuntu.com, Nov 03, 2009

Wonderful script, I would like to collaborate with you making the translation to Spanish language of the site, I'm going to comment on my blog this script.

Muchas Gracias, maravilloso script.

Comment by cathalmooney100, Nov 05, 2009

Hey thanks so much for this!!!! Totally awesome, the web uploader for megaupload doesn't work for me in a browser and I found this when looking for an alternative. Fast, simple and effective much better than a GUI or browser based upload thank you all very much!!!!!!

Comment by lorenzo.accesso, Nov 10, 2009

Hi! In first place i wanna thank you! and in the secondo place I'm asking if you're going to implement a web interface...

Comment by tokland, Nov 10, 2009

Two issues have been already opened asking for the web interface implementation.

The main problem is that Bash is not well suited to be used as library. I'd probably do the web interface with Python or Ruby, and then I'd use the same language to implement the download/upload processes. That means a complete rewrite of the app I am not willing to tackle right now, sorry.


Sign in to add a comment
Hosted by Google Code