Skip to content

Commit

Permalink
meta fallback for missing title
Browse files Browse the repository at this point in the history
  • Loading branch information
facundoolano committed Jan 2, 2024
1 parent 906d8e0 commit f677806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feedi/parsers/rss.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def _matches(entry, filters):
return True

def parse_title(self, entry):
return entry['title']
return entry.get('title') or self.fetch_meta(self.parse_content_url(entry), 'og:title')

def parse_content_url(self, entry):
return entry['link']
Expand Down

0 comments on commit f677806

Please sign in to comment.