Allows for large times stamps fixing #330

@scde submitted #330, along with a couple proposed fixes.
This is the second proposed fix, which allows for arbitrarily large
timestamps. All credit to @scde for this.
This commit is contained in:
Gracecr 2016-07-14 16:50:57 -04:00 committed by GitHub
parent 66e88829dd
commit c880047c4f
1 changed files with 1 additions and 1 deletions

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);
}
}