What is plowshare?

http://code.google.com/p/plowshare/w/list

http://code.google.com/p/plowshare/wiki/Readme


What is plowshare?

plowshare is a command line (CLI) application designed for popular file-sharing websites (aka Hosters). With plowshare, you will be able to download or upload files and manage remote folders and link deletion. It runs on Linux/BSD/Unix operating systems.

Examples

<span class="pln">$ plowdown http</span><span class="pun">:</span><span class="com">//rapidshare.com/files/130403982/Bridge_Tutorial.rar</span><span class="pln">
</span><span class="typ">Bridge_Tutorial</span><span class="pun">.</span><span class="pln">rar</span>
<span class="pln">$ plowup megaupload dad_and_mum</span><span class="pun">-</span><span class="pln">open_the_door</span><span class="pun">.</span><span class="pln">mp3<br />http</span><span class="pun">:</span><span class="com">//www.megaupload.com/?d=715JVG89</span>
<span class="pln">$ plowlist http</span><span class="pun">:</span><span class="com">//netfolder.in/folder.php?folder_id=15aBmdh</span><span class="pln"><br />http</span><span class="pun">:</span><span class="com">//netload.in/dateix0z9tz3qkQ/foo.part2.rar.htm</span><span class="pln"><br />http</span><span class="pun">:</span><span class="com">//netload.in/datei7hUMqlP5ou/foo.part1.rar.htm</span>

Features

The basic concept is that files can be downloaded and uploaded though command line as easily as wget (or curl).

plowshare supports Megaupload, Rapidshare, 2Shared, 4Shared, ZShare, Badongo, Divshare.com, Depositfiles, Netload.in, Sendspace, Usershare, x7.to and some others sharing sites.

Refer to README for more information.

plowshare is written in Bash, although some few modules need Perl to solve captchas.

Goals

  • A small footprint (few shell scripts). No JAVA!
  • Run fast on embedded device (ARM7 with 8mo of RAM with busybox for example)
  • Portable
  • Few dependencies
  • Make modules (plugins) as simple as possible to script

Contribute

You can help the project in several ways:

  • Report bugs: Take a look at the Issues page. Suggestions and comments are most welcome too.
  • Send patches: If you plan to develop a new module, read the NewModules page.
  • Premium account: Account points or similar to test premium features. We strongly need megaupload premium account!
  • Donate: If Plowshare has been useful to you, consider donating using Paypal.


Note that websites update their pages from time to time, so this table is a just a reference. If you are experiencing problems with a stable version, check if it's been resolved in the git repository.

Dependencies

To run plowshare and all its modules you will need:

  • A POSIX-compliant operating system:
    • GNU/Linux (Debian/Ubuntu/Fedora/Gentoo/Archlinux/...): coreutils, sed
    • BSD: requires GNU-sed (gsed) and GNU-getopt
    • Mac OSX (you need homebrew)
    • Cygwin
  • bash (version 3.0 or better)
  • curl (with SSL support, usually required for premium account)
  • recode (perl and HTML::Entities module can be used as alternative)

Some websites requires javascript interpreter (used by 1fichier, badongo, dataport.cz, mediafire and zshare modules)

Some websites are using captchas. For automatic recognition, you may need:

Some websites are using captchas. Manual entry is required, you may need a X11 or console image viewer:

  • display (imagemagick) or
  • aview (libaa) or
  • img2txt (caca-utils, libcaca) or
  • tiv (perl script using Image::Magick)

Download & Install

<span class="pln">$ yaourt </span><span class="pun">-</span><span class="typ">Sy</span><span class="pln"> plowshare</span>
<span class="pln">$ emerge </span><span class="pun">-</span><span class="pln">av plowshare</span>
  • Debian / Ubuntu

Manually download .deb file and use dpkg -i to install. Here are dependancies:

<span class="pln">$ sudo apt</span><span class="pun">-</span><span class="kwd">get</span><span class="pln"> install curl recode imagemagick tesseract</span><span class="pun">-</span><span class="pln">ocr</span><span class="pun">-</span><span class="pln">eng <b><font color="#cc0000">spidermonkey</font></b></span><b><font color="#cc0000"><span class="pun">-</span></font></b><span class="pln"><b><font color="#cc0000">bin</font></b> aview perlmagick</span>

Note: Since Ubuntu 10.04 LTS (named Lucid Lynx), spidermonkey-bin package is not available anymore, install rhino instead.

  • Debian (repository)

Still experimental! Add in your /etc/apt/sources.list:

<span class="pln">deb http</span><span class="pun">:</span><span class="com">//mcrapet.free.fr/debian/ unstable/</span>
  • Fedora
<span class="pln">$ yum install plowshare</span>

<span class="pln">$ brew install plowshare</span>


原文地址:https://www.cnblogs.com/lexus/p/2202373.html