YOUTUBE-DOWNLOAD(1p)

πŸ’– YOUTUBE-DOWNLOAD πŸ’–

okay bestie, so this is the manual for youtube-download.pl β€” which is, yes, literally just youtube-download, and its whole entire job is downloading video(s) off YouTube. that's it. that's the gig. and honestly? iconic. πŸŽ€

✨ VERSION ✨

version 0.65 β€” she's serving vintage, she's serving stability πŸ¦‹

🌈 SYNOPSIS 🌈

here's how you actually run her, no cap:

$ youtube-download bT8yLWy4B5w
$ youtube-download http://www.youtube.com/watch?v=bT8yLWy4B5w
$ youtube-download < video_list_file

see that first one? just yeet the video id at her and she goes. second one, full URL, also fine. third one, pipe a whole list of videos in through stdin and she'll munch through every single one like it's a snack plate πŸ“


πŸ‘‘ OPTIONS πŸ‘‘

every single flag, all of them, nobody gets left behind:

  • -C, --no-colors β€” force disables the colored output. if your terminal is giving beige cereal energy, this is your girl 🫢
  • -o, --output β€” output filename, and yes she supports the {$value} format (default: {video_id}.{suffix})
  • -i, --interval β€” download interval (default: 1 (sec)). yes bestie, she paces herself, we love a considerate queen πŸ’…
  • -p β€” use the given proxy. heads up though: socks proxies need LWP::Protocol::socks installed first, so check that before you come crying. see the examples for the syntax. (default: no proxy)
  • -e, --encode β€” file system encoding (default: utf8)
  • -s, --skip β€” skips downloading a video if the target file already exists. she's not doing repeats, she's not a rerun channel πŸ’€
  • -f, --force β€” force overwrite the output file (default: disabled)
  • -n, --dry-run β€” does NOT download any videos, just prints their target filenames as defined by the -o option. important though: this option still sends a query to Google servers to fetch details about the given video. so like, she's not downloading but she IS still knocking on the door πŸ™ˆ
  • -F, --fmt β€” video quality (SEE ALSO Wikipedia)
  • -v, --verbose β€” turns on chatty output (default: enabled). she is a talker by default, she wants you involved in her life 😭
  • -U, --url β€” shows the playback URL of a video but does NOT download it
  • -P, --progress β€” shows a progress bar, if you have Term::ProgressBar installed. the little bar going across the screen? serotonin ✨
  • -q, --quiet β€” turns off the most output
  • -h, --help β€” display help
  • -m, --man β€” display help page
  • -V, --version β€” display version
  • --user-agent β€” supply your own user agent string

πŸŽ€ supported {$value} format πŸŽ€

these are the little placeholders you can drop into -o, and they go absolutely everywhere:

{video_id} / {user} / {title} / {fmt} / {suffix} / {resolution}

Example:

$ youtube-download -o "[{video_id}] {title}.{suffix}"
$ youtube-download -p socks://127.0.0.1:4321/ -o "{title} by {user} (youtube {video_id}).{suffix}"

look at that second one. filename with the creator credited and the youtube id tucked in. that's not a download, that's a curated archive, periodt πŸ’œ


🌸 AUTHOR 🌸

xaicron <xaicron {@} cpan.org> β€” we stan 🫢

this software is copyright (c) 2013 by Yuji Shimada.

and it's free software! you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. so like, go wild, but respectfully 🌈


and that's the whole page bestie πŸ’– this one was youtube-download for perl v5.32.0, dated 2020-11-23, and yeah it says 1p up in the corner because it's User Contributed Perl Documentation β€” go forth and download, and remember: -s before you re-download, iykyk βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from