summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-11-03 08:44:41 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-11-14 17:09:56 +0100
commitc71d214b0c3caeb6a5e29c5ab8087c0cacc83932 (patch)
tree430f8d134a9abc89821ab3f6aac16c22e6346b76 /Makefile
parent4f18faebe17805ab89ec74e76d722fa64fc2418c (diff)
downloadsearxng-c71d214b0c3caeb6a5e29c5ab8087c0cacc83932.tar.gz
searxng-c71d214b0c3caeb6a5e29c5ab8087c0cacc83932.zip
[refactor] deviantart - improve results and clean up source code
Devian's request and response forms has been changed. - fixed title - fixed time_range_dict to 'popular-*-***' - use image from <noscript> if exists - drop obsolete "http to https, remove domain sharding" - use query URL https://www.deviantart.com/search/deviations?page=5&q=foo - add searx/engines/deviantart.py to pylint check (test.pylint) Error pattern:: There DEBUG:searx:result: invalid title: {'url': 'https://www.deviantart.com/ ... Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7bd0d8662..29faaeefa 100644
--- a/Makefile
+++ b/Makefile
@@ -217,6 +217,7 @@ test.pylint: pyenvinstall
searx/preferences.py \
searx/testing.py \
searx/engines/gigablast.py \
+ searx/engines/deviantart.py \
)
# ignored rules:
@@ -236,7 +237,7 @@ test.sh:
test.pep8: pyenvinstall
@echo "TEST pycodestyle (formerly pep8)"
- $(Q)$(PY_ENV_ACT); pycodestyle --exclude='searx/static, searx/languages.py, searx/engines/gigablast.py' \
+ $(Q)$(PY_ENV_ACT); pycodestyle --exclude='searx/static, searx/languages.py, searx/engines/gigablast.py, searx/engines/deviantart.py' \
--max-line-length=120 --ignore "E117,E252,E402,E722,E741,W503,W504,W605" searx tests
test.unit: pyenvinstall