modify scripts
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user