mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
opt: view pgc from dynamic
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -318,7 +318,8 @@ class PiliScheme {
|
||||
return;
|
||||
} else if (host == 'b23.tv') {
|
||||
final String fullPath = 'https://$host$path';
|
||||
final String redirectUrl = await UrlUtils.parseRedirectUrl(fullPath);
|
||||
final String redirectUrl =
|
||||
(await UrlUtils.parseRedirectUrl(fullPath)) ?? fullPath;
|
||||
final String pathSegment = Uri.parse(redirectUrl).path;
|
||||
final String lastPathSegment = pathSegment.split('/').last;
|
||||
final RegExp avRegex = RegExp(r'^[aA][vV]\d+', caseSensitive: false);
|
||||
|
||||
Reference in New Issue
Block a user