modify scripts
This commit is contained in:
@ -189,7 +189,7 @@ def fetch_contents():
|
||||
|
||||
for row in list_data:
|
||||
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)
|
||||
if content and content['title'] and content['contents']:
|
||||
# 写入到数据表里
|
||||
|
||||
Reference in New Issue
Block a user