mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -05:00
HDBits fixed! DOn't question just say ... thankyou ;)
This commit is contained in:
parent
f0bd8e5e4a
commit
3918917f7a
@ -104,7 +104,13 @@ class HDBitsProvider(generic.TorrentProvider):
|
|||||||
|
|
||||||
logger.log(u"Search url: " + self.search_url + " search_params: " + search_params, logger.DEBUG)
|
logger.log(u"Search url: " + self.search_url + " search_params: " + search_params, logger.DEBUG)
|
||||||
|
|
||||||
parsedJSON = self.getURL(self.search_url, post_data=search_params, json=True)
|
data = self.getURL(self.search_url, post_data=search_params)
|
||||||
|
|
||||||
|
if not data:
|
||||||
|
logger.log(u"No data returned from " + self.search_url, logger.ERROR)
|
||||||
|
return []
|
||||||
|
|
||||||
|
parsedJSON = helpers.parse_json(data)
|
||||||
|
|
||||||
if parsedJSON is None:
|
if parsedJSON is None:
|
||||||
logger.log(u"Error trying to load " + self.name + " JSON data", logger.ERROR)
|
logger.log(u"Error trying to load " + self.name + " JSON data", logger.ERROR)
|
||||||
|
Loading…
Reference in New Issue
Block a user