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

This commit is contained in:
LiuShen committed 2024-07-03 10:14:43 +08:00
1 parent cdac25869c
commit 204cf1ed88
15 files changed
+156 -357

No files matched your search

Binary file not shown.
+2 -1
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