From b76f2010176dbfc13c59c66f519e0968ee6f9c46 Mon Sep 17 00:00:00 2001 From: jasonlyle88 Date: Sun, 16 Jul 2017 19:31:39 -0400 Subject: [PATCH] Update thepiratebay.py Remove the quotes around the search string to allow for results to be returned --- couchpotato/core/media/movie/providers/torrent/thepiratebay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/media/movie/providers/torrent/thepiratebay.py b/couchpotato/core/media/movie/providers/torrent/thepiratebay.py index 0dc8313..b3cefba 100644 --- a/couchpotato/core/media/movie/providers/torrent/thepiratebay.py +++ b/couchpotato/core/media/movie/providers/torrent/thepiratebay.py @@ -21,7 +21,7 @@ class ThePirateBay(MovieProvider, Base): def buildUrl(self, media, page, cats): return ( - tryUrlencode('"%s"' % fireEvent('library.query', media, single = True)), + tryUrlencode('%s' % fireEvent('library.query', media, single = True)), page, ','.join(str(x) for x in cats) )