NZBIndex: Search for year inside brackets. closes #1874

This commit is contained in:
Ruud
2013-06-24 22:07:21 +02:00
parent 5328f7fe69
commit d8f57963a1

View File

@@ -23,7 +23,7 @@ class NzbIndex(NZBProvider, RSS):
def _searchOnTitle(self, title, movie, quality, results):
q = '"%s %s"' % (title, movie['library']['year'])
q = '"%s %s" | "%s (%s)"' % (title, movie['library']['year'], title, movie['library']['year'])
arguments = tryUrlencode({
'q': q,
'age': Env.setting('retention', 'nzb'),