plowlist(1) - Linux man page
Name
plowlist - List file-sharing web-foldersSynopsis
plowlist [OPTIONS]... [MODULE_OPTIONS]... URL...Description
plowlist is a command-line tool designed for listing links (files) on file-sharing websites. Provided links can be downloaded with plowdown(1).Currently supported hosting sites list is available in README file.
Options
Common options
- -i, --interface=IFACE
- If your machine has several network interfaces, force using IFACE interface.
- -R, --recursive
- Recurse into sub folders.
- --fallback
- If no module is found for link, get page (HTTP GET) and simply grep all URLs contained inside.
- --no-plowsharerc
- Do not use local or global config file (plowshare.conf).
- --printf=FORMAT
- Print results in a given format (for each link). Default string is: "%F%u". Interpreted sequences are:
- %%
- raw % character
- %f
- filename (can be empty string if module list function does not report any name)
- %F
- empty if %f is empty, or alias to "# %f%n".
- %m
- module name
- %n
- newline
- %t
- tabulation character
- %u
Logging options
- -v, --verbose=LEVEL
- Set output verbose level:
0 none,
1 errors,
2 notice (default behavior),
3 debug,
4 report (very noisy, log HTML pages).
- -q, --quiet
- Alias for -v0. Do not print any debug messages.
Generic program information
- -h, --help
- Display this help and exit.
- --version
- Output version information and exit.
Module Options
Common options
- -p, --link-password=PASSWORD
- Used for password-protected folders.
All switches are not implemented nor required for all modules. See help message for detailed modules option list.
Examples
1) List links providing shared folder URL(s)
$ plowlist http://hotfile.com/list/347664/d328dba # First URL is processed, then the second one (this is not parallel) $ plowlist http://www.mediafire.com/?qouncpzfe74s9 http://www.sendspace.com/folder/5njdw7
2) Custom results format
# List to give to plowdown (only links, no filenames) $ plowlist --printf %u http://www.sendspace.com/folder/5njdw7 >mylist.txt # vBulletin "BB" syntax $ plowlist --printf '[url=%u]%f[/url]' http://www.sendspace.com/folder/5njdw7 >mylist.txt
Files
- ~/.config/plowshare/plowshare.conf
- This is the per-user configuration file.
- /etc/plowshare.conf
- Systemwide configuration file.
The file format is described in plowshare.conf(5).
Exit Codes
Possible exit codes are:
- 0
- Success. Folder contain one or several files.
- 1
- Fatal error. Upstream site updated or unexpected result.
- 2
- No available module (provided URL is not supported).
- 3
- Network error. Mostly curl related.
- 10
- Links are temporarily unavailable. This is used by mirroring/multi-upload services, maybe uploads are still beeing processed.
- 11
- Folder is password protected.
- 13
- Folder has been deleted or does not exist or is empty.
- 15
- Unknown command line parameter or incompatible options.
If plowlist is invoked with multiple links and one or several errors occur, the first error code is returned added with 100.
Authors
Plowshare was initially written by Arnau Sanchez. See the AUTHORS file for a list of some of the many other contributors.Plowshare is (C) 2010-2013 The Plowshare Team