aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/utils.py
diff options
context:
space:
mode:
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):