From 52eba0c7210c53230fb574176d4bf1af771bf0b4 Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Wed, 8 Jul 2020 00:46:03 +0200 Subject: [fix] pep8 --- searx/engines/google_images.py | 42 ++++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 20 deletions(-) (limited to 'searx/engines/google_images.py') diff --git a/searx/engines/google_images.py b/searx/engines/google_images.py index 75264eb9c..6ec242b53 100644 --- a/searx/engines/google_images.py +++ b/searx/engines/google_images.py @@ -33,15 +33,15 @@ from searx.engines.xpath import extract_text # pylint: disable=unused-import from searx.engines.google import ( - supported_languages_url - , _fetch_supported_languages + supported_languages_url, + _fetch_supported_languages, ) # pylint: enable=unused-import from searx.engines.google import ( - get_lang_country - , google_domains - , time_range_dict + get_lang_country, + google_domains, + time_range_dict, ) logger = logger.getChild('google images') @@ -56,11 +56,12 @@ time_range_support = True safesearch = True filter_mapping = { - 0 : 'images', - 1 : 'active', - 2 : 'active' + 0: 'images', + 1: 'active', + 2: 'active' } + def scrap_out_thumbs(dom): """Scrap out thumbnail data from