From b7d578ae8041658fe6f088eb337f42238c25e2f5 Mon Sep 17 00:00:00 2001 From: potato Date: Tue, 6 Sep 2016 16:36:04 +0200 Subject: [PATCH] [enh] engine header comments --- searx/engines/dictzone.py | 11 +++++++++++ searx/engines/translated.py | 10 ++++++++++ 2 files changed, 21 insertions(+) diff --git a/searx/engines/dictzone.py b/searx/engines/dictzone.py index b58d7ec62..2c2ec3abc 100644 --- a/searx/engines/dictzone.py +++ b/searx/engines/dictzone.py @@ -1,3 +1,14 @@ +""" + Dictzone + + @website https://dictzone.com/ + @provide-api no + @using-api no + @results HTML (using search portal) + @stable no (HTML can change) + @parse url, title, content +""" + import re from urlparse import urljoin from lxml import html diff --git a/searx/engines/translated.py b/searx/engines/translated.py index 3be9d4adf..1b75e4f4e 100644 --- a/searx/engines/translated.py +++ b/searx/engines/translated.py @@ -1,3 +1,13 @@ +""" + MyMemory Translated + + @website https://mymemory.translated.net/ + @provide-api yes (https://mymemory.translated.net/doc/spec.php) + @using-api yes + @results JSON + @stable yes + @parse url, title, content +""" import re from urlparse import urljoin from lxml import html