diff --git a/api.json b/api.json index 47f2383..3afdc26 100644 --- a/api.json +++ b/api.json @@ -161,6 +161,20 @@ "version": "120" } }, + { + "key": "雄鹰", + "name": "雄鹰|APP", + "type": 3, + "quickSearch": 1, + "api": "csp_AppGet2", + "ext": { + "url": "http://122.228.193.2:9988", + "dataKey": "ca94b06ca359d80e", + "dataIv": "ca94b06ca359d80e", + "deviceId": "", + "version": "120" + } + }, { "key": "晓晓", "name": "晓晓|APP", @@ -175,48 +189,6 @@ "version": "" } }, - { - "key": "老王", - "name": "老王|APP", - "type": 3, - "quickSearch": 1, - "api": "csp_AppGet", - "ext": { - "url": "http://ht.laowang.co", - "dataKey": "EUwFY2vPWBqpYyAY", - "dataIv": "EUwFY2vPWBqpYyAY", - "deviceId": "", - "version": "" - } - }, - { - "key": "追剧", - "name": "追剧|APP", - "type": 3, - "quickSearch": 1, - "api": "csp_AppGet", - "ext": { - "url": "http://sjapp.wuyanzu.top/", - "dataKey": "weyuhgiohgsytwhj", - "dataIv": "weyuhgiohgsytwhj", - "deviceId": "2112fc5eac600314ba95c4d65da9286b3", - "version": "119" - } - }, - { - "key": "沐沐", - "name": "沐沐|APP", - "type": 3, - "quickSearch": 1, - "api": "csp_AppGet", - "ext": { - "url": "http://xk.ys088.cn", - "dataKey": "1846397456616237", - "dataIv": "1846397456616237", - "deviceId": "2112fc5eac600314ba95c4d65da9286b3", - "version": "119" - } - }, { "key": "溜溜", "name": "溜溜|APP", @@ -231,20 +203,6 @@ "version": "200" } }, - { - "key": "超前", - "name": "超前|APP", - "type": 3, - "quickSearch": 1, - "api": "csp_AppGet", - "ext": { - "url": "https://app.ystva.com", - "dataKey": "A1akVPQmnnE4Fz9Z", - "dataIv": "A1akVPQmnnE4Fz9Z", - "deviceId": "2112fc5eac600314ba95c4d65da9286b3", - "version": "134" - } - }, { "key": "剧咖", "name": "剧咖|APP", @@ -259,62 +217,6 @@ "version": "112" } }, - { - "key": "恋鱼", - "name": "恋鱼|APP", - "type": 3, - "quickSearch": 1, - "api": "csp_AppGet", - "ext": { - "url": "http://14.103.245.78", - "dataKey": "2234567890123456", - "dataIv": "2234567890123456", - "deviceId": "", - "version": "119" - } - }, - { - "key": "开心", - "name": "开心|APP", - "type": 3, - "quickSearch": 1, - "api": "csp_AppGet", - "ext": { - "url": "https://tv.31hl.cn", - "dataKey": "2268331221bobobo", - "dataIv": "2268331221bobobo", - "deviceId": "", - "version": "" - } - }, - { - "key": "豆豆", - "name": "豆豆|APP", - "type": 3, - "quickSearch": 1, - "api": "csp_AppGet", - "ext": { - "url": "http://110.42.7.59:9427", - "dataKey": "xasdasdqwertyuio", - "dataIv": "xasdasdqwertyuio", - "deviceId": "", - "version": "304" - } - }, - { - "key": "淘气", - "name": "淘气|APP", - "type": 3, - "quickSearch": 1, - "api": "csp_AppGet", - "ext": { - "url": "http://api.heiykj.cn", - "dataKey": "4990488248904884", - "dataIv": "4990488248904884", - "deviceId": "", - "version": "119" - } - }, { "key": "瓜萌", "name": "瓜萌|APP", @@ -329,62 +231,6 @@ "version": "" } }, - { - "key": "乐乐", - "name": "乐乐|APP", - "type": 3, - "quickSearch": 1, - "api": "csp_AppGet", - "ext": { - "url": "https://get.le163.top", - "dataKey": "4f870065c9c193fc", - "dataIv": "4f870065c9c193fc", - "deviceId": "", - "version": "" - } - }, - { - "key": "乐看", - "name": "乐看|APP", - "type": 3, - "quickSearch": 1, - "api": "csp_AppGet", - "ext": { - "url": "https://app.weis.vip", - "dataKey": "e65144389e9361b5", - "dataIv": "e65144389e9361b5", - "deviceId": "", - "version": "" - } - }, - { - "key": "梦缘", - "name": "梦缘|APP", - "type": 3, - "quickSearch": 1, - "api": "csp_AppGet", - "ext": { - "url": "http://150.138.84.88:44444", - "dataKey": "fdnwxwnkyylwdyqh", - "dataIv": "fdnwxwnkyylwdyqh", - "deviceId": "29ac7568b4dc23ca9a40b6ca5b7cc6f68", - "version": "520" - } - }, - { - "key": "麒麟", - "name": "麒麟|APP", - "type": 3, - "quickSearch": 1, - "api": "csp_AppGet", - "ext": { - "url": "https://www.70yy.fun", - "dataKey": "sfsdgsgcccss55xa", - "dataIv": "sfsdgsgcccss55xa", - "deviceId": "2129ec9e6e5703cb0aeeddd79554e38f8", - "version": "100" - } - }, { "key": "忍者", "name": "忍者|APP", @@ -469,20 +315,6 @@ "version": "100" } }, - { - "key": "玉米", - "name": "玉米|APP", - "type": 3, - "quickSearch": 1, - "api": "csp_AppGet", - "ext": { - "url": "https://www.zjc.app", - "dataKey": "ab4e9a421675f14b", - "dataIv": "ab4e9a421675f14b", - "deviceId": "", - "version": "442" - } - }, { "key": "优质", "name": "优质|APP", @@ -525,20 +357,6 @@ "version": "200" } }, - { - "key": "光速", - "name": "光速|APP", - "type": 3, - "quickSearch": 1, - "api": "csp_AppGet", - "ext": { - "url": "https://c8k2n5l0i9s8b2m1jj8k2x2l9ff68.ydysapi.cfd:27899", - "dataKey": "k9o3p2c8b7m3z0o8", - "dataIv": "k9o3p2c8b7m3z0o8", - "deviceId": "2f085931bcbd83a2bbc8ba1fc66243cd2", - "version": "112" - } - }, { "key": "人人", "name": "人人|APP", @@ -623,20 +441,6 @@ "version": "" } }, - { - "key": "鲨鱼", - "name": "鲨鱼|APP", - "type": 3, - "quickSearch": 1, - "api": "csp_AppGet", - "ext": { - "url": "https://cms.wlbbq.xyz", - "dataKey": "sdev15rwsa96fsde", - "dataIv": "sdev15rwsa96fsde", - "deviceId": "", - "version": "102" - } - }, { "key": "趣看", "name": "趣看|APP", @@ -650,45 +454,6 @@ "jxurl": "https://www.ququkan.cc" } }, - { - "key": "驿站", - "name": "驿站|APP", - "type": 3, - "quickSearch": 1, - "api": "csp_AppMuou", - "ext": { - "url": "http://110.42.110.230:16189", - "dataKey": "d7378557d1d9c924", - "dataIv": "fb4594f622f34fea", - "jxurl": "https://qqiqiyiyoukumgtvapiappdyyztvjsoni8n2o0z1ws2n7b6v3x8.68.gy:56789" - } - }, - { - "key": "主角", - "name": "主角|APP", - "type": 3, - "quickSearch": 1, - "api": "csp_AppMuou", - "ext": { - "url": "https://vodapp.feiwang.cc", - "dataKey": "25f9e794323b4538", - "dataIv": "25f9e794323b4538", - "jxurl": "https://vod.feiwang.cc" - } - }, - { - "key": "二三", - "name": "二三|APP", - "type": 3, - "quickSearch": 1, - "api": "csp_AppMuou", - "ext": { - "url": "http://cs4.123ysw.com", - "dataKey": "d3238930e3ae0724", - "dataIv": "d3238930e3ae0724", - "jxurl": "https://123ysw.com" - } - }, { "key": "哔哩视频", "name": "哔哩|视频", @@ -959,6 +724,16 @@ "type": "list" } }, + { + "key": "百酷", + "name": "百酷|4K弹幕", + "type": 3, + "api": "./js/cloud.min.js", + "ext": "./js/百酷.js", + "style": { + "type": "list" + } + }, { "key": "爱搜UC", "name": "爱UC|4K弹幕", diff --git a/js/百酷.js b/js/百酷.js new file mode 100644 index 0000000..ce716ec --- /dev/null +++ b/js/百酷.js @@ -0,0 +1,73 @@ +var rule = { + title: '百酷短剧', + host: 'https://api.kuleu.com/', + hostJs: '', + headers: { + 'User-Agent': 'Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.91 Mobile Safari/537.36', + }, + 编码: 'utf-8', + timeout: 5000, + url: 'https://api.kuleu.com/fyclass', + filter_url: '', + detailUrl: '', + searchUrl: 'https://api.kuleu.com/api/bddj?text=**', + searchable: 1, + quickSearch: 1, + filterable: 1, + class_name: '今日更新&百度短剧&每日更新&夸克短剧&每日更新', + class_url: 'api/yingshi&api/bddj?list&api/bddj?today&api/action?list&api/action?today', + proxy_rule: '', + sniffer: false, + isVideo: '', + play_parse: true, + parse_url: '', + lazy: "js:\n input = 'push://' + input;\n ", + limit: 9, + double: false, + // 推荐: '*', + 一级: $js.toString(() => { + let cid = MY_CATE || '108'; + let pg = MY_PAGE || 1; + let url = `https://api.kuleu.com/${cid}`; + let khtml = fetch(url, {headers: rule.headers}); + let kjson = JSON.parse(khtml); + VODS = []; + kjson.data.forEach(it => { + VODS.push({ + vod_name: it.name, + vod_pic: `https://tse3-mm.cn.bing.net/th/id/OIP-C.rlQOYtsriwWKHwofGufJ_AHaQd?w=157&h=350&c=7&r=0&o=7&dpr=3.7&pid=1.7&rm=3`, + vod_remarks: it.addtime, + vod_id: `push://${it.viewlink}` + }); + }); +}), + 二级: '*', + 搜索:$js.toString(() => { + let url = `https://api.kuleu.com/api/bddj?text=${KEY}`; + let khtml = fetch(url); + let kjson = JSON.parse(khtml); + VODS = []; + kjson.data.forEach(it => { + VODS.push({ + vod_name: it.name, + vod_pic: it.pPic, + vod_remarks: it.addtime, + vod_id: `push://${it.viewlink}` + }) + }) +}), + cate_exclude: '首页|留言|APP|下载|资讯|新闻|动态', + tab_exclude: '猜你|喜欢|下载|剧情|榜|评论', + 类型: '影视', + homeUrl: 'https://www.lzpanx.com/', + 二级访问前: '', + encoding: 'utf-8', + search_encoding: '', + 图片来源: '', + 图片替换: '', + play_json: [], + pagecount: {}, + tab_remove: [], + tab_order: [], + tab_rename: {}, +} \ No newline at end of file diff --git a/spider.jar b/spider.jar index 74cea10..2205459 100644 Binary files a/spider.jar and b/spider.jar differ