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

Authored by: u-spec-png
pull/1078/head
u-spec-png 3 years ago committed by GitHub
parent 1fed277349
commit e99b2d2771
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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(

Loading…
Cancel
Save