Fix #59
This commit is contained in:
parent
13b4463f73
commit
f8eaa278b3
|
@ -26,9 +26,13 @@ class PlayerSource {
|
||||||
if (_sts != null) {
|
if (_sts != null) {
|
||||||
return _sts;
|
return _sts;
|
||||||
}
|
}
|
||||||
var val = RegExp(r'(?<=invalid namespace.*?;[\w+\s]+=)\d+')
|
|
||||||
.stringMatch(_root)
|
var val = RegExp(r'(?<=invalid namespace.*?;[\w\s]+=)\d+')
|
||||||
?.nullIfWhitespace;
|
.stringMatch(_root)
|
||||||
|
?.nullIfWhitespace ??
|
||||||
|
RegExp(r'(?<=this\.signatureTimestamp=)\d+"')
|
||||||
|
.stringMatch(_root)
|
||||||
|
?.nullIfWhitespace;
|
||||||
if (val == null) {
|
if (val == null) {
|
||||||
throw FatalFailureException('Could not find sts in player source.');
|
throw FatalFailureException('Could not find sts in player source.');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue