mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-11 04:27:47 +08:00
tweaks (#2032)
* fix: 1080p * opt: import export * opt: downloader * opt: skeleton * opt: parseColor * tweak * opt: sb seek * opt: rxn
This commit is contained in:
committed by
GitHub
parent
b7b40c557e
commit
f5dbfcec79
@@ -210,6 +210,8 @@ abstract final class VideoHttp {
|
||||
String? language,
|
||||
bool voiceBalance = false,
|
||||
}) async {
|
||||
final dmImgStr = Utils.base64EncodeRandomString(16, 64);
|
||||
final dmCoverImgStr = Utils.base64EncodeRandomString(32, 128);
|
||||
final params = await WbiSign.makSign({
|
||||
'avid': ?avid,
|
||||
'bvid': ?bvid,
|
||||
@@ -227,6 +229,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,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user