diff options
author | u-spec-png <54671367+u-spec-png@users.noreply.github.com> | 2021-09-25 01:12:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-25 06:42:30 +0530 |
commit | e99b2d2771f9373da346222e6b5a88c6e1890457 (patch) | |
tree | 7c760682622e73d146c89ab7bf37b700fd53d2f3 | |
parent | 1fed2773498c7c85852ac92bbb4400a42697b5bd (diff) |
[Newgrounds] Fix view count on songs (#1071)
Authored by: u-spec-png
-rw-r--r-- | yt_dlp/extractor/newgrounds.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/newgrounds.py b/yt_dlp/extractor/newgrounds.py index 25b468b7d..3c49008a0 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( |