commit: e2f8bf5888274b95513b430e0f20261120699b4b
parent b76f0e58f750fd420ac3078c7183b2de66da562c
Author: Sergey M․ <dstftw@gmail.com>
Date: Sat, 29 Feb 2020 17:29:30 +0700
[extractor/common] Convert ISM manifest to unicode before processing on python 2 (#24152)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
@@ -2341,7 +2341,7 @@ class InfoExtractor(object):
return []
ism_doc, urlh = res
- return self._parse_ism_formats(ism_doc, urlh.geturl(), ism_id)
+ return self._parse_ism_formats(ism_doc, compat_str(urlh.geturl()), ism_id)
def _parse_ism_formats(self, ism_doc, ism_url, ism_id=None):
"""