Skip to content

Commit

Permalink
加几个视频
Browse files Browse the repository at this point in the history
  • Loading branch information
hanhan258 committed Oct 5, 2023
1 parent 7a375af commit 520af23
Show file tree
Hide file tree
Showing 5 changed files with 108 additions and 9 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# 1.2.8
* 加了几个视频
# 1.2.7
* 随机百度贴吧、沙雕新闻、访问、图片、图链
# 1.2.6
Expand Down
2 changes: 1 addition & 1 deletion apps/photo.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export class photo extends plugin {
}
forwardMsgs.push('如果图片裂开了,请复制链接到浏览器打开')
}
let dec = e.msg
let dec = encode
return this.reply(await recallSendForwardMsg(e, forwardMsgs, false, dec))
} else {
e.reply('查询失败,可能接口失效力~,请联系憨憨捏~')
Expand Down
92 changes: 87 additions & 5 deletions apps/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ export class voice extends plugin {
priority: 6,
rule: [
{
reg: '^#?抖音变装$',
fnc: 'dybz'
reg: '^#?(抖音|快手)变装$',
fnc: 'dyksbz'
},
{
reg: '^#?随机裙子$',
Expand All @@ -37,14 +37,43 @@ export class voice extends plugin {
{
reg: '^#?玉足$',
fnc: 'yz'
},
{
reg: '^#?(黑|白)丝视频$',
fnc: 'hbssp'
},
// {
// reg: '^#?原神cos$',
// fnc: 'yscos'
// },
{
reg: '^#?慢摇视频$',
fnc: 'mysp'
},
{
reg: '^#?cos系列$',
fnc: 'cosxl'
},
{
reg: '^#?纯情女高$',
fnc: 'cqng'
},
{
reg: '^#?吊带系列$',
fnc: 'ddxl'
}
]
})
}

// 抖音变装
async dybz (e) {
let urls = 'http://api.yujn.cn/api/bianzhuang.php'
// 抖音快手变装
async dyksbz (e) {
let urls
if (e.msg.includes('抖音')) {
urls = 'http://api.yujn.cn/api/bianzhuang.php'
} else if (e.msg.includes('快手')) {
urls = 'http://api.yujn.cn/api/ksbianzhuang.php?type=video'
}
let resp = await fetch(urls)
console.log(resp.url)
await e.reply(segment.video(resp.url))
Expand Down Expand Up @@ -98,4 +127,57 @@ export class voice extends plugin {
console.log(resp.url)
await e.reply(segment.video(resp.url))
}

// 黑白丝
async hbssp (e) {
let urls
if (e.msg.includes('黑丝视频')) {
urls = 'http://api.liangx.link/API/hssp.php'
} else if (e.msg.includes('白丝视频')) {
urls = 'http://api.liangx.link/API/bssp.php'
}
let resp = await fetch(urls)
console.log(resp.url)
await e.reply(segment.video(resp.url))
}

// // 原神Cos
// async yscos (e) {
// let urls = 'http://api.cmvip.cn/API/ysxl.php'
// let resp = await fetch(urls)
// console.log(resp.url)
// await e.reply(segment.video(resp.url))
// }

// 慢摇视频
async mysp (e) {
let urls = 'http://api.yujn.cn/api/manyao.php?type=video'
let resp = await fetch(urls)
console.log(resp.url)
await e.reply(segment.video(resp.url))
}

// Cos系列
async cosxl (e) {
let urls = 'http://api.yujn.cn/api/COS.php?type=video'
let resp = await fetch(urls)
console.log(resp.url)
await e.reply(segment.video(resp.url))
}

// 纯情女高
async cqng (e) {
let urls = 'http://api.yujn.cn/api/nvgao.php?type=video'
let resp = await fetch(urls)
console.log(resp.url)
await e.reply(segment.video(resp.url))
}

// 吊带系列
async ddxl (e) {
let urls = 'http://api.yujn.cn/api/diaodai.php?type=video'
let resp = await fetch(urls)
console.log(resp.url)
await e.reply(segment.video(resp.url))
}
}
19 changes: 17 additions & 2 deletions config/system/help_system.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ export const helpList = [
title: '甜妹',
desc: '甜妹视频'
}, {
title: '抖音变装',
desc: '抖音变装视频'
title: '抖音(快手)变装',
desc: '抖音、快手变装视频'
}, {
title: '随机小姐姐',
desc: '甜妹视频'
Expand All @@ -172,6 +172,21 @@ export const helpList = [
}, {
title: '随机裙子',
desc: 'JK、洛丽塔视频'
}, {
title: '黑(白)丝视频',
desc: '黑丝、白丝视频'
}, {
title: 'cos系列',
desc: 'coser'
}, {
title: '慢摇视频',
desc: '摇'
}, {
title: '纯情女高',
desc: '挺好看的'
}, {
title: '吊带系列',
desc: '有点......'
}
]
}, {
Expand Down
2 changes: 1 addition & 1 deletion utils/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const defaultConfig = {
sysgqjt: 1,
gdkey: '',
studyGroups: '',
version: '1.2.7'
version: '1.2.8'
}
const _path = process.cwd()
let config = {}
Expand Down

0 comments on commit 520af23

Please sign in to comment.