WWW::YoutubeViewer::Itags(3)

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

SYNOPSIS
    use WWW::YoutubeViewer::Itags;

    my $yv_itags = WWW::YoutubeViewer::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: http://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(),
        dash           => 1/0,                   # include or exclude dash itags
        dash_mp4_audio => 1/0,                   # include or exclude dash videos with MP4 audio
    )

AUTHOR
Trizen, "<trizenx at gmail.com>"

SUPPORT
You can find documentation for this module with the perldoc command.

    perldoc WWW::YoutubeViewer::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 <http://dev.perl.org/licenses/> for more information.