如何送出從遠(yuǎn)古穿越回來(lái)的禮物

首先,得是PC端,打開(kāi)Chrome瀏覽器,按F12后,然后出現(xiàn)了一個(gè)奇怪的界面

這里就是實(shí)現(xiàn)奇怪的事情的地方。舉個(gè)例子,打開(kāi) 喜歡主播的直播間?,然后按鍵盤(pán)上的 F12

并且把上面的TAG切換到 console 然后把這段代碼放進(jìn)去
let?csrf?=?/.*bili_jct=(.*?);.*/i.exec(document.cookie)[1];
let?biz_id?=?__NEPTUNE_IS_MY_WAIFU__.baseInfoRes.data.room_id;
let?ruid?=?__NEPTUNE_IS_MY_WAIFU__.baseInfoRes.data.uid;
let?uid?=?__LIVE_USER_LOGIN_STATUS__.uid;
let?[url,?method]?=?["https://api.live.bilibili.com/gift/v2/Live/send";,?"POST"];
let?dataBuild?=?(gift_id,?gift_num,?coin_type?=?false)?=>?({? uid,?gift_id,?ruid,?send_ruid:?0,?gift_num,coin_type:?coin_type???'gold'?:?'silver',?bag_id:?0,?platform:?'pc',?biz_code:?'live',?biz_id,?rnd:?Math.ceil(new?Date().valueOf()?/?1000),?storm_beat_id:?0,?metadata:?'',?price:?0,?csrf_token:?csrf,?csrf,?visit_id:?''});
let?send?=?async?(gift_id,?gift_num,?coin_type)?=>?(await?new?Promise(complete?=>?{
$.ajax({?url,?method,?data:?dataBuild(gift_id,?gift_num,?coin_type),?xhrFields:?{?withCredentials:?true?}?})}))
然后就可以開(kāi)始玩惹:
比如發(fā)送 233 這個(gè)禮物?

講解一下怎么用的
send(禮物ID , 數(shù)量 , 是否是金瓜子)
禮物ID我這兩天發(fā)型有趣的東西有
7 號(hào) 666 和 8 號(hào) 233,大家注意有金瓜子不要亂試哦
因?yàn)樾‰娨曇苍?20以?xún)?nèi)的禮物ID里面w