[cleanup] Fix invalid info dict fields (#17007)

Authored by: seproDev
This commit is contained in:
sepro
2026-06-21 22:48:47 +00:00
committed by GitHub
parent da99b21b2d
commit 98036ccd4f
21 changed files with 52 additions and 43 deletions
+3 -3
View File
@@ -125,20 +125,20 @@ class IchinanaLiveClipIE(InfoExtractor):
formats = []
if view_data.get('videoURL'):
formats.append({
'id': 'video',
'format_id': 'video',
'url': view_data['videoURL'],
'quality': -1,
})
if view_data.get('transcodeURL'):
formats.append({
'id': 'transcode',
'format_id': 'transcode',
'url': view_data['transcodeURL'],
'quality': -1,
})
if view_data.get('srcVideoURL'):
# highest quality
formats.append({
'id': 'srcVideo',
'format_id': 'srcVideo',
'url': view_data['srcVideoURL'],
'quality': 1,
})