summaryrefslogtreecommitdiff
path: root/searx/engines/google_news.py
diff options
context:
space:
mode:
authorjazzzooo <38244149+jazzzooo@users.noreply.github.com>2023-09-15 00:53:03 -0700
committerMarkus Heiser <markus.heiser@darmarIT.de>2023-09-18 16:20:27 +0200
commit223b3487c38a2390ad936943266a44da9cbb810a (patch)
tree6dde6498a4c37731427715d01b6314b09be52897 /searx/engines/google_news.py
parenta9b6963971327605db1509795be7795dc7401f3f (diff)
[fix] spelling
Diffstat (limited to 'searx/engines/google_news.py')
-rw-r--r--searx/engines/google_news.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/engines/google_news.py b/searx/engines/google_news.py
index 4b1bffa30..a5ed63bbe 100644
--- a/searx/engines/google_news.py
+++ b/searx/engines/google_news.py
@@ -72,7 +72,7 @@ time_range_support = False
# Google-News results are always *SafeSearch*. Option 'safesearch' is set to
# False here, otherwise checker will report safesearch-errors::
#
-# safesearch : results are identitical for safesearch=0 and safesearch=2
+# safesearch : results are identical for safesearch=0 and safesearch=2
safesearch = True
# send_accept_language_header = True
@@ -155,7 +155,7 @@ def response(resp):
title = extract_text(eval_xpath(result, './article/h3[1]'))
- # The pub_date is mostly a string like 'yesertday', not a real
+ # The pub_date is mostly a string like 'yesterday', not a real
# timezone date or time. Therefore we can't use publishedDate.
pub_date = extract_text(eval_xpath(result, './article//time'))
pub_origin = extract_text(eval_xpath(result, './article//a[@data-n-tid]'))