1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Fix rarbg provider searchstring encoding

This commit is contained in:
joshjowen 2015-02-24 05:28:51 +10:00
parent 293c10429c
commit 2ecf2e78ca

View File

@ -171,7 +171,7 @@ class RarbgProvider(generic.TorrentProvider):
for search_string in search_params[mode]:
for sc in self.subcategories:
searchURL = self.urls['search'] % (urllib.quote(search_string), sc)
searchURL = self.urls['search'] % (urllib.quote(search_string.encode('UTF-8'))), sc)
logger.log(u"" + self.name + " search page URL: " + searchURL, logger.DEBUG)
data = self.getURL(searchURL)