瀏覽代碼

More filtering for NZB names

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

+ 3 - 1
findTorrent.pl

@@ -1363,7 +1363,9 @@ sub parseNZB($) {
 		$title = $item->{'description'};
 	}
 	if ($title) {
-		$url .= '#' . uri_encode($title);
+		my $title_clean = $title;
+		$title_clean =~ s/[\/\(\)]/_/g;
+		$url .= '#' . uri_encode($title_clean);
 	}
 
 	# Extract the season and episode numbers