您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Library for AniSkip API
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.gf.qytechs.cn/scripts/457460/1133908/AniSkip.js
Library for AniSkip API
const aniskip = new AniSkip({
userId: 'uuid',
providerName: ''
});
userId
: AniSkip user UUID | or can be generated from uuidgeneratorproviderName
: Website's name | Default to website's domain nameRetrieves a skip time for the specified anime episode.
aniskip.getSkipTimes(malId, episodeNumber, episodeLength)
.then(data => {
console.log(data)
})
.catch(response => {
console.error(response)
})
malId
: MAL IDepisodeNumber
: Episode number of the animeepisodeLength
: Length of the episode in seconds with max 3 digit after the decimal point{
"found": true,
"results": [
{
"interval": {
"startTime": 1321.01,
"endTime": 1401.16
},
"skipType": "ed",
"skipId": "a6ab121c-ec19-43c8-ae00-xxxxxxxxxxxx",
"episodeLength": 1417.16
},
],
"message": "Successfully found skip times",
"statusCode": 200
}
In case of nothing found 404
is returned
Creates a skip time for the specified anime episode.
aniskip.createSkipTime(malId, episodeNumber, data)
.then(data => {
console.log(data)
})
.catch(response => {
console.error(response)
})
Params:
malId
: MAL idepisodeNumber
: Episode number of the animedata
: {
skipType: "$skipType",
startTime $startTime,
endTime: $endTime,
episodeLength: $episodeLength
}
$skipType
: Type of skip time:
op
: Openinged
: Endingmixed-op
: Mixed Openingmixed-ed
: Mixed Endingrecap
: Recap$startTime
: Start time of the skip in seconds with max 3 digit after the decimal point$endTime
: End time of the skip in seconds with max 3 digit after the decimal point$episodeLength
: Length of the episode in seconds with max 3 digit after the decimal point{
"message": "Successfully created a skip time",
"skipId": "64392afc-5f80-4137-8443-xxxxxxxxxxxx",
"statusCode": 201
}
Vote on a skip time.
aniskip.vote(voteType, skipId)
.then(data => {
console.log(data)
})
.catch(response => {
console.error(response)
})
voteType
: upvote
| downvote
skipId
: UUID of the Skip Time{
"message": "Successfully vote the skip time",
"statusCode": 201
}
400
: Parameter Error
404
: Not found
429
: Rate Limited
500
: Internal Server Error
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址