Przeglądaj źródła

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

Zachary Kotlarek 11 lat temu
rodzic
commit
33c2834f12
1 zmienionych plików z 1 dodań i 1 usunięć
  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
 		{
-			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);
 			push(@name, @YTDL_ARGS);
 			my @fetch = @name;