Fix age restricted videos

This commit is contained in:
Hexah 2020-06-30 15:00:45 +02:00
parent 6fb757e726
commit 9327e9307e
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class PlayerSource {
if (_sts != null) {
return _sts;
}
var val = RegExp(r'(?<=invalid namespace.*?;\w+\s*=)\d+')
var val = RegExp(r'(?<=invalid namespace.*?;[\w+\s]+=)\d+')
.stringMatch(_root)
?.nullIfWhitespace;
if (val == null) {