kopia lustrzana https://github.com/TeamNewPipe/NewPipeExtractor
commit
8a9ae32e6b
|
@ -279,6 +279,8 @@ public class YoutubeStreamExtractor extends StreamExtractor {
|
|||
if (views == null) throw new ParsingException("Could not get view count");
|
||||
}
|
||||
|
||||
if (views.toLowerCase().contains("no views")) return 0;
|
||||
|
||||
return Long.parseLong(Utils.removeNonDigitCharacters(views));
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue