plowprobe(1)

๐Ÿ’– plowprobe โ€” it's giving Plowshare for Bash 4, bestie ๐Ÿ’–

okay so you opened plowprobe(1) and honestly? good choice. this is the girl in the group chat who pulls metadata out of file-sharing links like it's nothing. let's get into it ๐Ÿ’…


โœจ NAME โœจ

plowprobe โ€” gather information from file sharing download links ๐Ÿซถ


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

plowprobe [OPTIONS]...  [MODULE_OPTIONS]...  URL|FILE...

๐ŸŒธ DESCRIPTION ๐ŸŒธ

so plowprobe is a command-line tool whose whole entire job is retrieving metadata from file-sharing download links. it prints that info on stdout โ€” and bestie, only the alive links make it to the output, we don't do dead links here ๐Ÿ’€

oh and the links you feed it? you can also just download them with plowdown(1). no cap. ๐ŸŒˆ


๐Ÿ’… OPTIONS ๐Ÿ’…

๐ŸŽ€ Common options

  • -i, --interface=IFACE โ€” if your machine has several network interfaces, this forces it to use the IFACE one. pick your fighter โœจ
  • --printf=FORMAT โ€” print results (on stdout) in a given format, for each non-dead link. the default format string is "%F%u%n". here are the interpreted sequences, and yes we're listing all of them:
    • %% โ€” raw % character
    • %c โ€” probe function return status (0 for success, 13 for dead link, see list below)
    • %f โ€” filename (can be empty string)
    • %F โ€” empty if %f is empty, or alias to "# %f%n".
    • %h โ€” filehash (can be empty string if not available). Usually MD5 or SHA1. If hoster supports several algorithms, the longest digest is used.
    • %i โ€” file identifier (can be empty string if not available). Usually included in input URL.
    • %m โ€” module name
    • %n โ€” newline
    • %s โ€” filesize (positive integer) in bytes (can be empty string if not available). Note: It's often approximative.
    • %t โ€” tabulation character
    • %T โ€” file timestamp (can be empty string if not available). Unix epoch time is preferred.
    • %u โ€” download (source) url
    • %U โ€” same as %u but url is escaped for JSON usage
    • %v โ€” alternate or refactored download url. This can be for example fixing primary hostname (to avoid HTTP 301 redirection), or force HTTPS protocol. If not available, alias to %u.
    • %V โ€” same as %v but url is escaped for JSON usage
Note: Metadata are often not fully available from hosters nor implemented by all modules. so like, manage your expectations bestie ๐Ÿ˜ญ

๐Ÿงš Logging options

  • -v, --verbose=LEVEL โ€” set output verbosity 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. silence is golden ๐Ÿ’œ

๐ŸŒˆ Miscellaneous options

  • --no-color โ€” disables log messages (stderr only) output coloring. the monochrome era ๐Ÿ˜”
  • --follow โ€” if no module is found for link, follow HTTP redirects (curl -L). Default is disabled.
  • --get-module โ€” echo module name for each URL and exit. Faster than --printf=%m. Useful for wrappers.
  • --no-curlrc โ€” do not use curl config file (~/.curlrc).
  • --curlrc=FILE โ€” force using an alternate curl configuration file. Replaces ~/.curlrc if it exists. This option has no effect when --no-curlrc is defined.
  • --no-plowsharerc โ€” do not consider any configuration file.
  • --plowsharerc=FILE โ€” force using an alternate configuration file (instead of per-user or systemwide plowshare.conf). This option has no effect when --no-plowsharerc is defined.
  • --modules โ€” display all supported module names (one per line) and exit. Useful for wrappers.

๐Ÿ‘‘ Generic program information

  • -h, --help โ€” display this help and exit.
  • -H, --longhelp โ€” display complete help (with module options) and exit.
  • --version โ€” output version information and exit.

๐ŸŽ€ MODULE OPTIONS ๐ŸŽ€

There is none yet! literally nothing. empty. a blank canvas. iconic behavior honestly ๐Ÿ’€โœจ


๐Ÿ“ 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). go read it, i'll wait ๐Ÿซถ

  • ~/.config/plowshare/modules.d/ โ€” user directory considered when searching for modules at startup (plowprobe will try to open ~/.config/plowshare/modules.d/*/config). One file per module (hoster).

๐ŸŒˆ ENVIRONMENT VARIABLES ๐ŸŒˆ

the following environment variables may affect plowprobe:

  • HOME โ€” search for user configuration directory in ~/.config/plowshare (see FILES section above). If found, ~/.curlrc will be used (use --no-curlrc to disable it).
  • PLOWSHARE_CURL โ€” specifies an alternate curl command ($PATH search is considered). If not defined, curl is used.
  • XDG_CONFIG_HOME โ€” the directory to store user configuration files. If not defined, ~/.config is assumed.

๐Ÿ’€ EXIT CODES ๐Ÿ’€

possible exit codes are, and listen carefully because these matter:

  • 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.
  • 8 โ€” System generic error.
  • 10 โ€” Link alive but temporarily unavailable.
  • 11 โ€” Link alive but requires a password.
  • 12 โ€” Link alive but requires some authentication (private or premium link).
  • 13 โ€” Link is dead.
  • 15 โ€” Unknown command line parameter or incompatible options.
If plowprobe is invoked with multiple links and one or several errors occur, the first error code is returned added with 100. math is math, bestie ๐Ÿงฎ

๐Ÿซถ AUTHORS ๐Ÿซถ

Plowshare was initially written by Arnau Sanchez. See the AUTHORS file for a list of some of the many other contributors. the community ate, fr fr ๐Ÿ‘‘

Plowshare is (C) 2010-2016 The Plowshare Team


๐Ÿ”ฅ SEE ALSO ๐Ÿ”ฅ

plowdown(1), plowup(1), plowdel(1), plowlist(1), plowshare.conf(5), plowmod(1).


and that's the whole page, bestie!! this one ships under GPL, dated July 13, 2016 โ€” shoutout to the <rainbow>Plowshare for Bash 4</rainbow> era, we love a classic ๐Ÿ’–โœจ go probe some links, you got this ๐Ÿฆ‹

๐Ÿ“ฆ where this page comes from