Archived
1
0
Fork 0

Update teahouse.py

This commit is contained in:
yzhh 2021-11-20 22:47:22 +08:00
parent c7cf0859ee
commit f3b91203a3

View file

@ -11,5 +11,5 @@ async def get_rss():
status_code=200, fmt='text')
feed = feedparser.parse(url)['entries'][-1]
title = feed['title']
summary = html2text.html2text(feed['summary'])
summary = html2text.html2text(feed['summary'], baseurl='https://lakeus.xyz')
return title + '\n' + summary