From dfb34b80f210343b5891c4481df734d589e161f1 Mon Sep 17 00:00:00 2001 From: oscarz Date: Tue, 18 Mar 2025 18:32:06 +0800 Subject: [PATCH] modify scripts --- aabook/src/fetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aabook/src/fetch.py b/aabook/src/fetch.py index 336dbb2..15684cc 100644 --- a/aabook/src/fetch.py +++ b/aabook/src/fetch.py @@ -102,7 +102,7 @@ def fetch_book_toc(url): # 获取小说的目录页,并插入到数据库 def fetch_table_of_contents(): while True: - update_list = db_tools.query_books(id=2547, is_latest=0, limit = 2 if debug else 100) + update_list = db_tools.query_books(is_latest=0, limit = 2 if debug else 100) if update_list is None or len(update_list) <1 : logging.info(f'no more data need fecth.') return