[DrTuber] Corrected video data for-in loop - fifth requested fixes for PR #13322
This commit is contained in:
parent
ab83335789
commit
1137b21a36
@ -52,9 +52,7 @@ class DrTuberIE(InfoExtractor):
|
|||||||
})
|
})
|
||||||
|
|
||||||
formats = []
|
formats = []
|
||||||
for video_key, video_value in video_data.items():
|
for video_url_key, video_url_value in video_data['files'].items():
|
||||||
if video_key == 'files':
|
|
||||||
for video_url_key, video_url_value in video_data[video_key].items():
|
|
||||||
if video_url_value:
|
if video_url_value:
|
||||||
formats.append({
|
formats.append({
|
||||||
'format_id': video_url_key.upper(),
|
'format_id': video_url_key.upper(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user