mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-20 16:43:43 +00:00
Fix for KickAss Torrents Invalid URL error.
This commit is contained in:
parent
d9f37eb852
commit
21cc92664f
1 changed files with 2 additions and 0 deletions
|
@ -65,6 +65,7 @@ class KATProvider(generic.TorrentProvider):
|
|||
self.cache = KATCache(self)
|
||||
|
||||
self.urls = ['http://kickass.to/', 'http://katproxy.com/']
|
||||
self.url = None
|
||||
|
||||
def isEnabled(self):
|
||||
return self.enabled
|
||||
|
@ -240,6 +241,7 @@ class KATProvider(generic.TorrentProvider):
|
|||
|
||||
html = self.getURL(searchURL)
|
||||
if html:
|
||||
self.url = url
|
||||
break
|
||||
|
||||
if not html:
|
||||
|
|
Loading…
Reference in a new issue