From 041601c4a57f8105acc1b54ca0d15e7df18413a4 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sat, 18 May 2013 22:12:43 +0200 Subject: [PATCH] Change TPB search string fix #1451 --- couchpotato/core/providers/torrent/thepiratebay/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/providers/torrent/thepiratebay/main.py b/couchpotato/core/providers/torrent/thepiratebay/main.py index db63a231..10608157 100644 --- a/couchpotato/core/providers/torrent/thepiratebay/main.py +++ b/couchpotato/core/providers/torrent/thepiratebay/main.py @@ -53,7 +53,7 @@ class ThePirateBay(TorrentMagnetProvider): while page < total_pages: - search_url = self.urls['search'] % (self.getDomain(), tryUrlencode('"%s %s"' % (title, movie['library']['year'])), page, self.getCatId(quality['identifier'])[0]) + search_url = self.urls['search'] % (self.getDomain(), tryUrlencode('"%s" %s' % (title, movie['library']['year'])), page, self.getCatId(quality['identifier'])[0]) page += 1 data = self.getHTMLData(search_url)