1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-10 06:27:20 +08:00

Update common.py

This commit is contained in:
Sergey M 2019-03-17 09:12:06 +07:00 committed by GitHub
parent 685e961923
commit 28051dd8ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2483,7 +2483,7 @@ class InfoExtractor(object):
# in the wild
f.update({
'height': int_or_none(source_attributes.get('res')),
'format_id': source_attributes.get('label') or source_attributes.get('title'),
'format_id': source_attributes.get('label'),
})
f.update(formats[0])
media_info['formats'].append(f)