logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       xaicron <xaicron {@} cpan.org>

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.

Name

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

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

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

Version

       version 0.65

See Also