diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-06-21 18:15:40 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-06-21 18:25:52 +0200 |
commit | 0ef6aa51265c41a77d504f858c3c0c13eff448c2 (patch) | |
tree | b3fea3bd4029eb05e081f8d035a77a86a04ddcda /searx/engines/google_news.py | |
parent | 05e90f2e57043d8ca425e43ed288d45027bdf0ec (diff) | |
download | searxng-0ef6aa51265c41a77d504f858c3c0c13eff448c2.tar.gz searxng-0ef6aa51265c41a77d504f858c3c0c13eff448c2.zip |
[docs] add documentation from the sources of the google engines
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
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 |