summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2022-02-19 14:03:23 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2022-02-19 14:33:56 +0100
commit4a28b593c2656e690ce7f0c46dd5a53a0c55b971 (patch)
tree145619b8b601633e4d25ba0797b7ae4c2b9b354c /src
parente9a227c6069aba68a40c39cd165b10ae00d40fa9 (diff)
[fix] google images engine: Fix 'scrap_img_by_id' function
The 'scrap_img_by_id' function didn't return any longer anything useful. This fix allows the google images engine to present the full source image instead of only the thumbnail. The function scrap_img_by_id() is rpelaced by a fully rewrite to parse image URLs by a regular expression. The new function parse_urls_img_from_js(dom) returns a mapping of data-id to image URL. Closes: https://github.com/searxng/searxng/issues/909 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions