summaryrefslogtreecommitdiff
path: root/searx/engines/yacy.py
diff options
context:
space:
mode:
authordalf <alex@al-f.net>2014-12-07 16:37:56 +0100
committerdalf <alex@al-f.net>2014-12-07 16:37:56 +0100
commit7c13d630e4531630ce3c392a7d60752715742291 (patch)
tree332019feae5a215d2d54528308792560794d7aa5 /searx/engines/yacy.py
parentffcec383b7355c6ca8b60da8579a43019d7d7e6b (diff)
downloadsearxng-7c13d630e4531630ce3c392a7d60752715742291.tar.gz
searxng-7c13d630e4531630ce3c392a7d60752715742291.zip
[fix] pep8 : engines (errors E121, E127, E128 and E501 still exist)
Diffstat (limited to 'searx/engines/yacy.py')
-rw-r--r--searx/engines/yacy.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/searx/engines/yacy.py b/searx/engines/yacy.py
index 2345b24f3..3ee0e91c7 100644
--- a/searx/engines/yacy.py
+++ b/searx/engines/yacy.py
@@ -1,8 +1,9 @@
## Yacy (Web, Images, Videos, Music, Files)
-#
+#
# @website http://yacy.net
-# @provide-api yes (http://www.yacy-websuche.de/wiki/index.php/Dev:APIyacysearch)
-#
+# @provide-api yes
+# (http://www.yacy-websuche.de/wiki/index.php/Dev:APIyacysearch)
+#
# @using-api yes
# @results JSON
# @stable yes
@@ -16,7 +17,7 @@ from urllib import urlencode
from dateutil import parser
# engine dependent config
-categories = ['general', 'images'] #TODO , 'music', 'videos', 'files'
+categories = ['general', 'images'] # TODO , 'music', 'videos', 'files'
paging = True
language_support = True
number_of_results = 5
@@ -28,7 +29,7 @@ search_url = '/yacysearch.json?{query}&startRecord={offset}&maximumRecords={limi
# yacy specific type-definitions
search_types = {'general': 'text',
'images': 'image',
- 'files': 'app',
+ 'files': 'app',
'music': 'audio',
'videos': 'video'}