The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

youtube-dl-timestamp - Download video with youtube-dl, prefix filename with upload date

VERSION

This document describes version 0.007 of youtube-dl-timestamp (from Perl distribution App-YoutubeDlUtils), released on 2020-09-09.

SYNOPSIS

 % youtube-dl-timestamp https://www.youtube.com/playlist?list=PL8dPuuaLjXtPAJr1ysd5yGIyiSFuh0mIL

DESCRIPTION

This is a wrapper for youtube-dl which does the following:

  • add upload date prefix (YYYYMMDD) to the filename

    The wrapper adds this option: C -o '%(upload_date)s-%(title)s-%(id)s.%(ext)s'

    So instead of the default '%(title)s-%(id)s.%(ext)s' filename pattern like these:

     Introduction to Astronomy: Crash Course Astronomy #1-0rHUDWjR5gg.mp4
     Naked Eye Observations: Crash Course Astronomy #2-L-Wtlev6suc.mp4
     Cycles in the Sky: Crash Course Astronomy #3-01QWC-rZcfE.mp4
     ...

    you get:

     20150115-Introduction to Astronomy: Crash Course Astronomy #1-0rHUDWjR5gg.mp4
     20150122-Naked Eye Observations: Crash Course Astronomy #2-L-Wtlev6suc.mp4
     20150129-Cycles in the Sky: Crash Course Astronomy #3-01QWC-rZcfE.mp4
     ...

HOMEPAGE

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

SOURCE

Source repository is at https://github.com/perlancar/perl-App-YoutubeDlUtils.

BUGS

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

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

Other youtube-dl wrappers in App::YoutubeDlUtils and App::YoutubeDlIf.

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.