improved rss subscribe
This commit is contained in:
parent
0f28e11323
commit
3f6c5547cb
3
main.py
3
main.py
@ -39,7 +39,8 @@ async def load_rss():
|
|||||||
count = 0
|
count = 0
|
||||||
loaded = []
|
loaded = []
|
||||||
uploads = []
|
uploads = []
|
||||||
for entry in rss.load_content():
|
while entries := rss.load_content():
|
||||||
|
for entry in entries:
|
||||||
loaded.append(entry['id'])
|
loaded.append(entry['id'])
|
||||||
uploads.append({
|
uploads.append({
|
||||||
'q': entry['title'],
|
'q': entry['title'],
|
||||||
|
Loading…
Reference in New Issue
Block a user