WWW::PipeViewer::Itags - Get the YouTube itags. |
WWW::PipeViewer::Itags - Get the YouTube itags.
use WWW::PipeViewer::Itags;
my $yv_itags = WWW::PipeViewer::Itags->new();
my $itags = $yv_itags->get_itags();
my $res = $yv_itags->get_resolutions();
Return the blessed object.
Get a HASH ref with the YouTube itags. {resolution => [itags]}.
Reference: https://en.wikipedia.org/wiki/YouTube#Quality_and_formats
Get an ARRAY ref with the supported resolutions ordered from highest to lowest.
Return the streaming URL which corresponds with the specified resolution.
(
urls => \@streaming_urls,
resolution => 'resolution_name', # from $obj->get_resolutions(),
hfr => 1/0, # include or exclude High Frame Rate videos
ignore_av1 => 1/0, # true to ignore videos in AV1 format
split => 1/0, # include or exclude split videos
m4a_audio => 1/0, # incldue or exclude M4A audio files
dash => 1/0, # include or exclude streams in DASH format
)
Trizen, <echo dHJpemVuQHByb3Rvbm1haWwuY29tCg== | base64 -d>
You can find documentation for this module with the perldoc command.
perldoc WWW::PipeViewer::Itags
Copyright 2012-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::Itags - Get the YouTube itags. |