[kissmanga] fix download URLs and file extensions

The current Blogspot image URLs hosted on Kissmanga end with an
"invalid" query parameter (/000.png&upx=...), which doesn't get
recognized by 'spliturl()' and 'parseurl()' as such and gets therefore
included in the 'extension' field from 'text.nameext_from_url()'.
pull/359/head
Mike Fährmann 5 years ago
parent 055102431f
commit 7a99e85943
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -124,7 +124,8 @@ class KissmangaChapterExtractor(KissmangaBase, ChapterExtractor):
iv = (0xa5, 0xe8, 0xe2, 0xe9, 0xc2, 0x72, 0x1b, 0xe0,
0xa8, 0x4a, 0xd6, 0x60, 0xc4, 0x72, 0xc1, 0xf3)
return [
(aes.aes_cbc_decrypt_text(data, key, iv), None)
(aes.aes_cbc_decrypt_text(
data, key, iv).partition("&")[0], None)
for data in text.extract_iter(
page, 'lstImages.push(wrapKA("', '"'
)

@ -283,7 +283,7 @@ class SankakuPostExtractor(SankakuExtractor):
"options": (("tags", True),),
"keyword": {
"tags_artist": "bonocho",
"tags_copyright": "batman_(series) batman the_dark_knight",
"tags_copyright": "batman_(series) the_dark_knight",
"tags_medium": "sketch copyright_name",
"tags_studio": "dc_comics",
"tags_character": str,

@ -26,6 +26,7 @@ TRAVIS_SKIP = {
# temporary issues, etc.
BROKEN = {
"komikcast",
"mangapark",
}

Loading…
Cancel
Save