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/plugins/hostname_replace.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/plugins/hostname_replace.py')
-rw-r--r-- | searx/plugins/hostname_replace.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/plugins/hostname_replace.py b/searx/plugins/hostname_replace.py index 51bd003b1..039aadb91 100644 --- a/searx/plugins/hostname_replace.py +++ b/searx/plugins/hostname_replace.py @@ -17,7 +17,7 @@ replacements = {re.compile(p): r for (p, r) in settings[plugin_id].items()} if p logger = logger.getChild(plugin_id) parsed = 'parsed_url' -_url_fields = ['data_src', 'audio_src'] +_url_fields = ['iframe_src', 'audio_src'] def on_result(request, search, result): |