feat: ai translate

Closes #1285

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-09-20 11:46:38 +08:00
parent 9b171e04be
commit 0745d83e4b
10 changed files with 155 additions and 20 deletions

View File

@@ -196,6 +196,7 @@ class VideoHttp {
dynamic seasonId,
required bool tryLook,
required VideoType videoType,
String? language,
}) async {
final params = await WbiSign.makSign({
'avid': ?avid,
@@ -214,6 +215,7 @@ class VideoHttp {
'web_location': 1315873,
// 免登录查看1080p
if (tryLook) 'try_look': 1,
'cur_language': ?language,
});
try {