1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 18:52:56 +08:00

[golem] Ensure format id is string

This commit is contained in:
Sergey M․ 2017-06-09 00:27:11 +07:00
parent 87f5646937
commit e4d2e76d8e
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -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'),