diff --git a/utils/entity/RouMan.py b/utils/entity/RouMan.py index 27d45d6..daf4c52 100644 --- a/utils/entity/RouMan.py +++ b/utils/entity/RouMan.py @@ -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)