mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Fix for KickAss Torrents Invalid URL error.
This commit is contained in:
parent
d9f37eb852
commit
21cc92664f
@ -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 New Issue
Block a user