Skip to content

Commit c2b36fd

Browse files
authored
Merge pull request #1016 from lonewolf2208/bug-fix
[YouTube] Remove topStandaloneBadge check for view count of stream items
2 parents ff94e9f + 9bdad40 commit c2b36fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamInfoItemExtractor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ public DateWrapper getUploadDate() throws ParsingException {
280280

281281
@Override
282282
public long getViewCount() throws ParsingException {
283-
if (videoInfo.has("topStandaloneBadge") || isPremium() || isPremiere()) {
283+
if (isPremium() || isPremiere()) {
284284
return -1;
285285
}
286286

0 commit comments

Comments
 (0)