ytv: Download subtitles.

This commit is contained in:
Ole Tange 2018-09-18 17:32:32 +02:00
parent a31f7546f7
commit aa01acc582

View file

@ -77,6 +77,7 @@ map { $before{$_} = -M $_ } <*>;
for my $url (@ARGV) {
if(not fork()) {
# Download in the background
system(qw(youtube-dl --all-subs --skip-download), @tor,$url);
system(qw(youtube-dl -f best), @tor,$url);
exit;
}