This commit is contained in:
Aeris 2021-07-03 18:04:28 +02:00
parent 5eadb50afc
commit abbed87910
1 changed files with 3 additions and 3 deletions

View File

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