diff options
Diffstat (limited to 'searx/engines')
| -rw-r--r-- | searx/engines/__init__.py | 1 | ||||
| -rw-r--r-- | searx/engines/google.py | 1 | ||||
| -rw-r--r-- | searx/engines/google_images.py | 1 | ||||
| -rw-r--r-- | searx/engines/google_scholar.py | 1 | ||||
| -rw-r--r-- | searx/engines/google_videos.py | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/searx/engines/__init__.py b/searx/engines/__init__.py index da2b2037e..0bea37ca8 100644 --- a/searx/engines/__init__.py +++ b/searx/engines/__init__.py @@ -45,6 +45,7 @@ ENGINE_DEFAULT_ARGS = { "using_tor_proxy": False, "send_accept_language_header": False, "tokens": [], + "max_page": 0, } # set automatically when an engine does not have any tab category DEFAULT_CATEGORY = 'other' diff --git a/searx/engines/google.py b/searx/engines/google.py index 51c6acbf2..90b58e270 100644 --- a/searx/engines/google.py +++ b/searx/engines/google.py @@ -48,6 +48,7 @@ about = { # engine dependent config categories = ['general', 'web'] paging = True +max_page = 50 time_range_support = True safesearch = True diff --git a/searx/engines/google_images.py b/searx/engines/google_images.py index 1f9759c96..d2d33d408 100644 --- a/searx/engines/google_images.py +++ b/searx/engines/google_images.py @@ -47,6 +47,7 @@ about = { # engine dependent config categories = ['images', 'web'] paging = True +max_page = 50 time_range_support = True safesearch = True send_accept_language_header = True diff --git a/searx/engines/google_scholar.py b/searx/engines/google_scholar.py index 6f33d1e1a..8d11c956f 100644 --- a/searx/engines/google_scholar.py +++ b/searx/engines/google_scholar.py @@ -51,6 +51,7 @@ about = { # engine dependent config categories = ['science', 'scientific publications'] paging = True +max_page = 50 language_support = True time_range_support = True safesearch = False diff --git a/searx/engines/google_videos.py b/searx/engines/google_videos.py index f922e1f70..0b1a51115 100644 --- a/searx/engines/google_videos.py +++ b/searx/engines/google_videos.py @@ -57,6 +57,7 @@ about = { categories = ['videos', 'web'] paging = True +max_page = 50 language_support = True time_range_support = True safesearch = True |