[foolslide] fix minor chapter number
This commit is contained in:
@@ -45,12 +45,12 @@ class FoolslideExtractor(SharedConfigExtractor):
|
||||
|
||||
@staticmethod
|
||||
def parse_chapter_url(url, data):
|
||||
info = url.partition("/read/")[2].split("/")
|
||||
info = url.partition("/read/")[2].rstrip("/").split("/")
|
||||
data["lang"] = info[1]
|
||||
data["language"] = util.code_to_language(info[1])
|
||||
data["volume"] = util.safe_int(info[2])
|
||||
data["chapter"] = util.safe_int(info[3])
|
||||
data["chapter_minor"] = "." + info[4] if len(info) >= 6 else ""
|
||||
data["chapter_minor"] = "." + info[4] if len(info) >= 5 else ""
|
||||
return data
|
||||
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ class WorldthreeChapterExtractor(foolslide.FoolslideChapterExtractor):
|
||||
(("http://www.slide.world-three.org"
|
||||
"/read/idolmster_cg_shuffle/en/0/4/2/"), {
|
||||
"url": "6028ea5ca282744f925dfad92eeb98509f9cc78c",
|
||||
"keyword": "5710e9c862c53d89268d68f353c1fe5836a323d1",
|
||||
"keyword": "d478e9f20847deb1844dba318acaa8b91c19468a",
|
||||
}),
|
||||
]
|
||||
scheme = "http"
|
||||
|
||||
Reference in New Issue
Block a user