From 4be6deb0a1bc4f5750f331774161be9ce7b61442 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9on=20Tiek=C3=B6tter?= Date: Fri, 7 Jan 2022 13:01:37 +0100 Subject: [PATCH] [fix] ccengine engine Change domain to api.openverse.engineering --- searx/engines/ccengine.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/searx/engines/ccengine.py b/searx/engines/ccengine.py index 93ac30c86..6462e72ab 100644 --- a/searx/engines/ccengine.py +++ b/searx/engines/ccengine.py @@ -10,9 +10,9 @@ from urllib.parse import urlencode about = { - "website": 'https://search.creativecommons.org/', + "website": 'https://wordpress.org/openverse/', "wikidata_id": None, - "official_api_documentation": 'https://api.creativecommons.engineering/v1/', + "official_api_documentation": 'https://api.openverse.engineering/v1/', "use_official_api": True, "require_api_key": False, "results": 'JSON', @@ -23,7 +23,7 @@ categories = ['images'] paging = True nb_per_page = 20 -base_url = 'https://api.creativecommons.engineering/v1/images?' +base_url = 'https://api.openverse.engineering/v1/images?' search_string = '&page={page}&page_size={nb_per_page}&format=json&{query}'