From 5a8f28764d34947ffa11e9574de90ad5c935f0dd Mon Sep 17 00:00:00 2001 From: Jamie Date: Sat, 16 Nov 2013 02:30:31 +0000 Subject: [PATCH] Fix to help find working proxy --- couchpotato/core/providers/torrent/kickasstorrents/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/providers/torrent/kickasstorrents/main.py b/couchpotato/core/providers/torrent/kickasstorrents/main.py index 1455404d..0f27f6ac 100644 --- a/couchpotato/core/providers/torrent/kickasstorrents/main.py +++ b/couchpotato/core/providers/torrent/kickasstorrents/main.py @@ -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