* fix: 1080p

* opt: import export

* opt: downloader

* opt: skeleton

* opt: parseColor

* tweak

* opt: sb seek

* opt: rxn
This commit is contained in:
My-Responsitories
2026-05-08 12:50:43 +00:00
committed by dom
parent 07843a5e77
commit b7bd516aa7
28 changed files with 253 additions and 370 deletions

View File

@@ -171,6 +171,8 @@ 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,
@@ -188,6 +190,10 @@ abstract final class VideoHttp {
'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]}',
'cur_language': ?language,
});