Plowshare is a command-line downloader/uploader for some of the most popular file-sharing websites. It presently supports Megaupload, Rapidshare, 2Shared, 4Shared, ZShare, Badongo, Divshare.com, Depositfiles, Mediafire, Netload.in, Storage.to, Uploaded.to, Uploading.com, Sendspace, Usershare, X7.to and some others. tesseract, js and PerlMagick are optional runtime dependecies for some sites. See the plowshare website for details.