2
0
mirror of https://github.com/TeamNewPipe/NewPipeExtractor synced 2025-08-31 06:15:37 +00:00

Fix view count bug

This commit is contained in:
Mauricio Colli
2017-05-27 17:08:16 -03:00
parent 122c464bb4
commit 9767b4a86d

View File

@@ -117,10 +117,7 @@ public class YoutubeStreamInfoItemExtractor implements StreamInfoItemExtractor {
}
}
output = Parser.matchGroup1("([0-9,\\. ]*)", input)
.replace(" ", "")
.replace(".", "")
.replace(",", "");
output = input.replaceAll("[^0-9]+", "");
try {
return Long.parseLong(output);