diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-11-04 17:03:45 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-11-04 17:03:45 +0600 |
commit | a4a6b7b80f18680ee0a8bba50a24c58edd3f2a73 (patch) | |
tree | 4ebc78c38a8df4fce6327e8f1b6a7a21da241de5 /youtube_dl/extractor | |
parent | aebb42d32b608eaffb424e5e7c22f1b68a491e3d (diff) |
[globo] Improve http formats
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/globo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/globo.py b/youtube_dl/extractor/globo.py index dc89e46ac..64622aa5c 100644 --- a/youtube_dl/extractor/globo.py +++ b/youtube_dl/extractor/globo.py @@ -361,8 +361,8 @@ class GloboIE(InfoExtractor): else: formats.append({ 'url': signed_url, - 'format_id': resource_id, - 'height': resource.get('height'), + 'format_id': 'http-%s' % resource_id, + 'height': int_or_none(resource.get('height')), }) self._sort_formats(formats) |