diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-06-21 20:12:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-21 20:12:07 +0200 |
| commit | f3e56836d6481f9807ac232b71c584c0535de783 (patch) | |
| tree | b3fea3bd4029eb05e081f8d035a77a86a04ddcda /searx/engines/google_news.py | |
| parent | f4da4bafa75842d3a8171343f10f244a42fbdd30 (diff) | |
| parent | 0ef6aa51265c41a77d504f858c3c0c13eff448c2 (diff) | |
Merge pull request #165 from return42/patch-google
improve & document google engine
Diffstat (limited to 'searx/engines/google_news.py')
| -rw-r--r-- | searx/engines/google_news.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/searx/engines/google_news.py b/searx/engines/google_news.py index c1c97b700..e6d50855e 100644 --- a/searx/engines/google_news.py +++ b/searx/engines/google_news.py @@ -1,16 +1,11 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # lint: pylint -"""Google (News) - -For detailed description of the *REST-full* API see: `Query Parameter -Definitions`_. Not all parameters can be appied: +"""This is the implementation of the google news engine. The google news API +ignores some parameters from the common :ref:`google API`: - num_ : the number of search results is ignored - save_ : is ignored / Google-News results are always *SafeSearch* -.. _Query Parameter Definitions: - https://developers.google.com/custom-search/docs/xml_results#WebSearch_Query_Parameter_Definitions - .. _num: https://developers.google.com/custom-search/docs/xml_results#numsp .. _save: https://developers.google.com/custom-search/docs/xml_results#safesp |