diff options
| author | Alexandre Flament <alex@al-f.net> | 2022-07-10 10:57:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-10 10:57:22 +0200 |
| commit | 4de4a213a6fa4b1755a3c8bc55cdf79a0c98875d (patch) | |
| tree | e58e3a31135d30efd3bf9ffed3cf79e5e1d2d874 /searx/engines/google_images.py | |
| parent | 641e39b0df38ec84f77362c070b5974b31c81a6c (diff) | |
| parent | 6face215b83a268962f2fcc0a1b72719d6bff8c7 (diff) | |
Merge pull request #1487 from searxng/google-consent
bypass google consent with ucbcb=1
Diffstat (limited to 'searx/engines/google_images.py')
| -rw-r--r-- | searx/engines/google_images.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/searx/engines/google_images.py b/searx/engines/google_images.py index fc192d62d..b5c7b5302 100644 --- a/searx/engines/google_images.py +++ b/searx/engines/google_images.py @@ -133,14 +133,7 @@ def request(query, params): + '/search' + "?" + urlencode( - { - 'q': query, - 'tbm': "isch", - **lang_info['params'], - 'ie': "utf8", - 'oe': "utf8", - 'num': 30, - } + {'q': query, 'tbm': "isch", **lang_info['params'], 'ie': "utf8", 'oe': "utf8", 'num': 30, 'ucbcb': 1} ) ) |