Update revivetube.py

This commit is contained in:
TheErrorExe 2025-01-29 17:27:20 +01:00 committed by GitHub
parent 5e09881fb8
commit 3318327b36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -216,7 +216,7 @@ def index_wiitv():
"thumbnail": f"/thumbnail/{entry['videoId']}", "thumbnail": f"/thumbnail/{entry['videoId']}",
"viewCount": entry.get("viewCountText", "Unbekannt"), "viewCount": entry.get("viewCountText", "Unbekannt"),
"published": entry.get("publishedText", "Unbekannt"), "published": entry.get("publishedText", "Unbekannt"),
"duration": helper.format_duration(entry.get("lengthSeconds", 0)) # Video Dauer formatiert "duration": helper.format_duration(entry.get("lengthSeconds", 0))
} }
for entry in data for entry in data
if entry.get("videoId") if entry.get("videoId")