Skip to content

Commit

Permalink
Use / as the last character of googleUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
nvdaes committed Mar 16, 2024
1 parent 6cda764 commit 230b58f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/globalPlugins/readFeeds/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ def getArticleDescription(self, index=None):
index = self._index
description = None
try:
if self.getFeedUrl().startswith("https://www.google.com") and "/alerts/" in self.getFeedUrl():
if self.getFeedUrl().startswith("https://www.google.com/") and "/alerts/" in self.getFeedUrl():
description = self._articles[index].find(self.buildTag("content", self.ns)).text
if description is not None:
return description
Expand Down

0 comments on commit 230b58f

Please sign in to comment.