Manpage logo

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

NAME  SYNOPSIS  SUBROUTINES/METHODS  yt_video_info($id)  yt_search(q => $keyword, %args)  yt_channel_search($channel, q => $keyword, %args)  yt_channel_uploads($channel, %args)  yt_channel_streams($channel, %args)  yt_channel_shorts($channel, %args)  yt_channel_info($channel, %args)  yt_channel_title($channel, %args)  yt_channel_id($username, %args)  yt_channel_created_playlists($channel, %args)  yt_channel_all_playlists($channel, %args)  yt_playlist_videos($playlist_id, %args)  yt_playlist_next_page($url, $token, %args)  yt_search_next_page($url, $token, %args)  AUTHOR  SUPPORT  LICENSE AND COPYRIGHT 

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.


Updated 2026-06-01 - jenkler.se | uex.se