WWW::PipeViewer::InitialData - Extract initial data.

NAME

WWW::PipeViewer::InitialData - Extract initial data.

SYNOPSIS

use WWW::PipeViewer;
my $obj = WWW::PipeViewer->new(%opts);

my $results   = $obj->yt_search(q => $keywords);
my $playlists = $obj->yt_channel_created_playlists($channel_ID);

SUBROUTINES/METHODS

yt_video_info($id)

Get video info for a given YouTube video ID, by scrapping the YouTube watch page.

yt_search(q => $keyword, %args)

Search for videos given a keyword string (uri-escaped).

yt_channel_search($channel, q => $keyword, %args)

Search for videos given a keyword string (uri-escaped) from a given channel ID or username.

yt_channel_uploads($channel, %args)

Latest uploads for a given channel ID or username.

Additionally, for getting the popular videos, call the function with the arguments:

sort_by => 'popular',

yt_channel_streams($channel, %args)

Latest streams for a given channel ID or username.

Additionally, for getting the popular streams, call the function with the arguments:

sort_by => 'popular',

yt_channel_shorts($channel, %args)

Latest short videos for a given channel ID or username.

Additionally, for getting the popular short videos, call the function with the arguments:

sort_by => 'popular',

yt_channel_info($channel, %args)

Channel info (such as title) for a given channel ID or username.

yt_channel_title($channel, %args)

Exact the channel title (as a string) for a given channel ID or username.

yt_channel_id($username, %args)

Exact the channel ID (as a string) for a given channel username.

yt_channel_created_playlists($channel, %args)

Playlists created by a given channel ID or username.

yt_channel_all_playlists($channel, %args)

All playlists for a given channel ID or username.

yt_playlist_videos($playlist_id, %args)

Videos from a given playlist ID.

yt_playlist_next_page($url, $token, %args)

Load more items from a playlist, given a continuation token.

yt_search_next_page($url, $token, %args)

Load more search results, given a continuation token.

AUTHOR

Trizen, <echo dHJpemVuQHByb3Rvbm1haWwuY29tCg== | base64 -d>

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc WWW::PipeViewer::InitialData

LICENSE AND COPYRIGHT

Copyright 2013-2015 Trizen.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See https://dev.perl.org/licenses/ for more information.

 WWW::PipeViewer::InitialData - Extract initial data.