modify scripts

This commit is contained in:
oscarz
2025-03-18 18:00:33 +08:00
parent ea3e62c0d3
commit d28acc0556

View File

@ -189,7 +189,7 @@ def fetch_contents():
for row in list_data: for row in list_data:
url = row['href'] url = row['href']
logging.info(f'fetching content ({row['title']}) from {url}') logging.info(f"fetching content ({row['title']}) from {url}")
content, next_url = fetch_chapter_content(url) content, next_url = fetch_chapter_content(url)
if content and content['title'] and content['contents']: if content and content['title'] and content['contents']:
# 写入到数据表里 # 写入到数据表里