The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

youtube-download.pl - youtube-download - Download video(s) from YouTube

VERSION

version 0.63

SYNOPSIS

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

OPTIONS

-C, --no-colors

Force disable colored output

-o, --output

output filename, supports `{$value}` format (default: {video_id}.{suffix})

-i, --interval

Download interval (default: 1 (sec))

-p

Use the given proxy. Requires LWP::Protocol::socks to be installed for socks proxies. See examples for syntax. (default: no proxy)

-e, --encode

File system encoding (default: utf8)

-s, --skip

Skip downloading a video, if target file exists.

-f, --force

Force overwrite output file (default: disabled)

-n, --dry-run

Do not download any videos, but print their target filenames, as defined by -o option. This option still sends query to Google servers to fetch details about given video.

-F, --fmt

Video quality (SEE ALSO Wikipedia)

-v, --verbose

Turns on chatty output (default: enabled)

-U, --url

Show playback URL of a video, but do not download it

-P, --progress

Show progress bar if you have Term::ProgressBar

-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

{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}"

AUTHOR

xaicron <xaicron {@} cpan.org>

COPYRIGHT AND LICENSE

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

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.