summaryrefslogtreecommitdiff
path: root/searx/engines/google_images.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2021-08-31 09:08:59 +0000
committerGitHub <noreply@github.com>2021-08-31 09:08:59 +0000
commit1e942435be5f8dbf30be7296466ca674b69b7c70 (patch)
tree423e1a594ac884970a9d68c3520a2d9052ed11a8 /searx/engines/google_images.py
parent449458922722c1679de2b6dce902440e94a6b383 (diff)
parenta1adc46fc886aeb41be152583dc4bbfdae7706d4 (diff)
Merge pull request #273 from searxng/dependabot/pip/master/pylint-2.10.2
Bump pylint from 2.9.6 to 2.10.2
Diffstat (limited to 'searx/engines/google_images.py')
-rw-r--r--searx/engines/google_images.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/google_images.py b/searx/engines/google_images.py
index edfc3df9a..f4fbbaa42 100644
--- a/searx/engines/google_images.py
+++ b/searx/engines/google_images.py
@@ -66,7 +66,7 @@ filter_mapping = {
def scrap_out_thumbs(dom):
"""Scrap out thumbnail data from <script> tags.
"""
- ret_val = dict()
+ ret_val = {}
for script in eval_xpath(dom, '//script[contains(., "_setImgSrc(")]'):
_script = script.text
# _setImgSrc('0','data:image\/jpeg;base64,\/9j\/4AAQSkZJR ....');