projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aebb42d
)
[globo] Improve http formats
author
Sergey M․
<dstftw@gmail.com>
Wed, 4 Nov 2015 11:03:45 +0000
(17:03 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 4 Nov 2015 11:03:45 +0000
(17:03 +0600)
youtube_dl/extractor/globo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/globo.py
b/youtube_dl/extractor/globo.py
index dc89e46ac237f99982ffd09aadcfbf9162f20d7d..64622aa5cbeba7c17a9f4552665bdcb11e647539 100644
(file)
--- 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)