diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2022-02-13 16:12:46 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2022-02-18 19:00:49 +0100 |
commit | 7352c6bc79dacd501d3059e4e3995e9acf4ce456 (patch) | |
tree | 42b89f82a598914e18df0d69acde1a45adabc7b4 /searx/engines/mixcloud.py | |
parent | f5e8cfade200fb7b7b2aace255d90c72dcc5bc37 (diff) | |
download | searxng-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/mixcloud.py')
-rw-r--r-- | searx/engines/mixcloud.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/engines/mixcloud.py b/searx/engines/mixcloud.py index 41d39b753..af5126304 100644 --- a/searx/engines/mixcloud.py +++ b/searx/engines/mixcloud.py @@ -24,7 +24,7 @@ paging = True # search-url url = 'https://api.mixcloud.com/' search_url = url + 'search/?{query}&type=cloudcast&limit=10&offset={offset}' -data_src = "https://www.mixcloud.com/widget/iframe/?feed={url}" +iframe_src = "https://www.mixcloud.com/widget/iframe/?feed={url}" # do search-request def request(query, params): @@ -53,7 +53,7 @@ def response(resp): { 'url': url, 'title': title, - 'data_src': data_src.format(url=url), + 'iframe_src': iframe_src.format(url=url), 'publishedDate': publishedDate, 'content': content, } |