Fix to help find working proxy
This commit is contained in:
1 parent
f6281c6dcc
commit
5a8f28764d
1 file changed
+1
-1
@@ -135,7 +135,7 @@ class KickAssTorrents(TorrentMagnetProvider):
|
||||
except:
|
||||
log.debug('Failed kat proxy %s', proxy)
|
||||
|
||||
if 'placeholder="Search query"' in data:
|
||||
if 'search query' in data.lower():
|
||||
log.debug('Using proxy: %s', proxy)
|
||||
self.domain = proxy
|
||||
break
|
||||
|
||||
Reference in new issue
Block a user