1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-06-25 22:53:20 +00:00

Merge pull request #331 from Gracecr/patch-1

Allow for large times stamps fixing #330
This commit is contained in:
Christian Schabesberger 2016-07-21 07:15:13 +02:00 committed by GitHub
commit 47bdd2e565

View File

@ -568,7 +568,7 @@ public class YoutubeStreamExtractor extends StreamExtractor {
if (secondsString.isEmpty() //if nothing was got,
&& minutesString.isEmpty()//treat as unlabelled seconds
&& hoursString.isEmpty()) {
secondsString = Parser.matchGroup1("t=(\\d{1,3})", timeStamp);
secondsString = Parser.matchGroup1("t=(\\d+)", timeStamp);
}
}