😥修改bug,尝试订阅更新功能

This commit is contained in:
2024-07-03 10:14:43 +08:00
parent cdac25869c
commit 204cf1ed88
15 changed files with 156 additions and 357 deletions

View File

@ -93,4 +93,5 @@ def get_latest_articles_from_link(url, count=5, last_articles_path="./rss_subscr
json.dump({'articles': latest_articles}, file, ensure_ascii=False, indent=4)
# 如果有更新的文章,返回这些文章,否则返回 None
return updated_articles if updated_articles else None
return updated_articles if updated_articles else None