Преглед изворни кода

Whine less about G&S YTIDs

Zachary Kotlarek пре 10 година
родитељ
комит
6740627616
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      yt/critrole.pl

+ 1 - 1
yt/critrole.pl

@@ -111,7 +111,7 @@ my %ytids = ();
 		}
 		if ($response->decoded_content() =~ /data-ytid=\"([^\"]+)\"/) {
 			$ytids{$1} = $url;
-		} else {
+		} elsif ($DEBUG > 0) {
 			print STDERR 'No YTID found on: ' .$url . "\n";
 			if ($DEBUG > 1) {
 				print STDERR "\tPage content:\n" . $response->decoded_content() . "\n\n";