Fix bug when parsing startpage
This commit is contained in:
parent
2f3e1d368e
commit
08ca7fee56
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ async def parse_startpage(
|
|||
|
||||
# feeds
|
||||
feeds = meta_links['feeds']
|
||||
if 'wordpress' in meta.get('generator', '').lower():
|
||||
if 'wordpress' in (meta.get('generator') or '').lower():
|
||||
url = durl.site() + 'feed/'
|
||||
feeds[url] = 'application/rss+xml'
|
||||
# TODO later: maybe also probe other possible feed paths 'rss', 'rss/'
|
||||
|
|
Loading…
Reference in a new issue