This commit is contained in:
Aeris 2021-07-03 18:04:28 +02:00
parent 5eadb50afc
commit abbed87910

View file

@ -56,14 +56,14 @@ def fetchThalia():
authors = i.xpath('section/ul/li')
author = ''
for j in authors:
author += ( j.xpath('/a/text()')[0] + ", " )
author += ( j.xpath('a/text()')[0] + " " )
feed.add_item(
title=title,
title=(author + "- " + title),
link=link,
description=description,
unique_id=post_id,
author=author
author_name=author
)
return(bytes(feed.writeString('utf-8'),'utf-8'))