From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

YouTube::Util - YouTube-related utilities

VERSION

This document describes version 0.003 of YouTube::Util (from Perl distribution YouTube-Util), released on 2020-11-26.

FUNCTIONS

extract_youtube_video_id

Usage:

extract_youtube_video_id($arg) -> any

Extract YouTube video ID from a string containing video ID, or youtube-dl-generated filename, or YouTube URL.

Examples:

Return undef if not found.

This function is not exported by default, but exportable.

Arguments ('*' denotes required arguments):

  • $arg* => str

Return value: (any)

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/YouTube-Util.

SOURCE

Source repository is at https://github.com/perlancar/perl-YouTube-Util.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=YouTube-Util

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

SEE ALSO

Regexp::Pattern::YouTube

App::YouTubeUtils

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2020 by perlancar@cpan.org.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.