mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-22 11:02:35 +01:00
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:
parent
66e88829dd
commit
c880047c4f
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user