Skip to content

Commit

Permalink
[golem] Ensure format id is string
Browse files Browse the repository at this point in the history
  • Loading branch information
dstftw committed Jun 8, 2017
1 parent 87f5646 commit e4d2e76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion youtube_dl/extractor/golem.py
Expand Up @@ -3,6 +3,7 @@

from .common import InfoExtractor
from ..compat import (
compat_str,
compat_urlparse,
)
from ..utils import (
Expand Down Expand Up @@ -46,7 +47,7 @@ def _real_extract(self, url):
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'),
Expand Down

0 comments on commit e4d2e76

Please sign in to comment.