![]() |
![]()
| ![]() |
![]()
NAMEWWW::YoutubeViewer::Itags - Get the YouTube itags. SYNOPSISuse WWW::YoutubeViewer::Itags; my $yv_itags = WWW::YoutubeViewer::Itags->new(); my $itags = $yv_itags->get_itags(); my $res = $yv_itags->get_resolutions(); SUBROUTINES/METHODSnew()Return the blessed object. get_itags()Get a HASH ref with the YouTube itags. {resolution => [itags]}. Reference: https://en.wikipedia.org/wiki/YouTube#Quality_and_formats get_resolutions()Get an ARRAY ref with the supported resolutions ordered from highest to lowest. find_streaming_url(%options)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_videos => 1/0, # include or exclude split videos m4a_audio => 1/0, # incldue or exclude M4A audio files dash_segmented => 1/0, # include or exclude streams in DASH format ) AUTHORTrizen, "<echo dHJpemVuQHByb3Rvbm1haWwuY29tCg== | base64 -d>" SUPPORTYou can find documentation for this module with the perldoc command. perldoc WWW::YoutubeViewer::Itags LICENSE AND COPYRIGHTCopyright 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.
|