This commit is contained in:
Aeris 2021-07-04 02:21:17 +02:00
parent abbed87910
commit 12be18ffe3

View file

@ -88,7 +88,7 @@ def fetchBoerse():
items = tree.xpath('//*[@id="threadbits_forum_29"]/tr')
# creating a feed
feed = feedgenerator.Rss201rev2Feed(title="Foo",
feed = feedgenerator.Rss201rev2Feed(title="Boerse - Hoerbuecher",
link="https://rss.eris.cc/boerse/audiobooks",
description="Aktuelle Releases aus der Boerse",
language="de")
@ -101,7 +101,7 @@ def fetchBoerse():
# getting the link
links = i.xpath('td[2]//a/@href')
link = 'empty' if len(links) == 0 else 'https://boerse.im/boerse/audioboerse/hoerbuecher-und-hoerspiele' + links[0]
link = 'empty' if len(links) == 0 else 'https://boerse.im/' + links[0]
# getting the description
descriptions = i.xpath('td[2]/@title')