improved rss subscribe

This commit is contained in:
mxr612 2024-08-24 13:40:12 +08:00
parent 0f28e11323
commit 3f6c5547cb

View File

@ -39,7 +39,8 @@ async def load_rss():
count = 0
loaded = []
uploads = []
for entry in rss.load_content():
while entries := rss.load_content():
for entry in entries:
loaded.append(entry['id'])
uploads.append({
'q': entry['title'],