summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjazzzooo <38244149+jazzzooo@users.noreply.github.com>2023-09-16 06:23:12 -0700
committerMarkus Heiser <markus.heiser@darmarIT.de>2023-09-16 18:40:26 +0200
commit7dfcc3386e6787fe2267ae667fefff51cc4286a6 (patch)
tree6b75f772757d47e095cc83176bee8485f6622f34
parent89fbac576348ad05076d523b2dfb06b8724649ad (diff)
downloadsearxng-7dfcc3386e6787fe2267ae667fefff51cc4286a6.tar.gz
searxng-7dfcc3386e6787fe2267ae667fefff51cc4286a6.zip
[fix] tagesschau videos
-rw-r--r--searx/engines/tagesschau.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/engines/tagesschau.py b/searx/engines/tagesschau.py
index 4a36747c8..e50be90d0 100644
--- a/searx/engines/tagesschau.py
+++ b/searx/engines/tagesschau.py
@@ -83,7 +83,8 @@ def _story(item):
def _video(item):
- video_url = item['streams']['h264s']
+ streams = item['streams']
+ video_url = streams.get('h264s') or streams.get('h264m') or streams.get('h264l') or streams.get('h264xl')
title = item['title']
if "_vapp.mxf" in title: