Explorar el Código

Allow 9 and 8 column rows on ISO

Zachary Kotlarek hace 12 años
padre
commit
5a85bd6c74
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      findTorrent.pl

+ 2 - 1
findTorrent.pl

@@ -628,7 +628,8 @@ foreach my $content (@html_content) {
 
 			# Split each TD element from the row
 			my @tds = split(/\<td(?:\s+[^\>]*)?\>/i, $tr);
-			if (scalar(@tds) != 10) {
+			my $numCols = scalar(@tds) - 1;
+			if ($numCols > 9 && $numCols < 8) {
 				print STDERR 'Invalid ISO TR: ' . $tr . "\n";
 				next;
 			}