mirror of
https://github.com/l1ving/youtube-dl
synced 2026-06-05 07:43:32 +08:00
[tv2hu] using local variable
This commit is contained in:
@@ -51,7 +51,7 @@ class TV2HUIE(InfoExtractor):
|
||||
for i in range(len(json_data['bitrates']['mp4'])):
|
||||
quality = json_data.get('mp4Labels')[i]
|
||||
|
||||
if json_data['mp4Labels'][i].lower() == 'auto':
|
||||
if quality.lower() == 'auto':
|
||||
continue
|
||||
|
||||
formats.append({
|
||||
|
||||
Reference in New Issue
Block a user