summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--searx/engines/google_videos.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/google_videos.py b/searx/engines/google_videos.py
index 0b1a5111..33435844 100644
--- a/searx/engines/google_videos.py
+++ b/searx/engines/google_videos.py
@@ -87,7 +87,7 @@ def request(query, params):
if params['time_range'] in time_range_dict:
query_url += '&' + urlencode({'tbs': 'qdr:' + time_range_dict[params['time_range']]})
- if params['safesearch']:
+ if 'safesearch' in params:
query_url += '&' + urlencode({'safe': filter_mapping[params['safesearch']]})
params['url'] = query_url