plowdown(1)
๐ plowdown(1) โ Plowshare for Bash 4 ๐
okay bestie, this is the plowdown(1) page โ the download-manager one from Plowshare for Bash 4. Itโs giving โI automate file-sharing sites so you donโt have to click through a million forms.โ Letโs get into it. โจ
๐ธ NAME ๐ธ
plowdown โ simple download manager for file sharing websites. ๐
โจ SYNOPSIS โจ
plowdown [OPTIONS]... [MODULE_OPTIONS]... URL|FILE...
๐ฆ DESCRIPTION ๐ฆ
plowdown is a command-line tool designed for automatic download on file-sharing websites. It acts like a web browser, retrieving pages and filling HTML forms (including captchas). No cap, itโs out here doing the browser thing for you. ๐โจ
๐ OPTIONS ๐
Hereโs the whole menu, bestie. No skipping. ๐ซถ
๐ Common options ๐
-i,--interface=IFACEโ if your machine has several network interfaces, force usingIFACEinterface. ๐-m,--mark-downloadedโ mark downloaded links in (regular) file arguments. โ-o,--output-directory=DIRECTORYโ directory where files will be saved. Default is current directory. ๐-r,--max-retries=Nโ set maximum retries for download failures. It applies on module exit status:3(network error),7(captcha error). Default option value is2(i.e. 3 tries) and applies for one single URL download. ๐-t,--timeout=SECSโ cancel download afterSECSseconds of waits. It applies on module exit status:10(temporary unavailable error). This error can be returned in various cases: unallowed parallel download, daily downloads limit reached, remote hoster overloaded. Default option value is disabled (no timeout, infinite) and applies for one single URL download. โ-x,--no-overwriteโ do not overwrite existing files. Existing file will be preserved and filename will be suffixed with.1,.2, and so on. Default option value is disabled: files are overwritten (whatever their size) or resumed (if module supports it). ๐ โโ๏ธ--cache=METHODโ cache policy regarding module storage space. Each module is able to save data (credentials, authentication session, or tokens) in order to be reused later. Available values:none: module storage file is deleted before each URL processing. Temporary directory is used.session(default): module storage file is deleted at the end ofplowdownexecution. Temporary directory is used.shared: module storage file is global and located (in~/.config/plowshare/storage/). It can be accessed by any other instance ofplow*scripts. Warning: There is no atomicity (or file locking) on concurrent access.
Example: Multiple links download using a premium account. If supported by module, login stage could be performed once. ๐พ
๐งฉ Captcha options ๐งฉ
--9kweu=KEYโ use 9kw.eu service to solve captchas. ๐๏ธ--antigate=KEYโ use Antigate.com service to solve captchas.--captchabhood=USER:PASSWORDโ use Captcha Brotherhood service to solve captchas.--captchacoin=KEYโ use CaptchaCoin service to solve captchas.--deathbycaptcha=USER:PASSWORDโ use Death by Captcha service to solve captchas.--captchamethod=METHODโ force specific captcha solving method (if unspecified it is autodetected). Available values:imgur: upload image to Imgur.com service, print image url in console and prompt for manual entering. Useful for NAS and embedded devices.none: abort if captcha solving is requested (even if automatic solving service is available).online: use captcha solving website only (9kweu, Antigate, CaptchaBrotherhood, CaptchaCoin or DeathByCaptcha account required).fb: display image in framebuffer console and prompt for manual entering. Looks for framebuffer viewers:fbi,fim.FRAMEBUFFERenvironment variable can contain device file. Default is/dev/fb0.nox: display image in console (text) and prompt for manual entering. Looks for ascii viewers:img2txt,aview,tiv.x11: display image in an X11 window and prompt for manual entering. Looks for viewers:display,feh,sxiv,qiv.DISPLAYenvironment variable must not be empty.
--captchaprogram=PROGRAMโ call external program or script for solving captchas. Provided executable can be located inPATHenvironment variable.
Three arguments are given:
$1module name (lowercase). For example:mediafire.$2image filename (with full path).$3hint or captcha type (string). For example:recaptcha,solvemediaordigits-4.
Return value (on stdout) and exit status:
0: solving success. Captcha Word(s) must be echo'ed.2: external solver is not able to solve requested captcha. Letplowdowncontinue solving it normally (will consider--captchamethodif specified).7: external solver failed. Note: this exit code is eligible with retry policy (-r/--max-retries).
Note: plowdown legacy exit errors can also be returned, for example: 1 (fatal) or 3 (network). ๐ตโ๐ซ
โ๏ธ Tuning settings โ๏ธ
--min-space=LIMITโ define threshold amount of available disk space before quittingplowdown. You must specify a suffix. Suffixes are:Mfor megabytes (MB i.e.1000^2),Gfor gigabytes (GB i.e.1000^3),Miormfor mebibytes (MiB i.e.1024^2),Gifor gibibytes (GiB i.e.1024^3).
--max-rate=SPEEDโ limit download speed in bytes per second. Suffixes are:kfor kilobytes (kB i.e.1000),Mfor megabytes (MB i.e.1000^2),KorKifor kibibytes (KB or KiB i.e.1024),morMifor mebibytes (mB or MiB i.e.1024^2).
--min-rate=SPEEDโ limit download minimum speed in bytes per second (for a delay of 30 seconds). Suffixes are the same than--max-rate.--temp-directory=DIRECTORYโ directory for temporary files: final link download, cookies, images, ...--temp-renameโ append.partsuffix to filename while file is being downloaded. Download resume will not work with this option. โ ๏ธ--skip-finalโ don't process final link (returned by module download function), just skip it. This is applied for each input URL. If you are using this option, you should need--run-afteror--printftoo.
Note: Depending hosters, final (generated) link may have restrictions: validity timeout (few hours), access limitation (usually one unique HTTP GET request for anonymous users), same IP address, etc.
--run-before=PROGRAMโ call external program or script before new link processing (before calling module download function). Provided executable can be located inPATHenvironment variable. Messages can be sent to stderr, stdout is trashed.
Three arguments are given:
$1module name (lowercase). For example:mediafire.$2download URL.$3cookie (empty) file given to download module function.
Exit status:
0: script success.plowdowncontinue normally.2: script explicitly requests skipping current link.
Note: Any other script exit status like 1 (fatal) or 3 (network) will be ignored (an error message will be reported).
--run-after=PROGRAMโ call external program or script after final link successful download. Provided executable can be located inPATHenvironment variable. Messages can be sent to stderr, stdout is trashed.
Five arguments are given:
$1module name (lowercase). For example:mediafire.$2download URL.$3cookie file fulfilled by download module function.$4final URL.$5final filename.
Exit status:
0: script success.plowdowncontinue normally.
Note: Any other (non zero) exit status will be ignored (an error message will be reported).
--printf=FORMATโ print results (on stdout) in a given format (for each successful download). Default format string is"%F%n". Interpreted sequences are:%%โ raw%character%cโ final cookie filename (with output directory if specified). Name template isplowdown-cookies-NNNN.txt.%Cโ%cor empty string if module does not require it%dโ download (final) url%Dโ same as%dbut url is escaped for JSON usage%fโ destination (local) filename%Fโ destination (local) filename (with output directory if specified)%mโ module name%nโ newline%sโ destination (local) file size (positive integer in bytes). Important: Empty string is returned when--skip-finalswitch is specified.%tโ tabulation character%uโ download (source) url%Uโ same as%ubut url is escaped for JSON usage
๐ Logging options ๐
-v,--verbose=LEVELโ set output verbosity level:0none,1errors,2notice (default behavior),3debug,4report (very noisy, log HTML pages).
-q,--quietโ alias for-v0. Do not print any debug messages. ๐คซ
๐ฒ Miscellaneous options ๐ฒ
--no-colorโ disables log messages (stderr only) output coloring.--fallbackโ if no module is found for link, simply download it (HTTP GET).--no-curlrcโ do not use curl config file (~/.curlrc).--curlrc=FILEโ force using an alternate curl configuration file. Replaces~/.curlrcif it exists. This option has no effect when--no-curlrcis defined.--no-plowsharercโ do not consider any configuration file.--plowsharerc=FILEโ force using an alternate configuration file (instead of per-user or systemwideplowshare.conf). This option has no effect when--no-plowsharercis defined.--modulesโ display all supported module names (one per line) and exit. Useful for wrappers. ๐งฐ
๐ Generic program information ๐
-h,--helpโ display main help and exit.-H,--longhelpโ display complete help (with module options) and exit.--versionโ output version information and exit.
๐ MODULE OPTIONS ๐
๐ Common options ๐
-a,--auth=USER:PASSWORDโ use premium account. ๐-b,--auth-free=USER:PASSWORDโ use free account.-p,--link-password=PASSWORDโ used for password-protected files. ๐
All switches are not implemented nor required for all modules. See long help message for detailed modules option list. ๐
๐ฌ NOTES ๐ฌ
๐ Command line authentication string format
Complete login must have USER:PASSWORD format. The first semi-colon character is the separator. So, PASSWORD can contain a semi-colon character without any trouble.
๐ซถ bestie please โ don't forget to single-quote the string if your password contains shell expandable characters (like space,$or&). Your future self will thank you ๐
๐ FILES ๐
/etc/plowshare.confโ Systemwide configuration file. The communal vibe โจ~/.config/plowshare/plowshare.confโ This is the per-user configuration file. Your personal little corner ๐
The file format is described in plowshare.conf(5).
~/.config/plowshare/exec/โ Additional directory considered when searching for executable. See--captchaprogram,--run-beforeand--run-afterswitches. It's giving backstage pass energy ๐๏ธ~/.config/plowshare/modules.d/โ User directory considered when searching for modules at startup (plowdownwill try to open~/.config/plowshare/modules.d/*/config). One file per module (hoster). Organized queen behavior ๐~/.config/plowshare/storage/โ Directory used for storing data (one file per module) among sessions. See--cache=sharedswitch. Memory but make it persistent ๐พ
๐ฑ ENVIRONMENT VARIABLES ๐ฑ
The following environment variables may affect plowdown:
DISPLAYโ The X11 display server address is considered to display captchas. See--captchamethod=x11documentation below. X11 girlies rise ๐ฅ๏ธFRAMEBUFFERโ This variable is considered to display captchas. See--captchamethod=fbdocumentation below. Framebuffer moment fr fr ๐HOMEโ Search for user configuration directory in~/.config/plowshare(see FILES section above). If found,~/.curlrcwill be used (use--no-curlrcto disable it). Home sweet home ๐PLOWSHARE_CURLโ Specifies an alternatecurlcommand ($PATHsearch is considered). If not defined,curlis used. Swap in your fave curl if you want ๐PLOWSHARE_JSโ Specifies an alternatejscommand ($PATHsearch is considered). If not defined,jsis used. Same energy, different tool โกXDG_CONFIG_HOMEโ The directory to store user configuration files. If not defined,~/.configis assumed. The default is lowkey iconic ๐
๐ช EXIT CODES ๐ช
Possible exit codes are:
0โ Success. We ate and left no crumbs ๐ โจ1โ Fatal error. Upstream site updated or unexpected result. The site said "new phone who dis" ๐ญ2โ No available module (provided URL is not supported). Not every link is invited to the party ๐ซ3โ Network error. Mostlycurlrelated. The wifi is fighting for its life ๐4โ Authentication failed (bad login/password). Wrong password bestie, try again ๐5โ Timeout reached (refer to-t/--timeoutcommand-line option). It took too long, we're leaving โฐ6โ Maximum tries reached (refer to-r/--max-retriescommand-line option). We tried, we really did ๐ฎโ๐จ7โ Captcha generic error. Not the captcha again ๐ค8โ System generic error. The computer is having a moment ๐ซ10โ Link alive but temporarily unavailable. It's alive, just not ready to mingle ๐11โ Link alive but requires a password. Gatekept ๐12โ Link alive but requires some authentication (private or premium link). VIP only, no cap ๐๏ธ13โ Link is dead. RIP bozo ๐ชฆ14โ Can't download link because file is too big (need permissions). Too much, even for us ๐ณ15โ Unknown command line parameter or incompatible options. You tried to mix oil and water, babe ๐งช
If plowdown is invoked with multiple links or link-list files and one or several errors occur, the first error code is returned added with 100. So like, if the first oopsie was 3, you get 103. Math but make it chaotic ๐ข
๐ AUTHORS ๐
Plowshare was initially written by Arnau Sanchez. See the AUTHORS file for a list of some of the many other contributors. Legends only โจ
Plowshare is (C) 2010-2017 The Plowshare Team. Periodt ๐
๐ SEE ALSO ๐
plowup(1), plowdel(1), plowlist(1), plowprobe(1), plowshare.conf(5), plowmod(1).
That's the whole glow-up, bestie ๐ฆ This iconic plowdown(1) page is under the GPL, dated April 2, 2017 โ go forth and download responsibly ๐
โจ
๐ฆ where this page comes from
- nixos 26.05: plowshare 2.1.7
- nixpkgs unstable: plowshare 2.1.7
- opensuse-leap 16.0: plowshare 2.1.7-bp160.1.4 ยท GPL-3.0+
- Copyright (c) 2010\-2017 Plowshare Team
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms