diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-01-13 11:31:25 +0100 |
|---|---|---|
| committer | Alexandre Flament <alex@al-f.net> | 2021-01-14 20:57:17 +0100 |
| commit | a4dcfa025c690dc4c824b2261242748a331a97e8 (patch) | |
| tree | 2085c05e8ba319411a4b729c589e660d973a5c7c /searx/engines/soundcloud.py | |
| parent | 5a511f0d620038b8e94c581bcfd3c987082b9414 (diff) | |
[enh] engines: add about variable
move meta information from comment to the about variable
so the preferences, the documentation can show these information
Diffstat (limited to 'searx/engines/soundcloud.py')
| -rw-r--r-- | searx/engines/soundcloud.py | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/searx/engines/soundcloud.py b/searx/engines/soundcloud.py index 84ff21a88..9e414746f 100644 --- a/searx/engines/soundcloud.py +++ b/searx/engines/soundcloud.py @@ -1,13 +1,6 @@ +# SPDX-License-Identifier: AGPL-3.0-or-later """ Soundcloud (Music) - - @website https://soundcloud.com - @provide-api yes (https://developers.soundcloud.com/) - - @using-api yes - @results JSON - @stable yes - @parse url, title, content, publishedDate, embedded """ import re @@ -18,6 +11,15 @@ from urllib.parse import quote_plus, urlencode from searx import logger from searx.poolrequests import get as http_get +# about +about = { + "website": 'https://soundcloud.com', + "wikidata_id": 'Q568769', + "official_api_documentation": 'https://developers.soundcloud.com/', + "use_official_api": True, + "require_api_key": False, + "results": 'JSON', +} # engine dependent config categories = ['music'] |