This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
[extractor/common] Skip malformed ISM manifest XMLs while extracting ISM formats (
#24667
)
master
Sergey M․
5 years ago
parent
6a6e1a0cd8
commit
13b08034b5
No known key found for this signature in database
GPG Key ID:
2C393E0F18A9236D
1 changed files
with
2 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
youtube_dl/extractor/common.py
+ 2
- 0
youtube_dl/extractor/common.py
View File
@ -2340,6 +2340,8 @@ class InfoExtractor(object):
if
res
is
False
:
if
res
is
False
:
return
[
]
return
[
]
ism_doc
,
urlh
=
res
ism_doc
,
urlh
=
res
if
ism_doc
is
None
:
return
[
]
return
self
.
_parse_ism_formats
(
ism_doc
,
urlh
.
geturl
(
)
,
ism_id
)
return
self
.
_parse_ism_formats
(
ism_doc
,
urlh
.
geturl
(
)
,
ism_id
)
Write
Preview
Loading…
Cancel
Save