move maps_args from results to filter where it is used
This commit is contained in:
parent
aed068ecef
commit
98fde77f7c
|
@ -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.misc import get_abs_url, read_config_bool
|
||||||
from app.utils.results import *
|
from app.utils.results import *
|
||||||
|
|
||||||
|
MAPS_ARGS = ['q', 'daddr']
|
||||||
|
|
||||||
minimal_mode_sections = ['Top stories', 'Images', 'People also ask']
|
minimal_mode_sections = ['Top stories', 'Images', 'People also ask']
|
||||||
unsupported_g_pages = [
|
unsupported_g_pages = [
|
||||||
'support.google.com',
|
'support.google.com',
|
||||||
|
|
|
@ -18,7 +18,6 @@ LOGO_URL = GOOG_IMG + '_desk'
|
||||||
BLANK_B64 = ('data:image/png;base64,'
|
BLANK_B64 = ('data:image/png;base64,'
|
||||||
'iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAQAAAAnOwc2AAAAD0lEQVR42mNkw'
|
'iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAQAAAAnOwc2AAAAD0lEQVR42mNkw'
|
||||||
'AIYh7IgAAVVAAuInjI5AAAAAElFTkSuQmCC')
|
'AIYh7IgAAVVAAuInjI5AAAAAElFTkSuQmCC')
|
||||||
MAPS_ARGS = ['q', 'daddr']
|
|
||||||
|
|
||||||
# Ad keywords
|
# Ad keywords
|
||||||
BLACKLIST = [
|
BLACKLIST = [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user