summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2020-02-29 17:29:30 +0700
committerSergey M․ <[email protected]>2020-02-29 17:29:30 +0700
commite2f8bf5888274b95513b430e0f20261120699b4b (patch)
treedba5555ad1f2b650553f4534b145864f08ac5dcb
parentb76f0e58f750fd420ac3078c7183b2de66da562c (diff)
downloadyoutube-dl-e2f8bf5888274b95513b430e0f20261120699b4b.tar.gz
youtube-dl-e2f8bf5888274b95513b430e0f20261120699b4b.zip
[extractor/common] Convert ISM manifest to unicode before processing on python 2 (#24152)
-rw-r--r--youtube_dl/extractor/common.py2
1 files changed, 1 insertions, 1 deletions
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):
"""