]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/golem.py
debian/copyright: use spaces rather than tabs to start continuation lines.
[youtubedl] / youtube_dl / extractor / golem.py
index 53714f47f1a0a8cd1abb8aab0ec09cdbd283d51b..47a068e742bc0b1a8ae92f55da4834ea628005ae 100644 (file)
@@ -2,8 +2,11 @@
 from __future__ import unicode_literals
 
 from .common import InfoExtractor
-from ..utils import (
+from ..compat import (
+    compat_str,
     compat_urlparse,
+)
+from ..utils import (
     determine_ext,
 )
 
@@ -44,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'),