mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
tweak (#1325)
* tweak * opt: async * tweak * opt: PopularSeries tile * tweak * opt: sc * mod: more account type * tweak * opt: qrcode * tweak * partial revert: opt: sc * fix * fix * mod: window enqueue
This commit is contained in:
committed by
GitHub
parent
67c25bd130
commit
4ae3bd2845
@@ -44,10 +44,10 @@ abstract class UrlUtils {
|
||||
String pathSegment,
|
||||
String redirectUrl,
|
||||
) async {
|
||||
final Map matchRes = IdUtils.matchAvorBv(input: pathSegment);
|
||||
final matchRes = IdUtils.matchAvorBv(input: pathSegment);
|
||||
if (matchRes.isNotEmpty) {
|
||||
int? aid = matchRes['AV'];
|
||||
String? bvid = matchRes['BV'];
|
||||
final aid = matchRes.av;
|
||||
String? bvid = matchRes.bv;
|
||||
bvid ??= IdUtils.av2bv(aid!);
|
||||
final int? cid = await SearchHttp.ab2c(aid: aid, bvid: bvid);
|
||||
if (cid != null) {
|
||||
|
||||
Reference in New Issue
Block a user