]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[extractor/common] Convert ISM manifest to unicode before processing on python 2...
authorSergey M․ <dstftw@gmail.com>
Sat, 29 Feb 2020 10:29:30 +0000 (17:29 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 29 Feb 2020 10:29:30 +0000 (17:29 +0700)
youtube_dl/extractor/common.py

index eaae5e484f99311ccf018301f773c87f9c8cf544..ab7d473d049c4aaf95e9e98b82b5cb29cb7bb60d 100644 (file)
@@ -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):
         """