From 1f4fde3f73a45a6830971953a9e6dc3394853125 Mon Sep 17 00:00:00 2001 From: Sebastiaan Dammann Date: Mon, 20 Jun 2016 20:47:48 +0200 Subject: [PATCH] 'kastatic.com' no longer present in HTML, so search for 'kastatus.com' instead --- sickbeard/providers/kat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sickbeard/providers/kat.py b/sickbeard/providers/kat.py index 403b574a..808f5c77 100644 --- a/sickbeard/providers/kat.py +++ b/sickbeard/providers/kat.py @@ -155,8 +155,8 @@ class KATProvider(generic.TorrentProvider): cnt = len(items[mode]) try: - if not html or 'kastatic' not in html or self._has_no_results(html) or re.search(r'(?is)<(?:h\d)[^>]*>.*?(?:did\snot\smatch)', html): - if html and 'kastatic' not in html: + if not html or 'kastatus.com' not in html or self._has_no_results(html) or re.search(r'(?is)<(?:h\d)[^>]*>.*?(?:did\snot\smatch)', html): + if html and 'kastatus.com' not in html: url += (1, 0)[url == len(self.urls['base'])] raise generic.HaltParseException