mod: video push

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-02-08 23:22:13 +08:00
parent d2f586a7f1
commit 76545397d4
2 changed files with 11 additions and 20 deletions

View File

@@ -68,11 +68,10 @@ class IdUtils {
if (input == null || input.isEmpty) {
return result;
}
final RegExp bvRegex =
RegExp(r'^bv([0-9A-Za-z]{10})', caseSensitive: false);
final RegExp bvRegex = RegExp(r'bv([0-9A-Za-z]{10})', caseSensitive: false);
String? bvid = bvRegex.firstMatch(input)?.group(1);
late final RegExp avRegex = RegExp(r'^av(\d+)', caseSensitive: false);
late final RegExp avRegex = RegExp(r'av(\d+)', caseSensitive: false);
late String? aid = avRegex.firstMatch(input)?.group(1);
if (bvid != null) {