NAME

youtube-playlists.pl - Find YouTube video URLs from playlist(s)

VERSION

version 0.65

SYNOPSIS

# print the list of video URLs
$ youtube-playlists https://www.youtube.com/playlist?list=PLB199169FA7413767
$ youtube-playlists PLB199169FA7413767

# pipe result to youtube-download
$ youtube-playlists PLB199169FA7413767 | youtube-download

# with socks proxy
$ youtube-playlists -p socks://<some IP>:<some port>/ PLB199169FA7413767

DESCRIPTION

For each given argument youtube-playlists generates a list of YouTube video URLs. Arguments can be URL to playlist or to favorite list, or only IDs of a playlist or a favorite list.

In the spirit of the whole WWW::YouTube::Download distribution, playlist extraction relies solely on scraping common YouTube pages and requires no API key.

OPTIONS

-C, --no-colors

Force disable colored output

-i, --video-id

Print only video IDs, not full URLs

-n, --normalize

Print only normalized playlist IDs, but do not fetch anything. You can call it also dry run.

-p, --proxy

Use the given proxy. Note that using a socks proxy requires LWP::protocol::socks to be installed.

-u, --users

Parses given parameters as YouTube usernames and lists their uploaded videos.

--user-agent

Supply your own user agent string

--limit

Limit how many fetches the script is allowed to make while scraping playlist items.

-v, --verbose

turns on chatty output

-h, --help

display help

-V, --version

display version

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.