From b7f74fbe42f54ebd60aeeed77312bcb4c4d63f76 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Tue, 25 Jan 2022 16:37:18 +0100 Subject: [PATCH] [mod] tineye - add some documentation Signed-off-by: Markus Heiser --- docs/src/searx.engines.tineye.rst | 9 +++++++++ searx/engines/tineye.py | 14 +++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 docs/src/searx.engines.tineye.rst diff --git a/docs/src/searx.engines.tineye.rst b/docs/src/searx.engines.tineye.rst new file mode 100644 index 000000000..79e24cfb8 --- /dev/null +++ b/docs/src/searx.engines.tineye.rst @@ -0,0 +1,9 @@ +.. _tineye engine: + +====== +Tineye +====== + +.. automodule:: searx.engines.tineye + :members: + diff --git a/searx/engines/tineye.py b/searx/engines/tineye.py index e8e45fac4..302aea326 100644 --- a/searx/engines/tineye.py +++ b/searx/engines/tineye.py @@ -1,6 +1,17 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # lint: pylint -"""Tineye - Reverse search images +"""This engine implements *Tineye - reverse image search* + +Using TinEye, you can search by image or perform what we call a reverse image +search. You can do that by uploading an image or searching by URL. You can also +simply drag and drop your images to start your search. TinEye constantly crawls +the web and adds images to its index. Today, the TinEye index is over 50.2 +billion images `[tineye.com] `_. + +.. hint:: + + This SearXNG engine only supports *'searching by URL'* and it does not use + the official API `[api.tineye.com] `_. """ @@ -11,6 +22,7 @@ from datetime import datetime about = { "website": 'https://tineye.com', "wikidata_id": 'Q2382535', + "official_api_documentation": 'https://api.tineye.com/python/docs/', "use_official_api": False, "require_api_key": False, "results": 'JSON',