diff options
author | Bnyro <bnyro@tutanota.com> | 2024-02-20 10:51:58 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-02-25 16:22:37 +0100 |
commit | e76ab1a4b3a99b0ec2ef90c3aadc92ffbf6889b1 (patch) | |
tree | be5443686fbe1ab6a6fa95e55a12a189230ba92e /searx/engines/google_images.py | |
parent | b683aa63fb3e1689c28bd4b762b4ad962e8e232c (diff) | |
download | searxng-e76ab1a4b3a99b0ec2ef90c3aadc92ffbf6889b1.tar.gz searxng-e76ab1a4b3a99b0ec2ef90c3aadc92ffbf6889b1.zip |
[refactor] images: add resolution, image format and filesize fields
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/engines/google_images.py')
-rw-r--r-- | searx/engines/google_images.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/google_images.py b/searx/engines/google_images.py index d2d33d408..31211b9b6 100644 --- a/searx/engines/google_images.py +++ b/searx/engines/google_images.py @@ -103,7 +103,7 @@ def response(resp): 'title': item["result"]["page_title"], 'content': item["text_in_grid"]["snippet"], 'source': item["result"]["site_title"], - 'img_format': f'{item["original_image"]["width"]} x {item["original_image"]["height"]}', + 'resolution': f'{item["original_image"]["width"]} x {item["original_image"]["height"]}', 'img_src': item["original_image"]["url"], 'thumbnail_src': item["thumbnail"]["url"], 'template': 'images.html', |