Skip to content

Commit

Permalink
[extractor/common] Convert ISM manifest to unicode before processing …
Browse files Browse the repository at this point in the history
…on python 2 (#24152)
  • Loading branch information
dstftw committed Feb 29, 2020
1 parent b76f0e5 commit e2f8bf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -2341,7 +2341,7 @@ def _extract_ism_formats(self, ism_url, video_id, ism_id=None, note=None, errnot
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):
"""
Expand Down

0 comments on commit e2f8bf5

Please sign in to comment.