diff options
author | Sergey M․ <dstftw@gmail.com> | 2020-02-29 17:29:30 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2020-02-29 17:29:30 +0700 |
commit | e2f8bf5888274b95513b430e0f20261120699b4b (patch) | |
tree | dba5555ad1f2b650553f4534b145864f08ac5dcb /youtube_dl/extractor | |
parent | b76f0e58f750fd420ac3078c7183b2de66da562c (diff) |
[extractor/common] Convert ISM manifest to unicode before processing on python 2 (#24152)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/common.py | 2 |
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): """ |