Revision of How to download from file sharing websites using plowshare from Fri, 09/05/2014 - 02:18
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 qiv fim aview caca-utils libcaca-dev rhino
(feh has been removed as it depends on Trisquel's libcurl)
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.35.0 (the latest version) do this:
$ wget http://curl.haxx.se/download/curl-7.35.0.tar.gz $ tar xvf curl-7.35.0.tar.gz $ cd curl-7.35.0 $ sudo aptitude install libssl-dev build-essential $ ./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" 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 simply run (replace "URL" by the link):
$ plowdown URL
In order to update plowshare remove the previous version beforehand, e.g. by running:
$ cd plowshare4-snapshot-git20140112.7ad41c8 $ sudo make uninstall
You can also obtain the git version instead:
$ git clone https://code.google.com/p/plowshare/ plowshare4 $ cd plowshare4 $ sudo make install
In order to update git version run:
$ cd plowshare4 $ sudo make uninstall $ git pull $ sudo make install
In order to download from MEGA you need to install the MEGA plugin:
git clone https://code.google.com/p/plowshare.plugin-mega sudo make install sudo make patch_config
In order to download from MEGA you need to use quotes '' because of the special characters in the URL, e.g. (replace the stars by the URL you wish to download):
plowdown 'https://mega.co.nz/#!***'