瀏覽代碼

Fewer complaints

Zachary Kotlarek 11 年之前
父節點
當前提交
c2c472d9b9
共有 1 個文件被更改,包括 3 次插入 和 1 次删除
  1. 3 1
      findTorrent.pl

+ 3 - 1
findTorrent.pl

@@ -688,7 +688,9 @@ foreach my $content (@html_content) {
 			}
 
 			# Skip empty results
-			if ($tds[1] =~ /\<h2\>Nothing found\!\<\/h2\>/i) {
+			if (   $tds[1] =~ /\<h2\>Nothing found\!\<\/h2\>/i
+				|| $tds[1] =~ /\<p\>\<strong\>Page not found\<\/strong\>\<\/p\>/i)
+			{
 				if ($DEBUG) {
 					print STDERR "Skipping empty TD\n";
 				}