projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87f5646
)
[golem] Ensure format id is string
author
Sergey M․
<dstftw@gmail.com>
Thu, 8 Jun 2017 17:27:11 +0000
(
00:27
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 8 Jun 2017 17:27:11 +0000
(
00:27
+0700)
youtube_dl/extractor/golem.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/golem.py
b/youtube_dl/extractor/golem.py
index 2bfb9904022c6a3830901baa2ee380b6f4f14714..47a068e742bc0b1a8ae92f55da4834ea628005ae 100644
(file)
--- a/
youtube_dl/extractor/golem.py
+++ b/
youtube_dl/extractor/golem.py
@@
-3,6
+3,7
@@
from __future__ import unicode_literals
from .common import InfoExtractor
from ..compat import (
+ compat_str,
compat_urlparse,
)
from ..utils import (
@@
-46,7
+47,7
@@
class GolemIE(InfoExtractor):
continue
formats.append({
- 'format_id':
e.tag
,
+ 'format_id':
compat_str(e.tag)
,
'url': compat_urlparse.urljoin(self._PREFIX, url),
'height': self._int(e.get('height'), 'height'),
'width': self._int(e.get('width'), 'width'),