[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()'.
This commit is contained in:
@@ -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",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user