From: Sergey M․ Date: Sat, 29 Feb 2020 10:29:30 +0000 (+0700) Subject: [extractor/common] Convert ISM manifest to unicode before processing on python 2... X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=e2f8bf5888274b95513b430e0f20261120699b4b;p=youtube-dl [extractor/common] Convert ISM manifest to unicode before processing on python 2 (#24152) --- diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index eaae5e484..ab7d473d0 100644 --- 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): """