Merge pull request #331 from Gracecr/patch-1
Allow for large times stamps fixing #330
This commit is contained in:
commit
47bdd2e565
@ -568,7 +568,7 @@ public class YoutubeStreamExtractor extends StreamExtractor {
|
|||||||
if (secondsString.isEmpty() //if nothing was got,
|
if (secondsString.isEmpty() //if nothing was got,
|
||||||
&& minutesString.isEmpty()//treat as unlabelled seconds
|
&& minutesString.isEmpty()//treat as unlabelled seconds
|
||||||
&& hoursString.isEmpty()) {
|
&& hoursString.isEmpty()) {
|
||||||
secondsString = Parser.matchGroup1("t=(\\d{1,3})", timeStamp);
|
secondsString = Parser.matchGroup1("t=(\\d+)", timeStamp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user