Wiki > plowshare
Plowshare is a CLI download/upload tool for 'Hoster' websites.
Install
-
Connect to your slot through SSH
-
Clone the plowshare repository
git clone https://github.com/mcrapet/plowshare.git ~/plowshare4
-
Navigate to the plowshare repository directory
cd ~/plowshare4
-
Install the program
make install PREFIX=$HOME/plowshare
-
Run the following to allow use of plowshare commands directly from any directory (if you've done this for plowshare previously, you do not need to do it again)
echo "PATH=\$HOME/plowshare/bin:\$PATH" >> ~/.bashrc && source ~/.bashrc
-
Run the following command to test. If it displays the plowdown help, you have successfully installed plowshare.
plowdown -h
-
To install the modules for supported one-click hoster run the command
plowmod --install
Later, use the following command to upload the modules
plowmod --update
-
Create the configuration directories and file used for plowshare
mkdir -p ~/tmp ~/.config/plowshare; touch ~/.config/plowshare/plowshare.conf
-
Copy the contents of the box below into the
~/.config/plowshare/plowshare.conf
file:
plowshare.conf
[General]
temp-directory = /home/user/tmp
Optional: Clean up unneeded source files
rm -r ~/plowshare4
Hosters requiring Javascript
Download this compiled JavaScript binary to your bin directory.
wget -O ~/plowshare/bin/js https://www.dropbox.com/s/cwjmcfzbpi0ktp9/js?dl=1 && chmod +x ~/plowshare/bin/js
Usage
You can find usage examples and on plowshare's Readme
Captcha
To download from sites using any kind of Captcha, use the --captchamethod=imgur
switch to receive an image url to open in your browser. Enter the text at the prompt.