Revision of How to download from file sharing websites using plowshare from Mon, 01/27/2014 - 10:38
The revisions let you track differences between multiple versions of a post.
Many file sharing websites require running non-free JavaScript. Some websites such as PutLocker, Megashares and SockShare can be used without running non-free JavaScript by using plowshare. In order to install plowshare one needs to download a few dependencies. A list of required dependencies can be found here:
https://code.google.com/p/plowshare/wiki/Readme4
In order to install all dependencies available in Trisquel's repositories simply run the following command:
$ sudo aptitude install recode imagemagick sxiv feh qiv fim aview caca-utils libcaca-dev rhino
Plowshare requires a newer version of curl than the one provided in Trisquel's repositories. First, remove curl from Trisquel:
$ sudo aptitude remove curl
Now, compile a newer version of curl with SSL support (which is why we are installing libssl-dev). One can find different versions of curl here:
http://curl.haxx.se/download/
To compile version 7.34.0 (the latest version) do this:
$ wget http://curl.haxx.se/download/curl-7.34.0.tar.gz
$ tar xvf curl-7.34.0.tar.gz
$ sudo aptitude install libssl-dev
$ ./configure
$ make
$ sudo make install
Now we can compile plowshare. The list of releases can be found here:
http://code.google.com/p/plowshare/downloads/list
In order to install plowshare run the following command (replace "plowshare4-snapshot-git20140112.7ad41c8.tar.gz" by the latest release):
$ wget http://plowshare.googlecode.com/files/plowshare4-snapshot-git20140112.7ad41c8.tar.gz
$ tar xvf plowshare4-snapshot-git20140112.7ad41c8.tar.gz
$ cd plowshare4-snapshot-git20140112.7ad41c8
$ sudo make install
Now in order to download a link simple run (replace "URL" by the link):
$ plowdown URL
In order to update plowshare remove the previous version, e.g.:
$ cd plowshare4-snapshot-git20140112.7ad41c8
$ sudo make uninstall