Private GIT

Skip to content
Snippets Groups Projects
Commit 3f1a86d7 authored by Alexandre Beloin's avatar Alexandre Beloin
Browse files

EZTV: Temporary fix for getURL json

parent 8a02fc97
No related branches found
No related tags found
No related merge requests found
......@@ -93,7 +93,11 @@ class EZTVProvider(generic.TorrentProvider):
searchURL = self.urls['show'] % (search_string['imdb_id'])
logger.log(u"" + self.name + " search page URL: " + searchURL, logger.DEBUG)
try:
parsedJSON = self.getURL(searchURL, json=True)
except ValueError as e:
parsedJSON = None
if not parsedJSON:
logger.log(u"" + self.name + " could not retrieve page URL:" + searchURL, logger.DEBUG)
return results
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment