BILIBILI SUBTITLES
This module is for getting bilibili subtitles via a certain av number and its page number.
【这是一个根据 av 号和分页来获取 bilibili 弹幕的包】
INSTALLATION
$ npm install bilibili-subtitles
USAGE
Using function bilibili.get(av, [page], [callback])
.
var bilibili = ; bilibili;
If subtitles fetched successfully, subtitiles
will be an array which contains elements that each is like:
text: '现在还有3人' seconds: 14261600341797 mode: 1 modeText: 'roll' fontSize: 25 color: 'ffffff' timestamp: 1398596421 pool: 0 poolText: 'normal' senderId: '8df339d5' subtitlesId: 446706589
text
stands for subtitles text;seconds
is its seconds which it appears;mode
is subtitles mode which explained inmodeText
;fontSize
is its size;color
is its color;timestamp
is the time when it submitted;pool
is the subtitles pool which explained inpoolText
;senderId
is the user who send this subtitles;subtitlesId
is this subtitles id.
CONTRIBUTE
You're welcome to pull requests!
「雖然我覺得不怎麼可能有人會關注我」