fix: video triple

This commit is contained in:
bggRGjQaUbCoE
2024-11-03 15:07:09 +08:00
parent 7d0056464a
commit a119050944

View File

@@ -457,10 +457,17 @@ class VideoHttp {
static Future oneThree({required String bvid}) async { static Future oneThree({required String bvid}) async {
var res = await Request().post( var res = await Request().post(
Api.oneThree, Api.oneThree,
queryParameters: { data: {
'bvid': bvid, 'aid': IdUtils.bv2av(bvid),
'eab_x': 2,
'ramval': 0,
'source': 'web_normal',
'ga': 1,
'csrf': await Request.getCsrf(), 'csrf': await Request.getCsrf(),
}, },
options: Options(
contentType: Headers.formUrlEncodedContentType,
),
); );
if (res.data['code'] == 0) { if (res.data['code'] == 0) {
return {'status': true, 'data': res.data['data']}; return {'status': true, 'data': res.data['data']};