searxng/searx
Markus Heiser 0d9d68d96c [mod] engine deviantart: calculate img_src from thumbnail_src (WIP)
To get images with higher resolutions, the img_src can be calculated from the
thumbnail_src.

WIP:

The calculated img_src is not valid for all images, some calculated URIs will
end in a `Forbidden` response.  I can reproduce it for example with a
`!deviantart dali` query: The URI that is calculated for the image with the
title `Dali - Pencil` results in a `Forbidden` response.

    DEBUG   searx.engines.deviantart      : Dali - Pencil: /v1/fit/w_300,h_592 --> /v1/fit/w_648,h_1280

    https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/d5f45947-64b5-4168-bbdc-a5b763e6a10d/d1kvvlh-78d4e8a5-de18-4077-98e1-e282002805a0.jpg/v1/fit/w_648,h_1280,q_70,strp/dali___pencil_by_ckoffler_d1kvvlh-300w.jpg?token=....

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-14 16:18:16 +01:00
..
answerers [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
data [upd] searx/data/external_bangs.json 2022-01-12 19:37:13 +01:00
engines [mod] engine deviantart: calculate img_src from thumbnail_src (WIP) 2022-01-14 16:18:16 +01:00
metrics [enh] settings.yml: implement general.enable_metrics 2022-01-05 19:03:04 +01:00
network [mod] upgrade httpx 0.21.2 2022-01-05 18:46:00 +01:00
plugins [refactor] add type hints & remove Setting._post_init 2022-01-06 14:21:14 +01:00
search [enh] settings.yml: implement general.enable_metrics 2022-01-05 19:03:04 +01:00
shared [hotfix] interim fix to get docker-build of CI without issues 2022-01-12 09:31:12 +01:00
static [build] /static 2022-01-10 17:42:13 +01:00
templates [themes] add comma before "but" in new sentence 2022-01-12 08:26:23 +01:00
translations [translations] update from Weblate 2022-01-14 07:17:46 +00:00
__init__.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
autocomplete.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
exceptions.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
external_bang.py [fix] external bangs: don't overwrite Bangs in data trie 2022-01-12 19:37:13 +01:00
external_urls.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
flaskfix.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
languages.py Update searx.data - update_languages.py 2022-01-01 18:37:35 +01:00
locales.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
preferences.py [fix] make BooleanChoices only set cookies that vary from the default 2022-01-13 19:43:49 +01:00
query.py [fix] remove broken ? search operator 2022-01-06 14:10:58 +01:00
results.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
settings.yml Merge pull request #686 from return42/lib_redis 2022-01-11 19:55:14 +01:00
settings_defaults.py Merge pull request #686 from return42/lib_redis 2022-01-11 19:55:14 +01:00
settings_loader.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
unixthreadname.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
utils.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
version.py [format.python] initial formatting of the python code 2021-12-27 09:26:22 +01:00
webadapter.py [fix] disabling all engines in a category makes the bang search in general 2022-01-03 20:23:46 +01:00
webapp.py [fix] filtered_engines were not correctly evaluating validate_token() 2022-01-09 15:53:58 +01:00
webutils.py [enh] change categories_as_tabs from a list to a dict 2022-01-05 11:03:44 +01:00