소스 검색

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";