mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-23 02:26:52 +08:00
committed by
GitHub
parent
a46bde68f5
commit
c090cae1a1
@@ -35,10 +35,8 @@ class LiveHttp {
|
||||
'origin': 'https://live.bilibili.com',
|
||||
'referer': 'https://live.bilibili.com/',
|
||||
'user-agent': Request.headerUa(type: 'pc'),
|
||||
if (gaiaVtoken == null) 'cookie': 'x-bili-gaia-vtoken=$gaiaVtoken'
|
||||
},
|
||||
extra: gaiaVtoken == null
|
||||
? null
|
||||
: {'cookie': 'x-bili-gaia-vtoken=$gaiaVtoken'},
|
||||
),
|
||||
);
|
||||
if (res.data['code'] == 0) {
|
||||
|
||||
Reference in New Issue
Block a user