feat: pugv (#927)

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
dom
2025-08-03 15:25:29 +08:00
committed by GitHub
parent cf835e330b
commit bd3d6cf34c
33 changed files with 596 additions and 421 deletions

View File

@@ -0,0 +1,26 @@
import 'package:PiliPlus/http/api.dart';
enum VideoType {
ugc(
type: 3,
api: Api.ugcUrl,
),
pgc(
type: 4,
api: Api.pgcUrl,
),
pugv(
type: 10,
replyType: 33,
api: Api.pugvUrl,
);
final int type;
final String api;
final int replyType;
const VideoType({
required this.api,
required this.type,
this.replyType = 1,
});
}