Преглед на файлове

Terminate the options to avoid issues with IDs that start with -

Zachary Kotlarek преди 11 години
родител
ревизия
33c2834f12
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      yt/subscribe.pl

+ 1 - 1
yt/subscribe.pl

@@ -301,7 +301,7 @@ foreach my $id (keys(%{$videos})) {
 
 
 		# Let youtube-dl handle the URLs and downloading
 		# Let youtube-dl handle the URLs and downloading
 		{
 		{
-			my @args = ('--output', videoSE($videos->{$id}->{'season'}, $videos->{$id}->{'number'}) . '%(id)s.%(ext)s', $id);
+			my @args = ('--output', videoSE($videos->{$id}->{'season'}, $videos->{$id}->{'number'}) . '%(id)s.%(ext)s', '--', $id);
 			my @name = ($YTDL_BIN);
 			my @name = ($YTDL_BIN);
 			push(@name, @YTDL_ARGS);
 			push(@name, @YTDL_ARGS);
 			my @fetch = @name;
 			my @fetch = @name;