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