move maps_args from results to filter where it is used

This commit is contained in:
jacr13 2022-06-15 23:11:55 +02:00
parent aed068ecef
commit 98fde77f7c
2 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,8 @@ from app.request import VALID_PARAMS, MAPS_URL
from app.utils.misc import get_abs_url, read_config_bool
from app.utils.results import *
MAPS_ARGS = ['q', 'daddr']
minimal_mode_sections = ['Top stories', 'Images', 'People also ask']
unsupported_g_pages = [
'support.google.com',

View File

@ -18,7 +18,6 @@ LOGO_URL = GOOG_IMG + '_desk'
BLANK_B64 = ('data:image/png;base64,'
'iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAQAAAAnOwc2AAAAD0lEQVR42mNkw'
'AIYh7IgAAVVAAuInjI5AAAAAElFTkSuQmCC')
MAPS_ARGS = ['q', 'daddr']
# Ad keywords
BLACKLIST = [