From d8f57963a185d38b6bc8120889dbca696c1cb856 Mon Sep 17 00:00:00 2001 From: Ruud Date: Mon, 24 Jun 2013 22:07:21 +0200 Subject: [PATCH] NZBIndex: Search for year inside brackets. closes #1874 --- couchpotato/core/providers/nzb/nzbindex/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/providers/nzb/nzbindex/main.py b/couchpotato/core/providers/nzb/nzbindex/main.py index 3643f55..17b87fa 100644 --- a/couchpotato/core/providers/nzb/nzbindex/main.py +++ b/couchpotato/core/providers/nzb/nzbindex/main.py @@ -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'),