更新源
This commit is contained in:
parent
9f7fa62a00
commit
306e888fa4
@ -1 +1 @@
|
|||||||
3.9.48beta10
|
3.9.48beta11
|
||||||
34
js/我的哔哩.js
34
js/我的哔哩.js
@ -167,14 +167,8 @@ var rule = {
|
|||||||
min = duration.split(':')[0];
|
min = duration.split(':')[0];
|
||||||
sec = duration.split(':')[1];
|
sec = duration.split(':')[1];
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (duration >= 3600) {
|
min = Math.floor(duration / 60);
|
||||||
let rSAH = duration % 3600;
|
sec = duration % 60;
|
||||||
min = Math.floor(rSAH / 60);
|
|
||||||
sec = rSAH % 60;
|
|
||||||
} else {
|
|
||||||
min = Math.floor(duration / 60);
|
|
||||||
sec = duration % 60;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (isNaN(parseInt(duration))) {
|
if (isNaN(parseInt(duration))) {
|
||||||
return '无效输入';
|
return '无效输入';
|
||||||
@ -260,14 +254,8 @@ var rule = {
|
|||||||
min = duration.split(':')[0];
|
min = duration.split(':')[0];
|
||||||
sec = duration.split(':')[1];
|
sec = duration.split(':')[1];
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (duration >= 3600) {
|
min = Math.floor(duration / 60);
|
||||||
let rSAH = duration % 3600;
|
sec = duration % 60;
|
||||||
min = Math.floor(rSAH / 60);
|
|
||||||
sec = rSAH % 60;
|
|
||||||
} else {
|
|
||||||
min = Math.floor(duration / 60);
|
|
||||||
sec = duration % 60;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (isNaN(parseInt(duration))) {
|
if (isNaN(parseInt(duration))) {
|
||||||
return '无效输入';
|
return '无效输入';
|
||||||
@ -400,7 +388,7 @@ var rule = {
|
|||||||
let playurls = [];
|
let playurls = [];
|
||||||
ja.forEach(function(tmpJo) {
|
ja.forEach(function(tmpJo) {
|
||||||
let cid = tmpJo.cid;
|
let cid = tmpJo.cid;
|
||||||
let part = tmpJo.part.replace('#', '﹟').replace('$', '﹩');
|
let part = tmpJo.part.replaceAll('#', '﹟').replaceAll('$', '﹩');
|
||||||
playurls.push(
|
playurls.push(
|
||||||
part + '$' + aid + '_' + cid
|
part + '$' + aid + '_' + cid
|
||||||
)
|
)
|
||||||
@ -410,7 +398,7 @@ var rule = {
|
|||||||
playurls = [];
|
playurls = [];
|
||||||
relatedData.forEach(function(rd) {
|
relatedData.forEach(function(rd) {
|
||||||
let ccid = rd.cid;
|
let ccid = rd.cid;
|
||||||
let title = rd.title.replace('#', '﹟').replace('$', '﹩');
|
let title = rd.title.replaceAll('#', '﹟').replaceAll('$', '﹩');
|
||||||
let aaid = rd.aid;
|
let aaid = rd.aid;
|
||||||
playurls.push(
|
playurls.push(
|
||||||
title + '$' + aaid + '_' + ccid
|
title + '$' + aaid + '_' + ccid
|
||||||
@ -434,14 +422,8 @@ var rule = {
|
|||||||
min = duration.split(':')[0];
|
min = duration.split(':')[0];
|
||||||
sec = duration.split(':')[1];
|
sec = duration.split(':')[1];
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (duration >= 3600) {
|
min = Math.floor(duration / 60);
|
||||||
let rSAH = duration % 3600;
|
sec = duration % 60;
|
||||||
min = Math.floor(rSAH / 60);
|
|
||||||
sec = rSAH % 60;
|
|
||||||
} else {
|
|
||||||
min = Math.floor(duration / 60);
|
|
||||||
sec = duration % 60;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (isNaN(parseInt(duration))) {
|
if (isNaN(parseInt(duration))) {
|
||||||
return '无效输入';
|
return '无效输入';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user