summaryrefslogtreecommitdiff
path: root/searx/engines/google.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/google.py')
-rw-r--r--searx/engines/google.py26
1 files changed, 14 insertions, 12 deletions
diff --git a/searx/engines/google.py b/searx/engines/google.py
index 17ab21f6a..4198de640 100644
--- a/searx/engines/google.py
+++ b/searx/engines/google.py
@@ -1,19 +1,11 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
"""Google (Web)
-:website: https://www.google.com
-:provide-api: yes (https://developers.google.com/custom-search/)
-:using-api: not the offical, since it needs registration to another service
-:results: HTML
-:stable: no
-:parse: url, title, content, number_of_results, answer, suggestion, correction
-
-For detailed description of the *REST-full* API see: `Query Parameter
-Definitions`_.
-
-.. _Query Parameter Definitions:
- https://developers.google.com/custom-search/docs/xml_results#WebSearch_Query_Parameter_Definitions
+ For detailed description of the *REST-full* API see: `Query Parameter
+ Definitions`_.
+ .. _Query Parameter Definitions:
+ https://developers.google.com/custom-search/docs/xml_results#WebSearch_Query_Parameter_Definitions
"""
# pylint: disable=invalid-name, missing-function-docstring
@@ -27,6 +19,16 @@ from searx.exceptions import SearxEngineCaptchaException
logger = logger.getChild('google engine')
+# about
+about = {
+ "website": 'https://www.google.com',
+ "wikidata_id": 'Q9366',
+ "official_api_documentation": 'https://developers.google.com/custom-search/',
+ "use_official_api": False,
+ "require_api_key": False,
+ "results": 'HTML',
+}
+
# engine dependent config
categories = ['general']
paging = True