App-YoutubeDlIfNotYet

 view release on metacpan or  search on metacpan

script/youtube-dl-if-not-yet  view on Meta::CPAN

#!perl

our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
our $DATE = '2020-04-05'; # DATE
our $DIST = 'App-YoutubeDlIfNotYet'; # DIST
our $VERSION = '0.003'; # VERSION
# FRAGMENT id=shcompgen-hint command=_youtube-dl

use 5.010001;
use strict;
use warnings;

use Perinci::CmdLine::Any;

Perinci::CmdLine::Any->new(
    url => '/App/YoutubeDlIfNotYet/youtube_dl_if_not_yet',
    log => 1,
    log_level => 'info',
    read_config => 0,
    read_env => 0,
    allow_unknown_opts => 1,
)->run;

# PODNAME: youtube-dl-if-not-yet
# ABSTRACT: (DEPRECATED) Download videos using youtube-dl only if videos have not been donwnloaded yet

__END__

=pod

=encoding UTF-8

=head1 NAME

youtube-dl-if-not-yet - (DEPRECATED) Download videos using youtube-dl only if videos have not been donwnloaded yet

=head1 VERSION

This document describes version 0.003 of youtube-dl-if-not-yet (from Perl distribution App-YoutubeDlIfNotYet), released on 2020-04-05.

=head1 SYNOPSIS

Usage:

 % youtube-dl-if-not-yet [options] <url_or_id> ...

=head1 DESCRIPTION

This is a wrapper for B<youtube-dl>; it tries to extract downloaded video ID's
from filenames or URL's or video ID's listed in a text file, e.g.:

 35682594        Table Tennis Shots- If Were Not Filmed, Nobody Would Believe [HD]-dUjxqFbWzQo.mp4       date:[2019-12-29 ]

or:

 https://www.youtube.com/embed/U9v2S49sHeQ?rel=0

or:

 U9v2S49sHeQ

When a video ID is found then it is assumed to be already downloaded in the past
and will not be downloaded again.

=head1 OPTIONS

C<*> marks required options.

=head2 Main options

=over

=item B<--log-file>=I<s>

File that contains list of download filenames.



( run in 2.025 seconds using v1.01-cache-2.11-cpan-98e64b0badf )