ytv: Download subtitles.
This commit is contained in:
parent
a31f7546f7
commit
aa01acc582
1
ytv/ytv
1
ytv/ytv
|
@ -77,6 +77,7 @@ map { $before{$_} = -M $_ } <*>;
|
||||||
for my $url (@ARGV) {
|
for my $url (@ARGV) {
|
||||||
if(not fork()) {
|
if(not fork()) {
|
||||||
# Download in the background
|
# Download in the background
|
||||||
|
system(qw(youtube-dl --all-subs --skip-download), @tor,$url);
|
||||||
system(qw(youtube-dl -f best), @tor,$url);
|
system(qw(youtube-dl -f best), @tor,$url);
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue