modify scripts

This commit is contained in:
oscarz
2025-03-18 18:32:06 +08:00
parent f4dacaa9ea
commit dfb34b80f2

View File

@ -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