diff --git a/gallery_dl/extractor/komikcast.py b/gallery_dl/extractor/komikcast.py index 8a4e413e..6e5aec95 100644 --- a/gallery_dl/extractor/komikcast.py +++ b/gallery_dl/extractor/komikcast.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2018-2019 Mike Fährmann +# Copyright 2018-2021 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 @@ -32,7 +32,7 @@ class KomikcastBase(): if manga: data["manga"] = manga.partition(" Chapter ")[0] - if title and title.lower() != "bahasa indonesia": + if title and not title.lower().startswith("bahasa indonesia"): data["title"] = title.strip() else: data["title"] = "" @@ -53,27 +53,23 @@ class KomikcastChapterExtractor(KomikcastBase, ChapterExtractor): "keyword": "f3938e1aff9ad1f302f52447e9781b21f6da26d4", }), (("https://komikcast.com/chapter/" - "tonari-no-kashiwagi-san-chapter-18b/"), { - "url": "aff90dd21dbb945a726778b10bdef522af7c42fe", - "keyword": "19b5783864c4299913de436513b124b028b557c1", - }), - (("https://komikcast.com/chapter/090-eko-to-issho-chapter-1/"), { - "url": "cda104a32ea2b06b3d6b096726622f519ed1fa33", + "solo-spell-caster-chapter-37-bahasa-indonesia/"), { + "url": "c3d30de6c796ff6ff36eb86e2e6fa2f8add8e829", + "keyword": "ed8a0ff73098776988bf66fb700381a2c748f910", }), ) def metadata(self, page): - info = text.extract(page, '', "")[0] + info = text.extract(page, "