summaryrefslogtreecommitdiff
path: root/searx/engines/youtube_api.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2022-02-13 16:12:46 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2022-02-18 19:00:49 +0100
commit7352c6bc79dacd501d3059e4e3995e9acf4ce456 (patch)
tree42b89f82a598914e18df0d69acde1a45adabc7b4 /searx/engines/youtube_api.py
parentf5e8cfade200fb7b7b2aace255d90c72dcc5bc37 (diff)
downloadsearxng-7352c6bc79dacd501d3059e4e3995e9acf4ce456.tar.gz
searxng-7352c6bc79dacd501d3059e4e3995e9acf4ce456.zip
[mod] templates: rename field for <iframe> URL to iframe_src
Rename result field data_src to iframe_src Suggested-by: @dalf https://github.com/searxng/searxng/pull/882#issuecomment-1037997402 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/engines/youtube_api.py')
-rw-r--r--searx/engines/youtube_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/youtube_api.py b/searx/engines/youtube_api.py
index 6c46ca90c..1b332a9f7 100644
--- a/searx/engines/youtube_api.py
+++ b/searx/engines/youtube_api.py
@@ -78,7 +78,7 @@ def response(resp):
'content': content,
'template': 'videos.html',
'publishedDate': publishedDate,
- 'data_src': "https://www.youtube-nocookie.com/embed/" + videoid,
+ 'iframe_src': "https://www.youtube-nocookie.com/embed/" + videoid,
'thumbnail': thumbnail,
}
)