Parcourir la source

ISO site changes

Zachary Kotlarek il y a 11 ans
Parent
commit
964e60d3c3
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      findTorrent.pl

+ 2 - 2
findTorrent.pl

@@ -595,7 +595,7 @@ foreach my $content (@html_content) {
 			push(@tors, \%tor);
 		}
 
-	} elsif ($content =~ /\<title\>isoHunt\b/i) {
+	} elsif ($content =~ /\<title\>[^\<\>]*\bisoHunt\b[^\<\>]*\<\/title\>/i) {
 
 		# Find each TR element from ISOHunt
 		my @trs = splitTags($content, 'TR', 'TH');
@@ -610,7 +610,7 @@ foreach my $content (@html_content) {
 			}
 
 			# Skip sponsored results
-			if ($tds[1] =~ /Sponsored\<\/td\>/i) {
+			if ($tds[1] =~ /\bSponsored\b/i) {
 				if ($DEBUG > 1) {
 					print STDERR "Skipping sponsored result\n";
 				}