[globo] Improve http formats
[youtube-dl] / youtube_dl / extractor / globo.py
index dc89e46ac237f99982ffd09aadcfbf9162f20d7d..64622aa5cbeba7c17a9f4552665bdcb11e647539 100644 (file)
@@ -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)