aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/utils.py
diff options
context:
space:
mode:
authorRichard Gibson <richard.gibson@gmail.com>2022-11-06 12:23:16 -0500
committerGitHub <noreply@github.com>2022-11-06 22:53:16 +0530
commit7053aa3a48dbdfe8f11b12fa0f442a9bf8b136b1 (patch)
treecff24bc9bb84d9f3c0f62481ca3e5b274edda20a /yt_dlp/utils.py
parent049565df2e24d9611a9ffdd033c80a6dafdabbe0 (diff)
downloadhypervideo-pre-7053aa3a48dbdfe8f11b12fa0f442a9bf8b136b1.tar.lz
hypervideo-pre-7053aa3a48dbdfe8f11b12fa0f442a9bf8b136b1.tar.xz
hypervideo-pre-7053aa3a48dbdfe8f11b12fa0f442a9bf8b136b1.zip
[extractor/epoch] Support videos without data-trailer (#5387)
Closes #5359 Authored by: gibson042, pukkandan
Diffstat (limited to 'yt_dlp/utils.py')
-rw-r--r--yt_dlp/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yt_dlp/utils.py b/yt_dlp/utils.py
index ef4cc904c..cfc7ba63a 100644
--- a/yt_dlp/utils.py
+++ b/yt_dlp/utils.py
@@ -524,6 +524,7 @@ class HTMLAttributeParser(html.parser.HTMLParser):
def handle_starttag(self, tag, attrs):
self.attrs = dict(attrs)
+ raise compat_HTMLParseError('done')
class HTMLListAttrsParser(html.parser.HTMLParser):