summaryrefslogtreecommitdiff
path: root/searx/engines/bing.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/bing.py')
-rw-r--r--searx/engines/bing.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/searx/engines/bing.py b/searx/engines/bing.py
index f0882fcc9..edf6baef9 100644
--- a/searx/engines/bing.py
+++ b/searx/engines/bing.py
@@ -1,16 +1,6 @@
+# SPDX-License-Identifier: AGPL-3.0-or-later
"""
Bing (Web)
-
- @website https://www.bing.com
- @provide-api yes (http://datamarket.azure.com/dataset/bing/search),
- max. 5000 query/month
-
- @using-api no (because of query limit)
- @results HTML (using search portal)
- @stable no (HTML can change)
- @parse url, title, content
-
- @todo publishedDate
"""
import re
@@ -21,6 +11,16 @@ from searx.utils import eval_xpath, extract_text, match_language
logger = logger.getChild('bing engine')
+# about
+about = {
+ "website": 'https://www.bing.com',
+ "wikidata_id": 'Q182496',
+ "official_api_documentation": 'https://www.microsoft.com/en-us/bing/apis/bing-web-search-api',
+ "use_official_api": False,
+ "require_api_key": False,
+ "results": 'HTML',
+}
+
# engine dependent config
categories = ['general']
paging = True