Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-09 11:46:59 +08:00
parent a79b226b79
commit 0292517947
2 changed files with 8 additions and 8 deletions

View File

@@ -171,8 +171,6 @@ abstract final class VideoHttp {
required VideoType videoType,
String? language,
}) async {
final dmImgStr = Utils.base64EncodeRandomString(16, 64);
final dmCoverImgStr = Utils.base64EncodeRandomString(32, 128);
final params = await WbiSign.makSign({
'avid': ?avid,
'bvid': ?bvid,
@@ -189,11 +187,13 @@ abstract final class VideoHttp {
'isGaiaAvoided': true,
'web_location': 1315873,
// 免登录查看1080p
if (tryLook) 'try_look': 1,
'dm_img_list': '[]',
'dm_img_str': dmImgStr,
'dm_cover_img_str': dmCoverImgStr,
'dm_img_inter': '{"ds":[],"wh":[0,0,0],"of":[0,0,0]}',
if (tryLook) ...{
'try_look': 1,
'dm_img_list': '[]',
'dm_img_str': Utils.base64EncodeRandomString(16, 64),
'dm_cover_img_str': Utils.base64EncodeRandomString(32, 128),
'dm_img_inter': '{"ds":[],"wh":[0,0,0],"of":[0,0,0]}',
},
'cur_language': ?language,
});

View File

@@ -70,7 +70,7 @@ class MineController extends CommonDataController<FavFolderData, FavFolderData>
},
),
(
size: 22,
size: 21,
icon: Icons.watch_later_outlined,
title: '稍后再看',
onTap: () {