diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2020-11-03 08:44:41 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-11-14 17:09:56 +0100 |
commit | c71d214b0c3caeb6a5e29c5ab8087c0cacc83932 (patch) | |
tree | 430f8d134a9abc89821ab3f6aac16c22e6346b76 /Makefile | |
parent | 4f18faebe17805ab89ec74e76d722fa64fc2418c (diff) | |
download | searxng-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-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |