mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 00:43:37 +00:00
HDBits fixed! DOn't question just say ... thankyou ;)
This commit is contained in:
parent
f0bd8e5e4a
commit
3918917f7a
1 changed files with 7 additions and 1 deletions
|
@ -104,7 +104,13 @@ class HDBitsProvider(generic.TorrentProvider):
|
|||
|
||||
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:
|
||||
logger.log(u"Error trying to load " + self.name + " JSON data", logger.ERROR)
|
||||
|
|
Loading…
Reference in a new issue