From 88e1468bd65ef1b4d232ebe30c01a6e9b7024ea5 Mon Sep 17 00:00:00 2001 From: Schimon Jehudah Date: Wed, 29 Nov 2023 18:53:24 +0000 Subject: [PATCH] Format title - add feed title to entry title --- slixfeed/datahandler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/slixfeed/datahandler.py b/slixfeed/datahandler.py index dbc77e5..7c9e314 100644 --- a/slixfeed/datahandler.py +++ b/slixfeed/datahandler.py @@ -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"):