瀏覽代碼

More language filters

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

+ 14 - 0
findTorrent.pl

@@ -961,6 +961,20 @@ foreach my $tor (@tors) {
 		}
 		}
 		next;
 		next;
 
 
+		# Skip Spanish files
+	} elsif ($tor->{'title'} =~ /Español/i) {
+		if ($DEBUG) {
+			print STDERR 'Skipping file: Title contains "Español": ' . $tor->{'title'} . "\n";
+		}
+		next;
+
+		# Skip Castellano files
+	} elsif ($tor->{'title'} =~ /Castellano/i) {
+		if ($DEBUG) {
+			print STDERR 'Skipping file: Title contains "Castellano": ' . $tor->{'title'} . "\n";
+		}
+		next;
+
 		# Skip unedited files
 		# Skip unedited files
 	} elsif ($tor->{'title'} =~ /unedited/i) {
 	} elsif ($tor->{'title'} =~ /unedited/i) {
 		if ($DEBUG) {
 		if ($DEBUG) {