|
@ -2184,6 +2184,9 @@ class InfoExtractor(object): |
|
|
f = parse_content_type(source_attributes.get('type')) |
|
|
f = parse_content_type(source_attributes.get('type')) |
|
|
is_plain_url, formats = _media_formats(src, media_type, f) |
|
|
is_plain_url, formats = _media_formats(src, media_type, f) |
|
|
if is_plain_url: |
|
|
if is_plain_url: |
|
|
|
|
|
# res attribute is not standard but seen several times |
|
|
|
|
|
# in the wild |
|
|
|
|
|
f['height'] = int_or_none(source_attributes.get('res')) |
|
|
f.update(formats[0]) |
|
|
f.update(formats[0]) |
|
|
media_info['formats'].append(f) |
|
|
media_info['formats'].append(f) |
|
|
else: |
|
|
else: |
|
|