Browse Source

Whine less about empty replies

Zachary Kotlarek 11 years ago
parent
commit
1cefb0482c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      findTorrent.pl

+ 4 - 0
findTorrent.pl

@@ -825,6 +825,10 @@ foreach my $content (@html_content) {
 		if ($DEBUG) {
 			print STDERR "Source down for maintenance\n";
 		}
+	} elsif ($content =~ /^\s*$/) {
+		if ($DEBUG) {
+			print STDERR "Source returned no content\n";
+		}
 	} else {
 		print STDERR "Unknown HTML content:\n" . $content . "\n\n";
 	}