瀏覽代碼

Skip "leaked" shows

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

+ 7 - 0
findTorrent.pl

@@ -1200,6 +1200,13 @@ foreach my $tor (@tors) {
 		}
 		next;
 
+		# Skip leaked files
+	} elsif ($tor->{'title'} =~ /leaked/i) {
+		if ($DEBUG) {
+			print STDERR 'Skipping file: Title contains "leaked": ' . $tor->{'title'} . "\n";
+		}
+		next;
+
 		# Skip pre-air files
 	} elsif ($tor->{'title'} =~ /preair/i) {
 		if ($DEBUG) {