From e235c51e03b31d985a0e20c1f8dedb5f59683a0a Mon Sep 17 00:00:00 2001 From: caiwx86 Date: Wed, 21 Dec 2022 00:49:53 +0800 Subject: [PATCH] fix --- utils/entity/RouMan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/entity/RouMan.py b/utils/entity/RouMan.py index 482f600..148d2f9 100644 --- a/utils/entity/RouMan.py +++ b/utils/entity/RouMan.py @@ -56,7 +56,7 @@ class comicEntity: @classmethod def oneComic(cls,c_url,sleep=None): #漫画名 - title = htmlUtils.xpathData('//div[@class="col"]/h5/text()',url=c_url,num=0,update=True) + title = htmlUtils.xpathData('//div[@class="col"]/h5/text()',url=c_url,num=0) #别名 alias = htmlUtils.xpathData('//span[contains(@class,"bookid_alias")]/text()',num=1) icon = htmlUtils.xpathData('//img[@class="img-thumbnail"]/@src',num=0) @@ -67,7 +67,7 @@ class comicEntity: dep = htmlUtils.xpathData('//div[contains(@class,"bookid_bookInfo")]/p[4]/text()',num=1) update_date = htmlUtils.xpathData('//div[contains(@class,"bookid_bookInfo")]/p[5]/small/text()',num=1) chapters = htmlUtils.xpathData('//div[contains(@class,"bookid_chapterBox")]//div[contains(@class,"bookid_chapter")]/a/text()') - chapter_href = htmlUtils.xpathData('//div[contains(@class,"bookid_chapterBox")]//div[contains(@class,"bookid_chapter")]/a/@href') + chapter_href = htmlUtils.xpathData('//div[contains(@class,"bookid_chapterBox")]//div[contains(@class,"bookid_chapter")]/a/@href', update=True) author = str(author).replace("&",",").replace(" ",",") comicInfo.setHomePage(c_url)