fdsfg
This commit is contained in:
parent
5eadb50afc
commit
abbed87910
|
@ -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'))
|
||||||
|
|
Loading…
Reference in a new issue