Skip to content

A feature-rich command-line audio/video downloader

[Newgrounds] Fix view count on songs (#1071)

u-spec-pnge99b2d2771f9
diff --git a/yt_dlp/extractor/newgrounds.py b/yt_dlp/extractor/newgrounds.py
index 25b468b7dc..3c49008a0a 100644
--- a/yt_dlp/extractor/newgrounds.py
+++ b/yt_dlp/extractor/newgrounds.py
@@ -136,7 +136,7 @@ class NewgroundsIE(InfoExtractor):
'duration', default=None))
view_count = parse_count(self._html_search_regex(
- r'(?s)<dt>\s*Views\s*</dt>\s*<dd>([\d\.,]+)</dd>', webpage,
+ r'(?s)<dt>\s*(?:Views|Listens)\s*</dt>\s*<dd>([\d\.,]+)</dd>', webpage,
'view count', default=None))
filesize = int_or_none(self._html_search_regex(