mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-11 21:53:37 +00:00
'kastatic.com' no longer present in HTML, so search for 'kastatus.com' instead
This commit is contained in:
parent
da6b6ecc6d
commit
1f4fde3f73
1 changed files with 2 additions and 2 deletions
|
@ -155,8 +155,8 @@ class KATProvider(generic.TorrentProvider):
|
||||||
|
|
||||||
cnt = len(items[mode])
|
cnt = len(items[mode])
|
||||||
try:
|
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 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 'kastatic' not in html:
|
if html and 'kastatus.com' not in html:
|
||||||
url += (1, 0)[url == len(self.urls['base'])]
|
url += (1, 0)[url == len(self.urls['base'])]
|
||||||
raise generic.HaltParseException
|
raise generic.HaltParseException
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue