mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 16:48:16 +08:00
feat: pgc skip
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -229,11 +229,13 @@ class VideoHttp {
|
||||
switch (videoType) {
|
||||
case VideoType.ugc:
|
||||
data = PlayUrlModel.fromJson(res.data['data']);
|
||||
|
||||
case VideoType.pugv:
|
||||
var result = res.data['data'];
|
||||
data = PlayUrlModel.fromJson(result)
|
||||
..lastPlayTime =
|
||||
result?['play_view_business_info']?['user_status']?['watch_progress']?['current_watch_progress'];
|
||||
|
||||
case VideoType.pgc:
|
||||
var result = res.data['result'];
|
||||
data = PlayUrlModel.fromJson(result['video_info'])
|
||||
|
||||
Reference in New Issue
Block a user