summaryrefslogtreecommitdiff
path: root/searx/engines/google_videos.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/google_videos.py')
-rw-r--r--searx/engines/google_videos.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/engines/google_videos.py b/searx/engines/google_videos.py
index 4a032ef0f..c8fc934af 100644
--- a/searx/engines/google_videos.py
+++ b/searx/engines/google_videos.py
@@ -34,6 +34,7 @@ from searx.engines.google import (
detect_google_sorry,
)
from searx.enginelib.traits import EngineTraits
+from searx.utils import get_embeded_stream_url
if TYPE_CHECKING:
import logging
@@ -125,6 +126,7 @@ def response(resp):
'content': content,
'author': pub_info,
'thumbnail': thumbnail,
+ 'iframe_src': get_embeded_stream_url(url),
'template': 'videos.html',
}
)