Fix view count bug

This commit is contained in:
Mauricio Colli 2017-05-27 17:08:16 -03:00
parent 122c464bb4
commit 9767b4a86d
1 changed files with 1 additions and 4 deletions

View File

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