Format title - add feed title to entry title

This commit is contained in:
Schimon Jehudah 2023-11-29 18:53:24 +00:00
parent 6e7c57d745
commit 88e1468bd6

View file

@ -111,7 +111,8 @@ async def download_updates(db_file, url=None):
# new_entry = 0
for entry in entries:
if entry.has_key("title"):
title = entry.title
# title = entry.title
title = "{}: *{}*".format(feed["feed"]["title"], entry.title)
else:
title = feed["feed"]["title"]
if entry.has_key("link"):