WWW::PipeViewer::Itags(3p)

NAME
WWW::PipeViewer::Itags - Get the YouTube itags.

SYNOPSIS
    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.

  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          => 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.

    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.