mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-22 10:06:23 +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
@@ -748,12 +748,12 @@ abstract class PiliScheme {
|
||||
return false;
|
||||
case 'video':
|
||||
// if (kDebugMode) debugPrint('投稿');
|
||||
final Map<String, dynamic> map = IdUtils.matchAvorBv(input: path);
|
||||
if (map.isNotEmpty) {
|
||||
final res = IdUtils.matchAvorBv(input: path);
|
||||
if (res.isNotEmpty) {
|
||||
final queryParameters = uri.queryParameters;
|
||||
videoPush(
|
||||
map['AV'],
|
||||
map['BV'],
|
||||
res.av,
|
||||
res.bv,
|
||||
off: off,
|
||||
progress: queryParameters['dm_progress'],
|
||||
part: queryParameters['p'],
|
||||
@@ -910,11 +910,11 @@ abstract class PiliScheme {
|
||||
launchURL();
|
||||
return false;
|
||||
default:
|
||||
Map map = IdUtils.matchAvorBv(input: area?.split('?').first);
|
||||
if (map.isNotEmpty) {
|
||||
final res = IdUtils.matchAvorBv(input: area?.split('?').first);
|
||||
if (res.isNotEmpty) {
|
||||
videoPush(
|
||||
map['AV'],
|
||||
map['BV'],
|
||||
res.av,
|
||||
res.bv,
|
||||
off: off,
|
||||
);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user