From 976311613b4e50031954805ab0b2d1dc348fce9d Mon Sep 17 00:00:00 2001 From: sbuser Date: Wed, 10 Aug 2011 20:11:14 -0500 Subject: [PATCH] Added '*' to the list of characters removed from search terms. This is a wildcard at NZBMatrix that was returning 100 hits. --- headphones/searcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/searcher.py b/headphones/searcher.py index c9f0fc68..2ac8015a 100644 --- a/headphones/searcher.py +++ b/headphones/searcher.py @@ -70,7 +70,7 @@ def searchNZB(albumid=None, new=False): except TypeError: year = '' - dic = {'...':'', ' & ':' ', ' = ': ' ', '?':'', '$':'s', ' + ':' ', '"':'', ',':''} + dic = {'...':'', ' & ':' ', ' = ': ' ', '?':'', '$':'s', ' + ':' ', '"':'', ',':'', '*':''} cleanalbum = helpers.latinToAscii(helpers.replace_all(albums[1], dic)) cleanartist = helpers.latinToAscii(helpers.replace_all(albums[0], dic))