aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/common.py
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2021-12-23 21:15:48 -0500
committerGitHub <noreply@github.com>2021-12-24 07:45:48 +0530
commit774a46c53dc75eae68d11abdc40b7fe7e1e828ca (patch)
tree351f90a68c0b6c920664daa46e1453dbac69be2c /yt_dlp/extractor/common.py
parentc8b80b9643708b5210f0ccb313c15bd576886f7d (diff)
downloadhypervideo-pre-774a46c53dc75eae68d11abdc40b7fe7e1e828ca.tar.lz
hypervideo-pre-774a46c53dc75eae68d11abdc40b7fe7e1e828ca.tar.xz
hypervideo-pre-774a46c53dc75eae68d11abdc40b7fe7e1e828ca.zip
[npr] Make SMIL extraction non-fatal (#2099)
Closes #1934 Authored by: r5d
Diffstat (limited to 'yt_dlp/extractor/common.py')
-rw-r--r--yt_dlp/extractor/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py
index e15763953..6cd2551bf 100644
--- a/yt_dlp/extractor/common.py
+++ b/yt_dlp/extractor/common.py
@@ -2332,7 +2332,7 @@ class InfoExtractor(object):
if smil is False:
assert not fatal
- return []
+ return [], {}
namespace = self._parse_smil_namespace(smil)