projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a6e1a0
)
[extractor/common] Skip malformed ISM manifest XMLs while extracting ISM formats...
author
Sergey M․
<dstftw@gmail.com>
Tue, 7 Apr 2020 15:54:34 +0000
(22:54 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 7 Apr 2020 15:55:59 +0000
(22:55 +0700)
youtube_dl/extractor/common.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index eaae5e484f99311ccf018301f773c87f9c8cf544..c51a3a07db693f23f9b53620353c3b4bc59957f0 100644
(file)
--- a/
youtube_dl/extractor/common.py
+++ b/
youtube_dl/extractor/common.py
@@
-2340,6
+2340,8
@@
class InfoExtractor(object):
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)