X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/46113edab215c2211a604c06245c16d5d4e57dcf..8dad65a5e825b7bf2b2b16eb05114f0192e42ed3:/youtube_dl/extractor/golem.py diff --git a/youtube_dl/extractor/golem.py b/youtube_dl/extractor/golem.py index 53714f4..47a068e 100644 --- a/youtube_dl/extractor/golem.py +++ b/youtube_dl/extractor/golem.py @@ -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'),