update tags
This commit is contained in:
@@ -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())
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user