improve parameter extraction when solving Cloudflare challenge

This commit is contained in:
Mike Fährmann
2020-04-22 22:03:15 +02:00
parent fb98b567fa
commit 8fe858eb0e
2 changed files with 10 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright 2015-2019 Mike Fährmann
# Copyright 2015-2020 Mike Fährmann
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
@@ -126,7 +126,7 @@ class KissmangaChapterExtractor(KissmangaBase, ChapterExtractor):
(aes.aes_cbc_decrypt_text(
data, key, iv).partition("&")[0], None)
for data in text.extract_iter(
page, 'lstImages.push(wrapKA("', '"'
page, 'push(wrapKA("', '"'
)
]
except UnicodeDecodeError: