WWW::P...:Itags(3pm)
okay so welcome to the bestie-coded manual page for WWW::P...:Itags(3pm) β the Perl docs for WWW::PipeViewer::Itags, aka the YouTube itags module. it's giving useful, it's giving iconic πβ¨
πΈ NAME πΈ
WWW::PipeViewer::Itags β Get the YouTube itags.
β¨ SYNOPSIS β¨
no cap, here's the whole little starter pack, bestie:
use WWW::PipeViewer::Itags;
my $yv_itags = WWW::PipeViewer::Itags->new();
my $itags = $yv_itags->get_itags();
my $res = $yv_itags->get_resolutions();
π SUBROUTINES/METHODS π
π
new() π
Return the blessed object. that's it, that's the whole vibe β object acquired, slay. π
π¦ get_itags() π¦
Get a HASH ref with the YouTube itags. the shape is {resolution => [itags]}. iykyk β¨
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. high-key useful. π
π find_streaming_url(%options) π
Return the streaming URL which corresponds with the specified resolution.
here are the options, exactly as they show up, bestie β no renaming, no guessing, fr fr:
(
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
)
π AUTHOR π
Trizen, "<echo dHJpemVuQHByb3Rvbm1haWwuY29tCg== | base64 -d>"
π«Ά SUPPORT π«Ά
you can find documentation for this module with the perldoc command. literally just:
perldoc WWW::PipeViewer::Itags
π LICENSE AND COPYRIGHT π
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.
okay bye bestie π β this page is the WWW::P...:Itags(3pm) manual, source/version perl v5.42.2, dated 2024-09-28. go get those itags and slay β¨ππ
π¦ where this page comes from
- alpine 3.24: pipe-viewer-doc 0.5.3-r0 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms