fix
This commit is contained in:
parent
2a5fa0f9db
commit
ca2a600f13
@ -168,6 +168,7 @@ class comicEntity:
|
||||
description = x.get("description")
|
||||
images = x.get("images")
|
||||
chapterAPIPath = x.get("chapterAPIPath")
|
||||
chapterAPIPath = str(chapterAPIPath).encode('utf-8').decode('unicode_escape')
|
||||
comicInfo.setComicName(bookName)
|
||||
comicInfo.setChapterName(chapterName)
|
||||
comicInfo.setDep(description)
|
||||
@ -177,7 +178,6 @@ class comicEntity:
|
||||
comicInfo.writeComicInfoXML(chapterName)
|
||||
|
||||
if chapterAPIPath != None:
|
||||
chapterAPIUrl = str(chapterAPIUrl).replace("\u0026","&")
|
||||
base_url = comicInfo.getBaseUrl(chapter_url)
|
||||
chapterAPIUrl = base_url+chapterAPIPath
|
||||
data = htmlUtils.getJSON(chapterAPIUrl)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user