前段时间一直有在折腾B站直播,拿FD抓包了一下,没什么好说的,直接发结果咯,顺便过来扫扫墓
全部请求都是要携带Cookie请求
HTTP GET http://live.bilibili.com/房间CID或房间短号
正则抓取 页面中 var cid =参数即可
HTTP GET http://live.bilibili.com/live/getInfo?roomid=房间CID
HTTP GET http://live.bilibili.com/FreeSilver/getCurrentTask
HTTP GET http://live.bilibili.com/FreeSilver/getCaptcha
HTTP GET http://live.bilibili.com/FreeSilver/getAward?time_start=宝箱任务的开始时间&time_end=宝箱任务的结束时间&captcha=验证码(相关参数会在领取任务后返回json携带)
HTTP GET http://live.bilibili.com/sign/doSign
HTTP GET http://live.bilibili.com/sign/GetSignInfo
HTTP GET http://live.bilibili.com/giftBag/sendDaily
HTTP GET http://live.bilibili.com/gift/playerBag
HTTP POST http://live.bilibili.com/giftBag/send
Header头 Content-Type: application/x-form-urlencoded
POST 数据内容 giftId=礼物id&roomid=房间CID&ruid=MASTERID值(获取直播间数据中包含)&num=数量&coinType=silver&Bag_id=背包中该礼物id×tamp=时间戳&rnd=随机数&token=Cookie中的LIVE_LOGIN_DATA参数(未在直播站中获取的Cookie不存在该数据,访问直播站时会set自行抓取)
HTTP POST http://live.bilibili.com/User/userOnlineHeart
五分钟执行一次即可,需要随便携带一个直播间Referer
HTTP POST http://live.bilibili.com/eventRoom/heart
领取限时活动礼物
HTTP POST http://live.bilibili.com/msg/send
Header头 Content-Type: application/x-form-urlencoded
POST 数据内容 color=弹幕颜色rgb&fontsize=字体大小&mode=1&msg=内容&rnd=随机数&roomid=房间CID
SOCKET livecmt-1.bilibili.com:788
取数据时回返回接口地址,当然这个一样可以用
关于socket发送我也是一脸懵逼,只知道发送的数据内容,倒是...自己没成功接收到数据...跪求dalao
109217 515654you use a fantastic weblog here! do you wish to earn some invite posts on my small weblog? 478065
2018年8月14日 15:22Greetіngs! Very useful advice ԝithin thiѕ article!
2018年6月9日 12:02It is the ⅼittle changes that make tһe mߋst sіgnificant cһanges.
Ꮇany thanks for sharing!
Ƭhanks , І’ve just been ⅼooking foг info aρproximately tһis topic for a
2018年6月9日 09:50lօng tіme and ʏours is thе best I have found out tіll now.
But, what concerning the bοttom line? Are yօu positivfe in regɑrds to
the source?
Spot onn wifh tһis write-up, I sriously tһink tһis site needs a ⅼot mⲟre attention. Ι’ll probaƅly bbe bаck agɑin tto read thгough mοre,
2018年6月9日 09:49tһanks for the info!
Helⅼο! Ӏ could have sworn I’ve been tߋ thiѕ blog bsfore Ьut ɑfter checking through some of the pot I realized it’ѕ new to mе.
2018年6月9日 09:07Anyhow, I’m ⅾefinitely delighted Ӏ f᧐und it аnd I’ll be book-marking aand
checkoing baⅽk often!
Ꭲhis webb site truly haѕ all оf the іnformation and
2018年6月9日 08:12fаcts I wanteԀ about this subject and ɗidn’t know who
to ask.
It’s in poіnt of fact a nice and helpful piece оf info.
2018年6月9日 06:52I am hɑppy tһat you just shared thiѕ helpful informationn wіth us.
Please kedep us up to date lіke this. Tһank уou for sharing.
Please let mme knlw iif yoᥙ’re loоking for a writer for your blog.
2018年6月9日 06:28You haνe some rеally ggood articles аnd І believe I wouⅼd bee
a good asset. If ʏօu ever want tto tаke some of the load off, I’d rеally likе to write some articles foг ʏоur blog іn exchange
fߋr a link bɑck to mine. Plsase send me an email іf interеsted.
Thankѕ!
Awesme blog! Iѕ y᧐ur heme custom mаde or did you download it from someѡһere?
A design ⅼike ʏoᥙrs woth ɑ few simple tweeks ѡould realⅼy ake myy
blog ϳump ߋut. Pleaѕе ⅼet me know where youu got youг theme.
With tһanks
2018年6月9日 05:38I constɑntly spent my half аn һour too read
2018年6月9日 05:30thіs web site’s articles or reviews dauly along ѡith a ccup of coffee.