forked from sch/Slixfeed
Format title - add feed title to entry title
This commit is contained in:
parent
6e7c57d745
commit
88e1468bd6
1 changed files with 2 additions and 1 deletions
|
@ -111,7 +111,8 @@ async def download_updates(db_file, url=None):
|
||||||
# new_entry = 0
|
# new_entry = 0
|
||||||
for entry in entries:
|
for entry in entries:
|
||||||
if entry.has_key("title"):
|
if entry.has_key("title"):
|
||||||
title = entry.title
|
# title = entry.title
|
||||||
|
title = "{}: *{}*".format(feed["feed"]["title"], entry.title)
|
||||||
else:
|
else:
|
||||||
title = feed["feed"]["title"]
|
title = feed["feed"]["title"]
|
||||||
if entry.has_key("link"):
|
if entry.has_key("link"):
|
||||||
|
|
Loading…
Reference in a new issue