🦒增强,修复文章中作者抓取错误的小问题(不重要更新)

This commit is contained in:
柳神 2024-09-02 09:35:30 +08:00
parent e0f245e2bf
commit 24ac5b999d
2 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ def parse_feed(url, session, count=5):
print(f"警告:文章 {entry.title} 未包含任何时间信息,请尽快联系站长处理")
article = {
'title': entry.title if 'title' in entry else '',
'author': entry.author if 'author' in entry else '',
'author': result['author'],
'link': entry.link if 'link' in entry else '',
'published': published,
'summary': entry.summary if 'summary' in entry else '',