Skip to content

Commit

Permalink
[extractor/common] Skip malformed ISM manifest XMLs while extracting …
Browse files Browse the repository at this point in the history
…ISM formats (#24667)
  • Loading branch information
dstftw authored and bbepis committed May 14, 2020
1 parent efa610f commit a4f8a60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions youtube_dl/extractor/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -2341,6 +2341,8 @@ def _extract_ism_formats(self, ism_url, video_id, ism_id=None, note=None, errnot
if res is False:
return []
ism_doc, urlh = res
if ism_doc is None:
return []

return self._parse_ism_formats(ism_doc, urlh.geturl(), ism_id)

Expand Down

0 comments on commit a4f8a60

Please sign in to comment.