update tags

This commit is contained in:
cwx
2026-09-11 21:40:57 +08:00
parent cdf242b5db
commit e23c34e29b
2 changed files with 9 additions and 6 deletions
+7 -4
View File
@@ -6,13 +6,16 @@ logger = setup_logging(__name__)
async def main():
# 配置下载参数
#manga_url = "https://rouman5.com/books/5f70fd06-5554-4ac5-b3a8-5b82749a4a7a"
manga_list_url = "https://rouman5.com/books?continued=true"
# 开始下载
#await MangaManager().download_manga(manga_url)
for i in range(0,30):
for i in range(0,10):
await MangaManager().download_list_manga(f"{manga_list_url}&page={i}")
async def test():
manga_url = "https://rouman5.com/books/da3a4665-7af0-4e8a-aaf5-a34c620a0323"
await MangaManager().download_manga(manga_url)
if __name__ == "__main__":
asyncio.run(main())
asyncio.run(main())
#asyncio.run(test())
+2 -2
View File
@@ -20,8 +20,8 @@ selectors:
index: 1
cover: '//div[@class="site-book-overview"]/img[@class="site-detail-cover"]/@src'
#status: .book-detail dl dt:contains("状态") + dd
#tags:
# selector: '//div[@class="basis-3/5 text-sm sm:text-base"]//span[@class="text-foreground"]/text()'
tags:
selector: '//head/meta[@name="keywords"]/@content'
# index: 3
# date: '//div[@class="text-gray-500 text-sm mt-2"]/div/text()'
genre: