mirror of
https://github.com/lyz05/danmaku.git
synced 2026-04-14 02:20:05 +08:00
hotfix: 修复爱奇艺短视频无法获取弹幕的问题
This commit is contained in:
@@ -75,7 +75,7 @@ function Iqiyi() {
|
||||
const font = extract(xml, "font");
|
||||
|
||||
// 控制步长,减小内存占用
|
||||
const step = Math.floor(danmaku.length*length/10000);
|
||||
const step = Math.ceil(danmaku.length*length/10000);
|
||||
// console.log(step)
|
||||
for (let i = 0; i < danmaku.length; i+=step) {
|
||||
// console.log(bulletInfo)
|
||||
|
||||
Reference in New Issue
Block a user