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

View File

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