diff --git a/goose/extractors/title.py b/goose/extractors/title.py index a59dca92..6ef0b00d 100644 --- a/goose/extractors/title.py +++ b/goose/extractors/title.py @@ -78,7 +78,7 @@ def get_title(self): title = '' # rely on opengraph in case we have the data - if "title" in self.article.opengraph.keys(): + if "title" in self.article.opengraph.keys() and self.article.opengraph['title'] is not None: title = self.article.opengraph['title'] return self.clean_title(title)