mirror of
https://github.com/qist/tvbox.git
synced 2026-11-03 02:03:48 +00:00
update ALL
This commit is contained in:
1 parent
edd429f624
commit
354647a811
20 files changed
+638
-632
No files matched your search
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"spider":"./jar/fan.txt;md5;a4def97541fafa5558b6182c1326c9b0",
|
||||
"spider":"./jar/fan.txt;md5;f4a9956bae884c4a952da9152c0ed446",
|
||||
"logo":"https://avatars.githubusercontent.com/u/58679624?v=4",
|
||||
"lives":[{"name":"初秋语•ipv4","type":0,"url":"./list.txt","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo":"https://epg.112114.xyz/logo/{name}.png"},
|
||||
{"name":"YanG•综合","type":0,"url":"https://github.moeyy.xyz/https://raw.githubusercontent.com/YanG-1989/m3u/main/Gather.m3u","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo":"https://epg.112114.xyz/logo/{name}.png"},
|
||||
@@ -37,11 +37,11 @@
|
||||
|
||||
{"key":"短剧","name":"上头┃短剧","type":3,"api":"csp_Djuu","searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"酷看","name":"酷看┃秒播","type":3,"api":"csp_Kkys","timeout":15,"searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"原创","name":"原创┃无广","type":3,"api":"csp_YCyz","timeout":15,"searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"厂长","name":"厂长┃不卡","type":3,"api":"csp_NewCz","timeout":15,"playerType":2,"searchable":1,"quickSearch":1,"changeable":1,"ext": "https://czzy.top/"},
|
||||
{"key":"视觉","name":"视觉┃多线","type":3,"api":"csp_Xinsj","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://www.80yy3.com/"},
|
||||
{"key":"南瓜","name":"南瓜┃多线","type":3,"api":"csp_NanGua","timeout":15,"playerType":2,"searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"苹果","name":"苹果┃不卡","type":3,"api":"csp_LiteApple","searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"原创","name":"原创┃无广","type":3,"api":"csp_YCyz","timeout":15,"searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"厂长","name":"厂长┃不卡","type":3,"api":"csp_NewCz","timeout":15,"playerType":2,"searchable":1,"quickSearch":1,"changeable":1,"ext": "https://czzy.top/"},
|
||||
{"key":"糯米","name":"糯米┃秒播","type":3,"api":"csp_Nmys","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"./json/nmys.json"},
|
||||
{"key":"小点","name":"小点┃多线","type":3,"api":"csp_Xdys","searchable":1,"quickSearch":1,"filterable":1,"changeable":0},
|
||||
{"key":"热播","name":"热播┃多线","type":3,"api":"csp_AppTT","timeout":15,"playerType":2,"searchable":1,"quickSearch":1,"changeable":1,"ext":"AO7TcBkd8I/B5wQc4Qma+pU="},
|
||||
@@ -51,7 +51,7 @@
|
||||
{"key":"低端","name":"低端┃外剧","type":3,"api":"csp_Ddrk","playerType":"2","searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"毛驴","name":"毛驴┃多线","type":3,"api":"csp_MLYS","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://www.maolvys.com/"},
|
||||
{"key":"比特","name":"比特┃秒播","type":3,"api":"csp_Bttwoo","searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"Lib","name": "立播┃无广","type": 3,"api": "csp_Libvio","timeout":15,"searchable": 1,"quickSearch": 1,"changeable":1,"ext":"https://www.libvio.pw/"},
|
||||
{"key":"Lib","name": "立播┃不卡","type": 3,"api": "csp_Libvio","timeout":15,"searchable": 1,"quickSearch": 1,"changeable":1,"ext":"https://www.libvio.pw/"},
|
||||
{"key":"Auete","name":"奥特┃无广","type": 3,"api":"csp_Auete","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://auete.pro/"},
|
||||
{"key":"新6V","name":"新6V┃磁力","type":3,"api":"csp_SixV","searchable":1,"quickSearch":1,"changeable":0,"ext": "http://www.xb6v.com/"},
|
||||
{"key":"Dm84","name":"巴士┃动漫","type":3,"api":"csp_Dm84","searchable":1,"quickSearch":1,"changeable":1},
|
||||
@@ -77,42 +77,43 @@
|
||||
{"key":"索尼","name":"索尼┃采集","type":1,"api":"https://suoniapi.com/api.php/provide/vod","searchable":1,"changeable":1},
|
||||
{"key":"快帆","name":"快帆┃采集","type":1,"api":"https://api.kuaifan.tv/api.php/provide/vod","searchable":1,"changeable":1},
|
||||
|
||||
{"key":"配置中心","name":"配置┃中心","type":3,"api":"csp_Config","searchable":0,"changeable":0,"style":{"type":"rect","ratio":1},"ext":"http://127.0.0.1:9978/file/TV/token.json","jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"酷狗","name":"音频┃酷狗","type":3,"api":"csp_Kugou","searchable":1,"changeable":0,"jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key": "Iktv","name": "MV┃KTV","type": 3,"api": "csp_Iktv","searchable": 1,"changeable": 0,"jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key": "Yinyuetai","name": "MV┃音悦台","type": 3,"api": "csp_Yinyuetai","searchable": 1,"changeable": 0,"jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"AliShareEBook","name":"书籍┃分享","type":3,"api":"csp_AliShare","searchable":1,"quickSearch":0, "changeable":0, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/alishare.ebook.txt$$$db$$$1","style":{"type":"list"},"jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"荐片弹幕版","name":"弹幕┃荐片","type":3,"api":"csp_Jianpian","searchable":1,"quickSearch":1,"filterable":1,"ext":"./json/jianpian.json$$$1", "timeout":60,"jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"Bdys_spider","name":"弹幕┃哔滴","api":"csp_Bdys01","type":3,"filterable":1,"quickSearch":1,"searchable":1,"ext":"https://www.bdys03.com/$$$null$$$1","timeout":30,"jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key": "天天","name": "弹幕┃天天","type": 3,"api": "csp_TTian","playerType": 1,"ext": "http://op.ysdqjs.cn$$$null$$$1","jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key": "追剧","name": "弹幕┃追剧","type": 3,"api": "csp_TTian","playerType": 1,"ext": "http://app.kzjtv.com$$$null$$$1","jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"NanGua","name":"弹幕┃南瓜","type":3,"api":"csp_NanGua","searchable":1,"changeable":1,"ext":"null$$$1","jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"PushShare","name":"弹幕┃资源分享","type":3, "api":"csp_PushShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/pushshare.txt$$$db$$$1","style": {"type": "list"},"jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"PikPakShare","name":"弹幕┃PikPak分享","type":3,"api":"csp_PikPakShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/pikpakclass.json$$$./json/pikpakclass.json.db.gz","jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"AliShare","name":"弹幕┃影视分享","type":3,"api":"csp_AliShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/alishare.txt$$$db$$$1","jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"ThunderShare","name":"弹幕┃迅雷分享","type":3,"api":"csp_ThunderShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/thundershare.txt","jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"QuarkShare","name":"弹幕┃夸克分享","type":3,"api":"csp_QuarkShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/quarkshare.txt","jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"SambaShare","name":"弹幕┃Samba分享","type":3,"api":"csp_SambaShare","searchable":0,"quickSearch":0, "changeable":0, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/sambashare.txt","jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"Wogg","name":"弹幕┃玩偶","type":3,"api":"csp_Wogg","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.wogg.xyz/$$$null$$$1$$$./wogg.json","jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"Wobg","name":"弹幕┃表哥","type":3,"api":"csp_Wobg","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://wobge.run.goorm.io$$$null$$$1$$$./wogg.json","jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"yydsys","name":"弹幕┃老哥","type":3,"api":"csp_Wobg","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://tv.yydsys.top/$$$null$$$1$$$./wogg.json","jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"Xinshijue","name":"弹幕┃新视觉","type":3,"api":"csp_Xinshijue","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.80yy3.com/$$$1$$$./lib/wogg.json","jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"Moli","name":"弹幕┃HDmoli","type":3,"api":"csp_Moli","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.hdmoli.pro/$$$null$$$1$$$./json/moli.json","jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"Bt0","name":"弹幕┃不太灵","type":3,"api":"csp_Bt0","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$null$$$proxy$$$1","jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"ddys","name":"弹幕┃低端","type":3,"api":"csp_Ddys","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://ddys.pro/$$$proxy$$$1$$$","jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"美剧迷","name":"弹幕┃美剧迷","type":3,"api":"csp_Meijumi", "quickSearch":1, "changeable":1, "filterable":1, "timeout":30,"ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.meijumi.xyz/$$$null$$$1","jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"Ppxzy","name":"弹幕┃皮皮虾","type":3,"api":"csp_Ppxzy", "quickSearch":1, "changeable":1, "filterable":1, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://ppxzy.net/$$$null", "timeout":30,"jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"新6V","name":"弹幕┃新6V","type":3,"api":"csp_Xb6v","searchable":1,"changeable":1,"timeout":60,"ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.66ss.org$$$1","jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"4KHDR","name":"弹幕┃4KHDR","type":3,"api":"csp_FourKHDR","ext":"http://127.0.0.1:9978/file/TV/token.json$$$http://127.0.0.1:9978/file/TV/4khdr.txt","quickSearch":1,"changeable":1,"timeout":60,"jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"校长影视","name":"弹幕┃校长","type":3,"api":"csp_XiaoZhang","ext":"http://127.0.0.1:9978/file/TV/token.json","quickSearch":1,"changeable":1,"timeout":30,"jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"团长资源","name":"弹幕┃团长","type":3,"api":"csp_TZFile","ext":"http://127.0.0.1:9978/file/TV/token.json", "quickSearch":1, "changeable":1, "timeout":30,"jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"csp_Hdhive","name":"弹幕┃影巢","type":3,"api":"csp_Hdhive","searchable":1,"quickSearch":1,"filterable":1,"ext":"http://127.0.0.1:9978/file/TV/token.json","timeout":30,"jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"Panta","name":"弹幕┃盘Ta","type":3,"api":"csp_Panta","quickSearch":1, "changeable":1, "filterable":1, "timeout":30, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.91panta.cn/$$$null$$$1","jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"YunPan","name":"弹幕┃云盘","type":3,"api":"csp_YunPan","timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$null$$$proxy$$$1","jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"Wo4k","name":"弹幕┃玩偶4k","type":3,"api":"csp_Wo4k","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.wo4k.com/$$$proxy$$$1$$$./wogg.json","jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"Xpanpan","name":"弹幕┃小盘盘","type":3,"api":"csp_Xpanpan","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://xpanpan.site$$$null$$$1","jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"Gaoqing","name":"弹幕┃高清网","type":3,"api":"csp_Gaoqing","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://gaoqing.la/$$$proxy$$$1","jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"push_agent","name":"手机┃推送[jar]","type":3,"api":"csp_Push","searchable":0,"quickSearch":0,"changeable":0,"ext":"http://127.0.0.1:9978/file/TV/token.json", "timeout":30,"jar":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14"},
|
||||
{"key":"配置中心","name":"配置┃中心","type":3,"api":"csp_Config","searchable":0,"changeable":0,"style":{"type":"rect","ratio":1},"ext":"http://127.0.0.1:9978/file/TV/token.json","jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"酷狗","name":"音频┃酷狗","type":3,"api":"csp_Kugou","searchable":1,"changeable":0,"jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key": "Iktv","name": "MV┃KTV","type": 3,"api": "csp_Iktv","searchable": 1,"changeable": 0,"jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key": "Yinyuetai","name": "MV┃音悦台","type": 3,"api": "csp_Yinyuetai","searchable": 1,"changeable": 0,"jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"AliShareEBook","name":"书籍┃分享","type":3,"api":"csp_AliShare","searchable":1,"quickSearch":0, "changeable":0, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/alishare.ebook.txt$$$db$$$1","style":{"type":"list"},"jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"荐片弹幕版","name":"弹幕┃荐片","type":3,"api":"csp_Jianpian","searchable":1,"quickSearch":1,"filterable":1,"ext":"./json/jianpian.json$$$1", "timeout":60,"jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"Bdys_spider","name":"弹幕┃哔滴","api":"csp_Bdys01","type":3,"filterable":1,"quickSearch":1,"searchable":1,"ext":"https://www.bdys03.com/$$$null$$$1","timeout":30,"jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key": "天天","name": "弹幕┃天天","type": 3,"api": "csp_TTian","playerType": 1,"ext": "http://op.ysdqjs.cn$$$null$$$1","jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key": "追剧","name": "弹幕┃追剧","type": 3,"api": "csp_TTian","playerType": 1,"ext": "http://app.kzjtv.com$$$null$$$1","jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"NanGua","name":"弹幕┃南瓜","type":3,"api":"csp_NanGua","searchable":1,"changeable":1,"ext":"null$$$1","jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"PushShare","name":"弹幕┃资源分享","type":3, "api":"csp_PushShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/pushshare.txt$$$db$$$1","style": {"type": "list"},"jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"PikPakShare","name":"弹幕┃PikPak分享","type":3,"api":"csp_PikPakShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/pikpakclass.json$$$./json/pikpakclass.json.db.gz","jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"AliShare","name":"弹幕┃影视分享","type":3,"api":"csp_AliShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/alishare.txt$$$db$$$1","jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"ThunderShare","name":"弹幕┃迅雷分享","type":3,"api":"csp_ThunderShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/thundershare.txt","jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"QuarkShare","name":"弹幕┃夸克分享","type":3,"api":"csp_QuarkShare","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/quarkshare.txt","jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"SambaShare","name":"弹幕┃Samba分享","type":3,"api":"csp_SambaShare","searchable":0,"quickSearch":0, "changeable":0, "filterable":0, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$./json/sambashare.txt","jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"Wogg","name":"弹幕┃玩偶","type":3,"api":"csp_Wogg","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.wogg.xyz/$$$null$$$1$$$./wogg.json","jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"Wobg","name":"弹幕┃表哥","type":3,"api":"csp_Wobg","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://wobge.run.goorm.io$$$null$$$1$$$./wogg.json","jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"yydsys","name":"弹幕┃老哥","type":3,"api":"csp_Wobg","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://tv.yydsys.top/$$$null$$$1$$$./wogg.json","jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"Xinshijue","name":"弹幕┃新视觉","type":3,"api":"csp_Xinshijue","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.80yy3.com/$$$1$$$./lib/wogg.json","jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"Moli","name":"弹幕┃HDmoli","type":3,"api":"csp_Moli","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.hdmoli.pro/$$$null$$$1$$$./json/moli.json","jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"Bt0","name":"弹幕┃不太灵","type":3,"api":"csp_Bt0","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$null$$$proxy$$$1","jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"ddys","name":"弹幕┃低端","type":3,"api":"csp_Ddys","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://ddys.pro/$$$proxy$$$1$$$","jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"美剧迷","name":"弹幕┃美剧迷","type":3,"api":"csp_Meijumi", "quickSearch":1, "changeable":1, "filterable":1, "timeout":30,"ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.meijumi.xyz/$$$null$$$1","jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"Ppxzy","name":"弹幕┃皮皮虾","type":3,"api":"csp_Ppxzy", "quickSearch":1, "changeable":1, "filterable":1, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://ppxzy.net/$$$null", "timeout":30,"jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"新6V","name":"弹幕┃新6V","type":3,"api":"csp_Xb6v","searchable":1,"changeable":1,"timeout":60,"ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.66ss.org$$$1","jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"4KHDR","name":"弹幕┃4KHDR","type":3,"api":"csp_FourKHDR","ext":"http://127.0.0.1:9978/file/TV/token.json$$$http://127.0.0.1:9978/file/TV/4khdr.txt","quickSearch":1,"changeable":1,"timeout":60,"jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"校长影视","name":"弹幕┃校长","type":3,"api":"csp_XiaoZhang","ext":"http://127.0.0.1:9978/file/TV/token.json","quickSearch":1,"changeable":1,"timeout":30,"jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"团长资源","name":"弹幕┃团长","type":3,"api":"csp_TZFile","ext":"http://127.0.0.1:9978/file/TV/token.json", "quickSearch":1, "changeable":1, "timeout":30,"jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"csp_Hdhive","name":"弹幕┃影巢","type":3,"api":"csp_Hdhive","searchable":1,"quickSearch":1,"filterable":1,"ext":"http://127.0.0.1:9978/file/TV/token.json","timeout":30,"jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"Panta","name":"弹幕┃盘Ta","type":3,"api":"csp_Panta","quickSearch":1, "changeable":1, "filterable":1, "timeout":30, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.91panta.cn/$$$null$$$1","jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"YunPan","name":"弹幕┃云盘","type":3,"api":"csp_YunPan","timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$null$$$proxy$$$1","jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"Wo4k","name":"弹幕┃玩偶4k","type":3,"api":"csp_Wo4k","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.wo4k.com/$$$proxy$$$1$$$./wogg.json","jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"Xpanpan","name":"弹幕┃小盘盘","type":3,"api":"csp_Xpanpan","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://xpanpan.site$$$null$$$1","jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"Gaoqing","name":"弹幕┃高清网","type":3,"api":"csp_Gaoqing","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://gaoqing.la/$$$proxy$$$1","jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
{"key":"音范丝","name":"弹幕┃音范丝","type":3,"api":"csp_Gaoqing","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.yinfans.me/$$$proxy$$$1"},
|
||||
{"key":"push_agent","name":"手机┃推送[jar]","type":3,"api":"csp_Push","searchable":0,"quickSearch":0,"changeable":0,"ext":"http://127.0.0.1:9978/file/TV/token.json", "timeout":30,"jar":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6"},
|
||||
|
||||
{"key":"drpy_js_360影视","name":"官源┃360[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/360影视.js"},
|
||||
{"key":"drpy_js_奇珍异兽","name":"官源┃爱奇艺[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/奇珍异兽.js"},
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"spider":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14",
|
||||
"spider":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6",
|
||||
"lives":[{"name":"初秋语•综合","type":0,"url":"./list.txt","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo":"https://epg.112114.xyz/logo/{name}.png"},
|
||||
{"name":"Ray•综合","type":0,"url":"https://github.moeyy.xyz/https://raw.githubusercontent.com/dxawi/0/main/tvlive.txt","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo":"https://epg.112114.xyz/logo/{name}.png"},
|
||||
{"name":"俊于•综合","type":0,"url":"http://home.jundie.top:81/Cat/tv/live.txt","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo": "https://epg.112114.xyz/logo/{name}.png"},
|
||||
@@ -59,6 +59,7 @@
|
||||
{"key":"Moli","name":"HDmoli","type":3,"api":"csp_Moli","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.hdmoli.pro/$$$null$$$1$$$./json/moli.json"},
|
||||
{"key":"Xinshijue","name":"新视觉","type":3,"api":"csp_Xinshijue","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.80yy3.com/$$$1$$$./lib/wogg.json"},
|
||||
{"key":"Gaoqing","name":"高清网","type":3,"api":"csp_Gaoqing","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://gaoqing.la/$$$proxy$$$1"},
|
||||
{"key":"音范丝","name":"音范丝","type":3,"api":"csp_Gaoqing","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.yinfans.me/$$$proxy$$$1"},
|
||||
{"key":"ddys","name":"低端","type":3,"api":"csp_Ddys","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://ddys.pro/$$$proxy$$$1$$$"},
|
||||
{"key":"美剧迷","name":"美剧迷","type":3,"api":"csp_Meijumi", "quickSearch":1, "changeable":1, "filterable":1, "timeout":30,"ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.meijumi.xyz/$$$null$$$1"},
|
||||
{"key":"Ppxzy","name":"皮皮虾","type":3,"api":"csp_Ppxzy", "quickSearch":1, "changeable":1, "filterable":1, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://ppxzy.net/$$$null$$$1", "timeout":30},
|
||||
|
||||
@@ -1,18 +1,19 @@
|
||||
{
|
||||
"spider":"./jar/fan.txt;md5;a4def97541fafa5558b6182c1326c9b0",
|
||||
"spider":"./jar/fan.txt;md5;f4a9956bae884c4a952da9152c0ed446",
|
||||
"wallpaper":"https://深色壁纸.xxooo.cf/",
|
||||
|
||||
"sites":[
|
||||
{"key":"豆豆","name":"全接口启用智能去广告","type": 3, "api": "csp_DouDou","searchable": 0,"quickSearch": 0,"filterable": 0},
|
||||
{"key":"豆豆","name":"🌕全接口智能过滤广告","type": 3, "api": "csp_DouDou","searchable": 0,"quickSearch": 0,"filterable": 0},
|
||||
{"key":"玩偶","name":"👽玩偶哥哥┃4K弹幕","type":3,"api":"csp_WoGG","searchable":1,"quickSearch":1,"changeable":0, "ext": {"aliToken":"tvfan/token.txt","quarkCookie":"tvfan/cookie.txt","from":"4k|auto|fhd","siteUrl":"https://www.wogg.link/","danMu":"弹"}},
|
||||
{"key":"YGP","name":"🚀叨观荐影┃新片","type":3,"api":"csp_YGP","searchable":0,"quickSearch":0,"changeable":0},
|
||||
{"key":"短剧","name":"🌈上头┃短剧","type":3,"api":"csp_Djuu","searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"酷看","name":"💡酷看┃秒播","type":3,"api":"csp_Kkys","timeout":15,"searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"原创","name":"☀原创┃无广","type":3,"api":"csp_YCyz","timeout":15,"searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"厂长","name":"📔厂长┃不卡","type":3,"api":"csp_NewCz","timeout":15,"playerType":2,"searchable":1,"quickSearch":1,"changeable":1,"ext": "https://czzy.top/"},
|
||||
{"key":"视觉","name":"👓视觉┃多线","type":3,"api":"csp_Xinsj","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://www.80yy3.com/"},
|
||||
{"key":"南瓜","name":"🎃南瓜┃多线","type":3,"api":"csp_NanGua","timeout":15,"playerType":2,"searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"苹果","name":"🍎苹果┃不卡","type":3,"api":"csp_LiteApple","searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"原创","name":"☀原创┃不卡","type":3,"api":"csp_YCyz","timeout":15,"searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"厂长","name":"📔厂长┃不卡","type":3,"api":"csp_NewCz","timeout":15,"playerType":2,"searchable":1,"quickSearch":1,"changeable":1,"ext": "https://czzy.top/"},
|
||||
|
||||
//{"key":"白嫖","name":"👻白飘┃不卡","type":3,"api":"csp_BaiPiao","playerType":2,"searchable":1,"quickSearch":1,"changeable":1,"ext": "https://www.baipiaoys.com:9092/"},
|
||||
|
||||
{"key":"糯米","name":"🍙糯米┃秒播","type":3,"api":"csp_Nmys","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://gitlab.com/fantaiying/ext/-/raw/main/nmys.json"},
|
||||
@@ -30,7 +31,7 @@
|
||||
//{"key":"一起看 ","name":"🌾一起┃App","type":3,"api":"csp_YQKan","searchable":1,"quickSearch":1,"changeable":1},
|
||||
|
||||
|
||||
{"key":"Lib","name": "🌟立播┃无广","type": 3,"api": "csp_Libvio","timeout":15,"searchable": 1,"quickSearch": 1,"changeable":1,"ext":"https://www.libvio.pw/"},
|
||||
{"key":"Lib","name": "🌟立播┃不卡","type": 3,"api": "csp_Libvio","timeout":15,"searchable": 1,"quickSearch": 1,"changeable":1,"ext":"https://www.libvio.pw/"},
|
||||
{"key":"Auete","name":"🏝奥特┃无广","type": 3,"api":"csp_Auete","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://auete.pro/"},
|
||||
{"key":"新6V","name":"🧲新6V┃磁力","type":3,"api":"csp_SixV","searchable":1,"quickSearch":1,"changeable":0,"ext": "http://www.xb6v.com/"},
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"spider": "./jar/custom_spider.jar;md5;2dd1047cb29daf7d351201a1cca49ae5",
|
||||
"spider": "./jar/custom_spider.jar;md5;ab9462dae7ab186527c41a163641cf14",
|
||||
"wallpaper": "http://饭太硬.top/深色壁纸/api.php",
|
||||
"sites": [
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"spider":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14",
|
||||
"spider":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6",
|
||||
"logo":"https://cdn.pixabay.com/photo/2020/08/09/11/43/woman-5475306_1280.jpg",
|
||||
"lives":[{"name":"初秋语","type":0,"url":"./listx.txt"},
|
||||
{"name":"糖意","type":0,"url":"https://wp.weikete.cc/down.php/c3eecc14547f5e1e468718148c9f762f.txt","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo":"https://epg.112114.xyz/logo/{name}.png","pass":true},
|
||||
@@ -28,6 +28,8 @@
|
||||
{"key":"SeHuaTang","name":"色花糖","type":3,"api":"csp_SeHuaTang","searchable":1,"quickSearch":1,"changeable":1,"filterable":0,"timeout":60,"ext":"null$$$proxy","style":{"type":"rect","ratio":1.5},"ext":"http://127.0.0.1:9978/file/TV/token.json"},
|
||||
{"key":"Xojav","name":"XOJav","type":3,"api":"csp_Xojav","searchable":1,"quickSearch":1,"changeable":1,"filterable":0,"timeout":60,"ext":"null$$$proxy","style":{"type":"rect","ratio":1.5}},
|
||||
{"key":"Cable","name":"CableAV","type":3,"api":"csp_Cable","searchable":1,"quickSearch":1, "changeable":1, "filterable":0, "timeout":60},
|
||||
{"key": "AvTime","name": "AvTime","type": 3,"api": "csp_AvTime","searchable": 1,"changeable": 0},
|
||||
{"key": "Top888","name": "Top888","type": 3,"api": "csp_Top888","searchable": 1,"changeable": 0},
|
||||
{"key": "AList","name": "AList","type": 3,"api": "csp_AList","searchable": 1,"changeable": 0,"ext": {"vodPic": "https://x.imgs.ovh/x/2023/09/05/64f680bb030b4.png","drives": [{"name": "网盘1","server": "https://alist-caimoui.cloud.okteto.net/私房菜/"}]}},
|
||||
{"key":"csp_JavBus","name":"JavBus","type":3,"api":"csp_JavBus","searchable":1,"quickSearch":1,"filterable":1,"changeable":0,"style":{"type":"rect","ratio":1.77},"timeout":60,"ext":"http://127.0.0.1:9978/file/TV/token.json"},
|
||||
{"key":"csp_JavDb","name":"JavDb","type":3,"api":"csp_JavDb","searchable":1,"quickSearch":1,"filterable":1,"changeable":0,"style":{"type":"rect","ratio":1.77},"timeout":60,"ext":"http://127.0.0.1:9978/file/TV/token.json"},
|
||||
|
||||
@@ -398,15 +398,15 @@ function print() { __p += __j.call(arguments, '') }
|
||||
`+i):t.stack=i}throw t}}_request(e,l){typeof e=="string"?(l=l||{},l.url=e):l=e||{},l=Ci(this.defaults,l);let{transitional:t,paramsSerializer:r,headers:i}=l;t!==void 0&&vf.assertOptions(t,{silentJSONParsing:Is.transitional(Is.boolean),forcedJSONParsing:Is.transitional(Is.boolean),clarifyTimeoutError:Is.transitional(Is.boolean)},!1),r!=null&&(X.isFunction(r)?l.paramsSerializer={serialize:r}:vf.assertOptions(r,{encode:Is.function,serialize:Is.function},!0)),l.method=(l.method||this.defaults.method||"get").toLowerCase();let s=i&&X.merge(i.common,i[l.method]);i&&X.forEach(["delete","get","head","post","put","patch","common"],g=>{delete i[g]}),l.headers=kt.concat(s,i);let u=[],a=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(l)===!1||(a=a&&_.synchronous,u.unshift(_.fulfilled,_.rejected))});let c=[];this.interceptors.response.forEach(function(_){c.push(_.fulfilled,_.rejected)});let f,p=0,m;if(!a){let g=[yf.bind(this),void 0];for(g.unshift.apply(g,u),g.push.apply(g,c),m=g.length,f=Promise.resolve(l);p<m;)f=f.then(g[p++],g[p++]);return f}m=u.length;let h=l;for(p=0;p<m;){let g=u[p++],_=u[p++];try{h=g(h)}catch(S){_.call(this,S);break}}try{f=yf.call(this,h)}catch(g){return Promise.reject(g)}for(p=0,m=c.length;p<m;)f=f.then(c[p++],c[p++]);return f}getUri(e){e=Ci(this.defaults,e);let l=pa(e.baseURL,e.url);return fa(l,e.params,e.paramsSerializer)}};X.forEach(["delete","get","head","options"],function(e){k4.prototype[e]=function(l,t){return this.request(Ci(t||{},{method:e,url:l,data:(t||{}).data}))}});X.forEach(["post","put","patch"],function(e){function l(t){return function(i,s,u){return this.request(Ci(u||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}k4.prototype[e]=l(),k4.prototype[e+"Form"]=l(!0)});var q5=k4;var jb=class n{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let l;this.promise=new Promise(function(i){l=i});let t=this;this.promise.then(r=>{if(!t._listeners)return;let i=t._listeners.length;for(;i-- >0;)t._listeners[i](r);t._listeners=null}),this.promise.then=r=>{let i,s=new Promise(u=>{t.subscribe(u),i=u}).then(r);return s.cancel=function(){t.unsubscribe(i)},s},e(function(i,s,u){t.reason||(t.reason=new lr(i,s,u),l(t.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let l=this._listeners.indexOf(e);l!==-1&&this._listeners.splice(l,1)}static source(){let e;return{token:new n(function(r){e=r}),cancel:e}}},dG=jb;function Ub(n){return function(l){return n.apply(null,l)}}function Bb(n){return X.isObject(n)&&n.isAxiosError===!0}var Hb={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Hb).forEach(([n,e])=>{Hb[e]=n});var hG=Hb;function mG(n){let e=new q5(n),l=I5(q5.prototype.request,e);return X.extend(l,q5.prototype,e,{allOwnKeys:!0}),X.extend(l,e,null,{allOwnKeys:!0}),l.create=function(r){return mG(Ci(n,r))},l}var Et=mG(R4);Et.Axios=q5;Et.CanceledError=lr;Et.CancelToken=dG;Et.isCancel=L5;Et.VERSION=ha;Et.toFormData=Os;Et.AxiosError=Fe;Et.Cancel=Et.CanceledError;Et.all=function(e){return Promise.all(e)};Et.spread=Ub;Et.isAxiosError=Bb;Et.mergeConfig=Ci;Et.AxiosHeaders=kt;Et.formToJSON=n=>ff(X.isHTMLForm(n)?new FormData(n):n);Et.getAdapter=gf.getAdapter;Et.HttpStatusCode=hG;Et.default=Et;var P4=Et;var{Axios:oke,AxiosError:cke,CanceledError:fke,isCancel:pke,CancelToken:dke,VERSION:hke,all:mke,Cancel:gke,isAxiosError:yke,spread:vke,toFormData:gG,AxiosHeaders:_ke,HttpStatusCode:Eke,formToJSON:bke,getAdapter:Tke,mergeConfig:Ske}=P4;var xG=At(require("https"),1),AG=At(require("crypto"),1),wG=At(TG(),1),zb={};globalThis.dataBase=null;globalThis.local={get:async function(n,e){return await iEe(n,e)},set:asy
Line truncated
|
||||
`},timeout:.1}),await dataBase.push(t,zb)}globalThis.localLog={set:async function(n,e,l){aEe(n,e,l)}};function uEe(){ga.default.existsSync("log")||ga.default.mkdirSync("log");let n="log/info.log";return ga.default.existsSync(n)?ga.default.readFileSync(n).toString():(ga.default.writeFileSync(n,""),"")}function aEe(n){ga.default.writeFileSync("log/info.log",uEe()+`
|
||||
`+n)}globalThis.req=oEe;async function oEe(n,e){try{let l=e&&e.data||null,t=e&&e.postType||null,r=e&&e.buffer||0,i=e&&e.timeout||5e3,s=(e&&e.redirect||1)===1,u=e.proxy??!1,a=e?e.headers||{}:{};t==="form"?(a["Content-Type"]="application/x-www-form-urlencoded",l!=null&&(l=SG.default.stringify(l,{encode:!1}))):t==="form-data"&&(a["Content-Type"]="multipart/form-data",l=gG(l));let c=r===1||r===2?"arraybuffer":void 0,f;u?f=wG.default.httpsOverHttp({proxy:{host:"127.0.0.1",port:7890}}):f=xG.default.Agent({rejectUnauthorized:!1});let p=await P4(n,{responseType:c,method:e&&e.method||"get",headers:a,data:l,timeout:i,maxRedirects:s?null:0,httpsAgent:f});l=p.data;let m={};for(let h of p.headers){let g=h[1];m[h[0]]=Array.isArray(g)&&g.length===1?g[0]:g}if(!r)typeof l=="object"&&(l=JSON.stringify(l));else{if(r===1)return{code:p.status,headers:m,content:l};if(r===2)return{code:p.status,headers:m,content:l.toString("base64")};if(r===3){let h=e.stream;return h.onResp&&await h.onResp({code:p.status,headers:m}),h.onData?(l.on("data",async g=>{await h.onData(g)}),l.on("end",async()=>{h.onDone&&await h.onDone()})):h.onDone&&await h.onDone(),"stream..."}}return{code:p.status,headers:m,content:l}}catch(l){let t=l.response;try{return{code:t.status,headers:t.headers,content:JSON.stringify(t.data)}}catch{return{headers:{},content:""}}}}globalThis.md5X=cEe;function cEe(n){return AG.default.createHash("md5").update(Buffer.from(n,"utf8")).digest("hex")}globalThis.js2Proxy=function(n,e,l){let t=Object.keys(l).length===0?" ":encodeURIComponent(JSON.stringify(l));return n.server.address().dynamic+n.server.prefix+"/proxy/"+encodeURIComponent(e)+"/"+t+"/"};var fEe=["DEBUG","INFO","WARNING","ERROR"];var ks=class{constructor(e,l="DEBUG"){this.app_name=e,this.level=l,this.level_index=fEe.indexOf(l)}format(e,l){let t=80;switch(e){case"INFO":t=t+1;break;case"WARNING":t=t-2;break;default:break}return l.length<t&&((t-l.length)%2===0?l="#".repeat(Math.floor((t-l.length)/2))+l+"#".repeat(Math.floor((t-l.length)/2)):l="#".repeat(Math.floor((t-l.length)/2))+l+"#".repeat(Math.floor((t-l.length)/2)+1)),l}getTime(){let e=new Date;return e.toLocaleDateString().replace(/\//g,"-")+" "+e.toTimeString().substr(0,8)+","+e.getMilliseconds().toString()}formatMessage(e,l,t){return t&&(l=this.format(e,l)),`${this.getTime()} - ${this.app_name} - ${e}: ${l}`}async log(e){console.debug(e),await req("http://127.0.0.1:8099/upload",{data:{log:e+`
|
||||
`},timeout:.1})}async info(e,l){this.level_index<=1&&await this.log(this.formatMessage("INFO",e,l))}async warning(e,l){this.level_index<=2&&await this.log(this.formatMessage("WARNING",e,l))}async error(e,l){this.level_index<=3&&await this.log(this.formatMessage("ERROR",e,l))}async debug(e,l){this.level_index<=0&&await this.log(this.formatMessage("DEBUG",e,l))}};var al=class extends wl{constructor(){super(),this.jadeLog=new ks(this.getAppName(),"DEBUG")}async init(e,l){await this.jadeLog.info("\u521D\u59CB\u5316",!0);try{await await req("http://127.0.0.1:8099/clear",{timeout:.1}),this.siteKey=this.getJSName(),this.siteType=this.getType(),this.cfgObj=e.server.config[this.siteKey],this.deviceKey=e.server.prefix+"/",this.db=e.server.db,this.catOpenStatus=!0,this.danmuStaus=!1;try{await this.loadFilterAndClasses()?await this.jadeLog.debug("\u8BFB\u53D6\u7F13\u5B58\u5217\u8868\u548C\u4E8C\u7EA7\u83DC\u5355\u6210\u529F"):(await this.jadeLog.warning("\u8BFB\u53D6\u7F13\u5B58\u5217\u8868\u548C\u4E8C\u7EA7\u83DC\u5355\u5931\u8D25"),await this.writeFilterAndClasses())}catch(t){await this.db.push(this.deviceKey+"classes",{}),await this.db.push(this.deviceKey+"filterObj",{}),await this.jadeLog.error("\u8BFB\u53D6\u7F13\u5B58\u5931\u8D25,\u5931\u8D25\u539F\u56E0\u4E3A:"+t,!1)}}catch(t){await this.jadeLog.error(`\u521D\u59CB\u5316\u5931\u8D25,\u5931\u8D25\u539F\u56E0\u4E3A:${t}`)}await this.jadeLog.info("\u521D\u59CB\u5316\u5B8C\u6210",!0)}async loadFilterAndClasses(){return this.classes=await this.getClassesCache(),this.filterObj=await this.getFiletObjCache(),this.classes.length>0?!0:(await this.db.push(this.deviceKey+"classes",{}),await this.db.push(this.deviceKey+"filterObj",{}),!1)}async writeFilterAndClasses(){this.catOpenStatus&&this.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await this.setClasses(),await this.setFilterObj(),await this.db.push(this.deviceKey+"classes",this.classes),await this.db.push(this.deviceKey+"filterObj",this.filterObj)}async getClassesCache(){let e=await this.db.getObjectDefault(this.deviceKey+"classes",{});return _e.isEmpty(e)?this.classes:e}async getFiletObjCache(){let e=await this.db.getObjectDefault(this.deviceKey+"filterObj",{});return _e.isEmpty(e)?this.filterObj:e}async home(e,l){return this.vodList=[],await this.jadeLog.info("\u6B63\u5728\u89E3\u6790\u9996\u9875\u7C7B\u522B",!0),await this.setHome(),await this.jadeLog.debug(`\u9996\u9875\u7C7B\u522B\u5185\u5BB9\u4E3A:${this.result.home(this.classes,[],this.filterObj)}`),await this.jadeLog.info("\u9996\u9875\u7C7B\u522B\u89E3\u6790\u5B8C\u6210",!0),this.result.home(this.classes,[],this.filterObj)}async homeVod(){await this.jadeLog.info("\u6B63\u5728\u89E3\u6790\u9996\u9875\u5185\u5BB9",!0);try{return await this.setHomeVod(),await this.jadeLog.debug(`\u9996\u9875\u5185\u5BB9\u4E3A:${this.result.homeVod(this.homeVodList)}`),await this.jadeLog.info("\u9996\u9875\u5185\u5BB9\u89E3\u6790\u5B8C\u6210",!0),this.result.homeVod(this.homeVodList)}catch(e){await this.jadeLog.error(`\u9996\u9875\u5185\u5BB9\u89E3\u6790\u5931\u8D25,\u5931\u8D25\u539F\u56E0\u4E3A:${e}`)}}async category(e,l){let t=e.body.id,r=e.body.page,i=!0,s=e.body.filters;if(this.page=parseInt(r),await this.jadeLog.info(`\u6B63\u5728\u89E3\u6790\u5206\u7C7B\u9875\u9762,tid = ${t},pg = ${r},extend = ${JSON.stringify(s)}`),t==="\u6700\u8FD1\u66F4\u65B0")return this.page=0,await this.homeVod();try{return this.vodList=[],await this.setCategory(t,r,i,s),await this.jadeLog.debug(`\u5206\u7C7B\u9875\u9762\u5185\u5BB9\u4E3A:${this.result.category(this.vodList,this.page,this.count,this.limit,this.total)}`),await this.jadeLog.info("\u5206\u7C7B\u9875\u9762\u89E3\u6790\u5B8C\u6210",!0),this.result.category(this.vodList,this.page,this.count,this.limit,this.total)}catch(u){await this.jadeLog.error(`\u5206\u7C7B\u9875\u89E3\u6790\u5931\u8D25,\u5931\u8D25\u539F\u56E0\u4E3A:${u}`)}}async detail(e,l){await this.jadeLog.debug(`\u83B7\u53D6\u8BE6\u60C5\u9875\u9762:${JSON.stringify(e.body)}`);let r=(Array.isArray(e.body.id)?e.body.id:[e.body.id])[0];this.vodDetail=new Jn,await this.jadeLog.info(`\u6B63\u5728\u83B7\u53D6\u8BE6\u60C5\u9875\u9762,id\u4E3A:${r}`);try{return await this.setDetail(r),await this.jadeLog.debug(`\u8BE6\u60C5\u9875\u9762\u5185\u5BB9\u4E3A:${this.result.detail(this.vodDetail)}`),await this.jadeLog.info("\u8BE6\u60C5\u9875\u9762\u89E3\u6790\u5B8C\u6210",!0),this.vodDetail.vod_id=r,this.result.detail(this.vodDetail)}catch(i){await this.jadeLog.error("\u8BE6\u60C5\u754C\u9762\u83B7\u53D6\u5931\u8D25,\u5931\u8D25\u539F\u56E0\u4E3A:"+i)}}async play(e,l){let t=e.body.flag,r=e.body.id,i=[];await this.jadeLog.info(`\u6B63\u5728\u89E3\u6790\u64AD\u653E\u9875\u9762,flag:${t},id:${r},flags:${i}`,!0);try{let s;if(await this.setPlay(t,r,i),this.playUrl.content!==void 0)return this.playUrl;if(await this.jadeLog.debug("\u4E0D\u9700\u8981\u52A0\u8F7D\u5F39\u5E55",!0),this.result.jx===1&&this.playUrl.indexOf(".m3u8")<0){let u=await e.server.messageT
Line truncated
|
||||
`),a=e(s).find("a"),c=[{n:"\u5168\u90E8",v:r}],f=t.toString();for(let p of a){let m=e(p).text().replaceAll(`
|
||||
`,""),h=p.attribs.href;h!==void 0&&c.push({n:m,v:h})}u=u.filter(p=>p!==""),this.filterObj[r].push({key:f,name:u[0],value:c})}let i=e('[id="side-menu"]').find("li");for(let s of i){let u=e(s).find("a")[0].attribs.href;if(u!==void 0&&u.indexOf(this.siteUrl)>-1){let a={type_name:e(s).text(),type_id:u};this.classes.push(a)}}}async setHomeVod(){let e=await this.getHtml(this.siteUrl);this.homeVodList=await this.parseVodShortListFromDoc(e)}async setCategory(e,l,t,r){r[1]!==void 0&&r[1]!=="1"&&(e=r[1]),await this.jadeLog.info(`tid = ${e}`);let i="";e.indexOf(this.siteUrl)>-1?i=e+l.toString()+".html":i=this.siteUrl,this.limit=36;let s=await this.getHtml(i);this.vodList=await this.parseVodShortListFromDoc(s)}async setDetail(e){let l=await this.getHtml(e),t=Tl(/video\/(\w+).html/,e);this.vodDetail=await this.parseVodDetailFromDoc(l,t)}async setPlay(e,l,t){this.playUrl=l,this.playHeader={}}async setSearch(e,l){let t=this.siteUrl+"search/"+encodeURIComponent(e),r=await this.getHtml(t);this.vodList=await this.parseVodShortListFromDoc(r)}async proxy(e,l){return super.proxy(e,l)}},fl=new Yb;var Jb=class extends al{constructor(){super()}getName(){return fl.getName()}getAppName(){return fl.getAppName()}getJSName(){return fl.getJSName()}async init(e,l){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await fl.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await fl.initCookie(e.server.config.bilicookie),await fl.spiderInit(e),fl.cfgObj.code=0,fl.catOpenStatus=!0,fl.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,l)}async setClasses(){await fl.setClasses(),this.classes=fl.classes}async setFilterObj(){await fl.setFilterObj(),this.filterObj=fl.filterObj}async setHomeVod(){await fl.setHomeVod(),this.homeVodList=fl.homeVodList}async setCategory(e,l,t,r){await fl.setCategory(e,l,t,r),this.vodList=fl.vodList}async setDetail(e){await fl.setDetail(e),this.vodDetail=fl.vodDetail}async setPlay(e,l,t){await fl.setPlay(e,l,t),this.playUrl=fl.playUrl,this.result=fl.result}async setSearch(e,l,t){await fl.setSearch(e,l,t),this.vodList=fl.vodList,this.result=fl.result}async setProxy(e,l){return await fl.proxy(e,l)}},Ls=new Jb;async function HG(n,e){return await Ls.init(n,e)}async function qG(n,e){return await Ls.home(n,e)}async function vEe(n,e){return await Ls.homeVod(n,e)}async function VG(n,e){return await Ls.category(n,e)}async function zG(n,e){return await Ls.detail(n,e)}async function GG(n,e){return await Ls.play(n,e)}async function XG(n,e){return await Ls.search(n,e)}async function _Ee(n,e){return await Ls.proxy(n,e)}var WG={meta:{key:fl.getJSName(),name:fl.getName(),type:fl.getType()},api:async n=>{n.post("/init",HG),n.post("/home",qG),n.post("/category",VG),n.post("/detail",zG),n.post("/play",GG),n.post("/search",XG),n.get("/proxy/:what/:ids/:end",_Ee)},spider:{init:HG,home:qG,homeVod:vEe,category:VG,detail:zG,play:GG,search:XG}};var Qb=class extends wl{constructor(){super(),this.siteUrl="https://jable.tv",this.cookie=""}async spiderInit(e=null){e!==null?this.jsBase=await js2Proxy(e,"img",this.getImgHeaders()):this.jsBase=await js2Proxy(!0,this.siteType,this.siteKey,"img/",this.getImgHeaders())}getImgHeaders(){return{"User-Agent":"PostmanRuntime/7.37.3","Postman-Token":"c2602692-1a05-4bb0-93cd-270afad97e87",Host:"assets-cdn.jable.tv",Proxy:!0}}async init(e){await super.init(e),await this.spiderInit(null)}getAppName(){return"Jable"}getName(){return"\u{1F51E}\u2503Jable\u2503\u{1F51E}"}getJSName(){return"jable"}getType(){return 3}getHeader(){let e={};return e["User-Agent"]="PostmanRuntime/7.36.3",e.Host="jable.tv",e["Postman-Token"]="33290483-3c8d-413f-a160-0d3aea9e6f95",e}async getHtml(e=this.siteUrl,l=!1,t=this.getHeader()){return super.getHtml(e,!0,t)}async setClasses(){let e=await this.getHtml(this.siteUrl),l=e('[class="title-box"]'),t=e("div.row");for(let r of e(t[0]).find("a")){let i=e(r).text(),s=r.attribs.href;s.indexOf(this.siteUrl)>-1&&this.classes.push(this.getTypeDic(i,s))}l=l.slice(1,9),t=t.slice(1,9);for(let r=0;r<l.length;r++){let i=e(t[r]).find("a")[0].attribs.href;this.classes.push(this.getTypeDic("\u6807\u7B7E",i));break}}async getSortFilter(e){let l=e('[class="sorting-nav"]').find("a"),t={name:"\u6392\u5E8F",key:"sort",value:[]};for(let r of l){let i=r.attribs["data-parameters"].split("sort_by:")[1],s=e(r).text();t.value.push({n:s,v:i})}return t}async getFilter(e,l,t,r){let i=[];if(l<4){let s={name:r,key:"type",value:[]},u=["div.img-box > a",'[class="horizontal-img-box ml-3 mb-3"] > a',"","sort"],a=["div.absolute-center > h4","div.detail"],c=await this.getHtml(t);for(let f of c(u[l])){let p=f.attribs.href,m=e(e(f).find(a[l])).text().replaceAll(" ","").replaceAll(`
|
||||
`},timeout:.1})}async info(e,l){this.level_index<=1&&await this.log(this.formatMessage("INFO",e,l))}async warning(e,l){this.level_index<=2&&await this.log(this.formatMessage("WARNING",e,l))}async error(e,l){this.level_index<=3&&await this.log(this.formatMessage("ERROR",e,l))}async debug(e,l){this.level_index<=0&&await this.log(this.formatMessage("DEBUG",e,l))}};var al=class extends wl{constructor(){super(),this.jadeLog=new ks(this.getAppName(),"DEBUG")}async init(e,l){await this.jadeLog.info("\u521D\u59CB\u5316",!0);try{await await req("http://127.0.0.1:8099/clear",{timeout:.1}),this.siteKey=this.getJSName(),this.siteType=this.getType(),this.cfgObj=e.server.config[this.siteKey],this.deviceKey=e.server.prefix+"/",this.db=e.server.db,this.catOpenStatus=!0,this.danmuStaus=!1;try{await this.loadFilterAndClasses()?await this.jadeLog.debug("\u8BFB\u53D6\u7F13\u5B58\u5217\u8868\u548C\u4E8C\u7EA7\u83DC\u5355\u6210\u529F"):(await this.jadeLog.warning("\u8BFB\u53D6\u7F13\u5B58\u5217\u8868\u548C\u4E8C\u7EA7\u83DC\u5355\u5931\u8D25"),await this.writeFilterAndClasses())}catch(t){await this.db.push(this.deviceKey+"classes",{}),await this.db.push(this.deviceKey+"filterObj",{}),await this.jadeLog.error("\u8BFB\u53D6\u7F13\u5B58\u5931\u8D25,\u5931\u8D25\u539F\u56E0\u4E3A:"+t,!1)}}catch(t){await this.jadeLog.error(`\u521D\u59CB\u5316\u5931\u8D25,\u5931\u8D25\u539F\u56E0\u4E3A:${t}`)}await this.jadeLog.info("\u521D\u59CB\u5316\u5B8C\u6210",!0)}async loadFilterAndClasses(){return this.classes=await this.getClassesCache(),this.filterObj=await this.getFiletObjCache(),this.classes.length>0?!0:(await this.db.push(this.deviceKey+"classes",{}),await this.db.push(this.deviceKey+"filterObj",{}),!1)}async writeFilterAndClasses(){this.catOpenStatus&&this.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await this.setClasses(),await this.setFilterObj(),await this.db.push(this.deviceKey+"classes",this.classes),await this.db.push(this.deviceKey+"filterObj",this.filterObj)}async getClassesCache(){let e=await this.db.getObjectDefault(this.deviceKey+"classes",{});return _e.isEmpty(e)?this.classes:e}async getFiletObjCache(){let e=await this.db.getObjectDefault(this.deviceKey+"filterObj",{});return _e.isEmpty(e)?this.filterObj:e}async home(e,l){return this.vodList=[],await this.jadeLog.info("\u6B63\u5728\u89E3\u6790\u9996\u9875\u7C7B\u522B",!0),await this.setHome(),await this.jadeLog.debug(`\u9996\u9875\u7C7B\u522B\u5185\u5BB9\u4E3A:${this.result.home(this.classes,[],this.filterObj)}`),await this.jadeLog.info("\u9996\u9875\u7C7B\u522B\u89E3\u6790\u5B8C\u6210",!0),this.result.home(this.classes,[],this.filterObj)}async homeVod(){await this.jadeLog.info("\u6B63\u5728\u89E3\u6790\u9996\u9875\u5185\u5BB9",!0);try{return await this.setHomeVod(),await this.jadeLog.debug(`\u9996\u9875\u5185\u5BB9\u4E3A:${this.result.homeVod(this.homeVodList)}`),await this.jadeLog.info("\u9996\u9875\u5185\u5BB9\u89E3\u6790\u5B8C\u6210",!0),this.result.homeVod(this.homeVodList)}catch(e){await this.jadeLog.error(`\u9996\u9875\u5185\u5BB9\u89E3\u6790\u5931\u8D25,\u5931\u8D25\u539F\u56E0\u4E3A:${e}`)}}async category(e,l){let t=e.body.id,r=e.body.page,i=!0,s=e.body.filters;if(this.page=parseInt(r),await this.jadeLog.info(`\u6B63\u5728\u89E3\u6790\u5206\u7C7B\u9875\u9762,tid = ${t},pg = ${r},extend = ${JSON.stringify(s)}`),t==="\u6700\u8FD1\u66F4\u65B0")return this.page=0,await this.homeVod();try{return this.vodList=[],await this.setCategory(t,r,i,s),await this.jadeLog.debug(`\u5206\u7C7B\u9875\u9762\u5185\u5BB9\u4E3A:${this.result.category(this.vodList,this.page,this.count,this.limit,this.total)}`),await this.jadeLog.info("\u5206\u7C7B\u9875\u9762\u89E3\u6790\u5B8C\u6210",!0),this.result.category(this.vodList,this.page,this.count,this.limit,this.total)}catch(u){await this.jadeLog.error(`\u5206\u7C7B\u9875\u89E3\u6790\u5931\u8D25,\u5931\u8D25\u539F\u56E0\u4E3A:${u}`)}}async detail(e,l){await this.jadeLog.debug(`\u83B7\u53D6\u8BE6\u60C5\u9875\u9762:${JSON.stringify(e.body)}`);let r=(Array.isArray(e.body.id)?e.body.id:[e.body.id])[0];this.vodDetail=new Jn,await this.jadeLog.info(`\u6B63\u5728\u83B7\u53D6\u8BE6\u60C5\u9875\u9762,id\u4E3A:${r}`);try{return await this.setDetail(r),await this.jadeLog.debug(`\u8BE6\u60C5\u9875\u9762\u5185\u5BB9\u4E3A:${this.result.detail(this.vodDetail)}`),await this.jadeLog.info("\u8BE6\u60C5\u9875\u9762\u89E3\u6790\u5B8C\u6210",!0),this.vodDetail.vod_id=r,this.result.detail(this.vodDetail)}catch(i){await this.jadeLog.error("\u8BE6\u60C5\u754C\u9762\u83B7\u53D6\u5931\u8D25,\u5931\u8D25\u539F\u56E0\u4E3A:"+i)}}async play(e,l){let t=e.body.flag,r=e.body.id,i=[];await this.jadeLog.info(`\u6B63\u5728\u89E3\u6790\u64AD\u653E\u9875\u9762,flag:${t},id:${r},flags:${i}`,!0);try{let s;if(await this.setPlay(t,r,i),this.playUrl.content!==void 0)return this.playUrl;if(await this.jadeLog.debug("\u4E0D\u9700\u8981\u52A0\u8F7D\u5F39\u5E55",!0),this.result.jx===1&&this.playUrl.indexOf(".m3u8")<0){let u=await e.server.messageT
Line truncated
|
||||
`,"").replaceAll(" ","");s.value.push({n:m,v:p})}if(s.value.length>0){i.push(s);let f=await this.getHtml(s.value[0].v),p=await this.getSortFilter(f);p.value.length>0&&i.push(p)}else{let f=await this.getSortFilter(c);f.value.length>0&&i.push(f)}}else{let s=e("div.row").slice(1,9),u=e('[class="title-box"]').slice(1,9);for(let f=0;f<u.length;f++){let p={name:e(e(u[f]).find("h2")).text(),key:"type",value:[]};for(let m of e(s[f]).find("a")){let h=m.attribs.href;h.indexOf(this.siteUrl)>-1&&p.value.push({n:e(m).text(),v:h})}i.push(p)}let a=await this.getHtml(t),c=await this.getSortFilter(a);c.value.length>0&&i.push(c)}return i}async setFilterObj(){let e=await this.getHtml(this.siteUrl),l=this.classes.slice(1);for(let t=0;t<l.length;t++){let r=l[t].type_name,i=l[t].type_id,s=await this.getFilter(e,t,i,r);s.length>1&&t<4&&(i=s[0].value[0].v,this.classes[t+1]=this.getTypeDic(r,i)),this.filterObj[i]=s}}async parseVodShortListFromDoc(e){let l=[],t=e("div.video-img-box");for(let r of t){let i=new Cn,s=e(r).find("img").attr("data-src");if(s!==void 0){i.vod_pic=s;let u=e(r).find("a").attr("href");i.vod_id=u.split("/")[4],i.vod_name=u.split("/")[4];let a=e(e(r).find('[class="sub-title"]')).text().split(`
|
||||
`);a.length>1?i.vod_remarks=a[1].replaceAll(" ","").replaceAll(" ",""):i.vod_remarks="\u7CBE\u9009",!_e.isEmpty(i.vod_pic)&&i.vod_remarks!=="[\u9650\u6642\u512A\u60E0]\u53EA\u97001\u5143\u5373\u53EF\u7121\u9650\u4E0B\u8F09"&&l.push(i)}}return l}async parseVodDetailFromDoc(e){let l=new Jn,t=e('[class="header-left"]');l.vod_name=e(e(t).find("h4")).text();let r=Tl(/<video poster="(.*?)" id=/,e.html());l.vod_pic=r,l.vod_year=e(e('[class="inactive-color"]')).text();let i=e(e('[class="header-right d-none d-md-block"] > h6')).text().replaceAll(`
|
||||
`,"").replaceAll("\u25CF",""),s=[],u=Tl(/var hlsUrl = '(.*?)';/,e.html());s.push(i+"$"+u);let a=[];a.push(s.join("#"));let c=["Jable"];return l.vod_play_from=c.join("$$$"),l.vod_play_url=a.join("$$$"),l}async setHomeVod(){let e=await this.getHtml(this.siteUrl);this.homeVodList=await this.parseVodShortListFromDoc(e)}async setDetail(e){let l=await this.getHtml(this.siteUrl+"/videos/"+e+"/");this.vodDetail=await this.parseVodDetailFromDoc(l)}async setCategory(e,l,t,r){let i=r.type??e,s=r.sort??"video_viewed";this.limit=24;let u;this.total=0,this.count=0,e.indexOf("latest-updates")>1?u=`https://jable.tv/latest-updates/?mode=async&function=get_block&block_id=list_videos_latest_videos_list&sort_by=post_date&from=${l}&_=1709730132217`:u=i+`/${l}/?mode=async&function=get_block&block_id=list_videos_common_videos_list&sort_by=${s}&_=${new Date().getTime()}`;let a=await this.getHtml(u);this.vodList=await this.parseVodShortListFromDoc(a);let c=a(a('[class="page-item"]').slice(-1)[0]).text();c.indexOf("\u6700\u5F8C")>-1||(parseInt(c)===this.page||_e.isEmpty(c))&&(await this.jadeLog.debug("\u5206\u7C7B\u9875\u9762\u5230\u5E95\u4E86"),this.total=this.page,this.count=this.page)}async setSearch(e,l){let t=this.siteUrl+`/search/${e}/`,r=await this.getHtml(t);this.vodList=await this.parseVodShortListFromDocByCategory(r)}},pl=new Qb;var Zb=class extends al{constructor(){super()}getName(){return pl.getName()}getAppName(){return pl.getAppName()}getJSName(){return pl.getJSName()}async init(e,l){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await pl.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await pl.initCookie(e.server.config.bilicookie),await pl.spiderInit(e),pl.cfgObj.code=0,pl.catOpenStatus=!0,pl.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,l)}async setClasses(){await pl.setClasses(),this.classes=pl.classes}async setFilterObj(){await pl.setFilterObj(),this.filterObj=pl.filterObj}async setHomeVod(){await pl.setHomeVod(),this.homeVodList=pl.homeVodList}async setCategory(e,l,t,r){await pl.setCategory(e,l,t,r),this.vodList=pl.vodList}async setDetail(e){await pl.setDetail(e),this.vodDetail=pl.vodDetail}async setPlay(e,l,t){await pl.setPlay(e,l,t),this.playUrl=pl.playUrl,this.result=pl.result}async setSearch(e,l,t){await pl.setSearch(e,l,t),this.vodList=pl.vodList,this.result=pl.result}async setProxy(e,l){return await pl.proxy(e,l)}},Fs=new Zb;async function KG(n,e){return await Fs.init(n,e)}async function YG(n,e){return await Fs.home(n,e)}async function EEe(n,e){return await Fs.homeVod(n,e)}async function JG(n,e){return await Fs.category(n,e)}async function QG(n,e){return await Fs.detail(n,e)}async function ZG(n,e){return await Fs.play(n,e)}async function eX(n,e){return await Fs.search(n,e)}async function bEe(n,e){return await Fs.proxy(n,e)}var nX={meta:{key:pl.getJSName(),name:pl.getName(),type:pl.getType()},api:async n=>{n.post("/init",KG),n.post("/home",YG),n.post("/category",JG),n.post("/detail",QG),n.post("/play",ZG),n.post("/search",eX),n.get("/proxy/:what/:ids/:end",bEe)},spider:{init:KG,home:YG,homeVod:EEe,category:JG,detail:QG,play:ZG,search:eX}};var eT=class extends wl{constructor(){super(),this.siteUrl="https://www.ojig519d8se.icu"}getName(){return"\u{1F51E}\u2503\u4E5D\u4E5D\u516D\u5F71\u89C6\u2503\u{1F51E}"}getAppName(){return"\u4E5D\u4E5D\u516D\u5F71\u89C6"}getJSName(){return"jiujiuliu"}getType(){return 3}async parseVodShortListFromDoc(e){let l=[],t=e('[class="stui-vodlist clearfix"]').find("li");for(let r of t){let i=e(r).find('[class="stui-vodlist__thumb lazyload"]')[0],s=new Cn;s.vod_id=i.attribs.href,s.vod_name=i.attribs.title,s.vod_pic=i.attribs["data-original"],s.vod_remarks=e(e(i).find('[class="pic-text text-right"]')[0]).text(),l.push(s)}return l}async parseVodShortListFromDocBySearch(e){let l=[],t=e('[class="stui-pannel_bd"]').find("li");for(let r of t){let i=e(e(r).find('[class="thumb"]')[0]).find("a")[0],s=new Cn;s.vod_id=i.attribs.href,s.vod_name=i.attribs.title,s.vod_pic=i.attribs["data-original"],s.vod_remarks=Tl(/类型:(.*?)地区/,e(e(r).find('[class="hidden-mi"]')[0]).text()),l.push(s)}return l}async parseVodDetailFromDoc(e){let l=new Jn,t=e('[class="col-pd clearfix"]')[1],r=e(t).find('[class="stui-content__thumb"]')[0],i=[];for(let u of e('[class="stui-content__playlist clearfix"]').find("a")){let a=this.siteUrl+u.attribs.href,c=e(u).text();i.push(c+"$"+a)}l.vod_name=e(r).find('[class="stui-vodlist__thumb picture v-thumb"]')[0].attribs.title,l.vod_pic=e(r).find("img")[0].attribs["data-original"],l.vod_remarks=e(e(r).find('[class="pic-text text-right"]')[0]).text();let s=e(e(t).find('[class="data"]')).text().replaceAll("\xA0"," ");return l.type_name=Tl(/类型:(.*?) /,s),l.vod_area=Tl(/地区:(.*?) /,s),l.vod_year=Tl(/年份:(.*?) /,s),l.vod_actor=Tl(/主演:(.*?) /,s),l.vod_director=Tl(/导演:(.*?) /,s),l.vod_content=e(e('[class="stu
Line truncated
|
||||
`,"").replaceAll("\u25CF",""),s=[],u=Tl(/var hlsUrl = '(.*?)';/,e.html());s.push(i+"$"+u);let a=[];a.push(s.join("#"));let c=["Jable"];return l.vod_play_from=c.join("$$$"),l.vod_play_url=a.join("$$$"),l}async setHomeVod(){let e=await this.getHtml(this.siteUrl);this.homeVodList=await this.parseVodShortListFromDoc(e)}async setDetail(e){let l=await this.getHtml(this.siteUrl+"/videos/"+e+"/");this.vodDetail=await this.parseVodDetailFromDoc(l)}async setCategory(e,l,t,r){let i=r.type??e,s=r.sort??"video_viewed";this.limit=24;let u;this.total=0,this.count=0,e.indexOf("latest-updates")>1?u=`https://jable.tv/latest-updates/?mode=async&function=get_block&block_id=list_videos_latest_videos_list&sort_by=post_date&from=${l}&_=1709730132217`:u=i+`/${l}/?mode=async&function=get_block&block_id=list_videos_common_videos_list&sort_by=${s}&_=${new Date().getTime()}`;let a=await this.getHtml(u);this.vodList=await this.parseVodShortListFromDoc(a);let c=a(a('[class="page-item"]').slice(-1)[0]).text();c.indexOf("\u6700\u5F8C")>-1||(parseInt(c)===this.page||_e.isEmpty(c))&&(await this.jadeLog.debug("\u5206\u7C7B\u9875\u9762\u5230\u5E95\u4E86"),this.total=this.page,this.count=this.page)}async setSearch(e,l){let t=this.siteUrl+`/search/${e}/`,r=await this.getHtml(t);this.vodList=await this.parseVodShortListFromDocByCategory(r)}},cl=new Wb;var Kb=class extends al{constructor(){super()}getName(){return cl.getName()}getAppName(){return cl.getAppName()}getJSName(){return cl.getJSName()}async init(e,l){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await cl.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await cl.initCookie(e.server.config.bilicookie),await cl.spiderInit(e),cl.cfgObj.code=0,cl.catOpenStatus=!0,cl.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,l)}async setClasses(){await cl.setClasses(),this.classes=cl.classes}async setFilterObj(){await cl.setFilterObj(),this.filterObj=cl.filterObj}async setHomeVod(){await cl.setHomeVod(),this.homeVodList=cl.homeVodList}async setCategory(e,l,t,r){await cl.setCategory(e,l,t,r),this.vodList=cl.vodList}async setDetail(e){await cl.setDetail(e),this.vodDetail=cl.vodDetail}async setPlay(e,l,t){await cl.setPlay(e,l,t),this.playUrl=cl.playUrl,this.result=cl.result}async setSearch(e,l,t){await cl.setSearch(e,l,t),this.vodList=cl.vodList,this.result=cl.result}async setProxy(e,l){return await cl.proxy(e,l)}},Ds=new Kb;async function DG(n,e){return await Ds.init(n,e)}async function LG(n,e){return await Ds.home(n,e)}async function hEe(n,e){return await Ds.homeVod(n,e)}async function FG(n,e){return await Ds.category(n,e)}async function MG(n,e){return await Ds.detail(n,e)}async function $G(n,e){return await Ds.play(n,e)}async function jG(n,e){return await Ds.search(n,e)}async function mEe(n,e){return await Ds.proxy(n,e)}var UG={meta:{key:cl.getJSName(),name:cl.getName(),type:cl.getType()},api:async n=>{n.post("/init",DG),n.post("/home",LG),n.post("/category",FG),n.post("/detail",MG),n.post("/play",$G),n.post("/search",jG),n.get("/proxy/:what/:ids/:end",mEe)},spider:{init:DG,home:LG,homeVod:hEe,category:FG,detail:MG,play:$G,search:jG}};var Yb=class extends al{constructor(){super()}getName(){return"\u2503\u63A8\u9001\u2503"}getAppName(){return"\u63A8\u9001"}getJSName(){return"push"}getType(){return 4}async init(e,l){return await this.jadeLog.debug("\u521D\u59CB\u5316",!0),await Bc(e.server.config.alitoken),{}}async check(e,l){let t=e.body.clip;return await this.jadeLog.debug(`\u526A\u5207\u677F\u8F93\u5165\u5185\u5BB9\u4E3A:${t}`),t.startsWith("http")?(await this.jadeLog.debug("\u6EE1\u8DB3\u63A8\u9001\u6761\u4EF6",!0),"true"):(await this.jadeLog.debug("\u4E0D\u6EE1\u8DB3\u63A8\u9001\u6761\u4EF6",!0),"false")}async parseVodDetailfromJson(e){let l=new Jn;l.vod_pic=$r+"/resources/push.jpg";let t=ZB.exec(e);if(t!==null&&t.length>0){let r=await MH([e]);l.vod_play_url=r.vod_play_url,l.vod_play_from=r.vod_play_from}else l.vod_play_from="\u63A8\u9001",l.vod_play_url="\u63A8\u9001$"+e;return l}async setDetail(e){this.vodDetail=await this.parseVodDetailfromJson(e)}async setPlay(e,l,t){e==="\u63A8\u9001"?this.playUrl=l:this.playUrl=JSON.parse(await $H(e,l,t)).url}},_f=new Yb;async function gEe(n,e){return await _f.init(n,e)}async function yEe(n,e){return await _f.check(n,e)}async function vEe(n,e){return await _f.detail(n,e)}async function _Ee(n,e){return await _f.play(n,e)}var BG={meta:{key:"push",name:"\u63A8\u9001",type:4},api:async n=>{n.post("/init",gEe),n.post("/support",yEe),n.post("/detail",vEe),n.post("/play",_Ee)}};var Jb=class extends L4{constructor(){super(),this.siteUrl="https://cj.lzcaiji.com",this.remove18=!1}getAppName(){return"\u91CF\u5B50\u8D44\u6E9018+"}getName(){return"\u{1F51E}\u2503\u91CF\u5B50\u8D44\u6E9018+\u2503\u{1F51E}"}getJSName(){return"liangzi18"}getType(){return 3}async spiderInit(e){await super.spiderInit(e)}async init(e){await super.init
Line truncated
|
||||
`,""),l.vod_actor=Tl(/出演女优(.*?)\n/,r).replaceAll(":","").replaceAll(`
|
||||
`,""),l.vod_remarks=Tl(/是否有码(.*?)\n/,r).replaceAll(":","").replaceAll(`
|
||||
`,""),l.vod_play_from="BT",l.vod_play_url=l.vod_name+"$"+Tl(/磁力链接: (.*)复制代码/,r),l}async setClasses(){let e=await this.getHtml(),l=e('[id="category_1"]').find("tr").slice(0,-1);for(let t of l){let r=e(e(t).find('[class="fl_icn_g"]')).find("a");for(let i of r){let s=i.attribs.href,u=e(i).find("img")[0].attribs.alt;this.classes.push(this.getTypeDic(u,s))}}}async getFilter(e){let l=[],t={key:1,name:"\u7C7B\u578B",value:[]},r=e('[id="thread_types"]').find("a");for(let u of r){let a="";u.children.length>1?a=u.children[0].data+":"+e(u.children[1]).text():a=u.children[0].data,t.value.push({n:a,v:u.attribs.href})}l.push(t);let i={key:1,name:"\u4E3B\u9898",value:[]},s=e('[class="tf"]').find("a");for(let u of s){let a=e(u).text();a!=="\u66F4\u591A"&&a!=="\u663E\u793A\u7F6E\u9876"&&i.value.push({n:e(u).text(),v:u.attribs.href})}return l.push(i),l}async setFilterObj(){for(let e of this.classes){let l=e.type_name,t=e.type_id;if(l!=="\u6700\u8FD1\u66F4\u65B0"){let r=await this.getHtml(this.siteUrl+"/"+t);this.filterObj[t]=await this.getFilter(r)}}}async setHomeVod(){let e=await this.getHtml();this.homeVodList=await this.parseVodShortListFromDoc(e)}async setCategory(e,l,t,r){r[1]!==void 0&&r[1]==="javascript:;"||(e=r[1]??e);let i,s=e.split(".")[0].split("-");s.length>2?(s[2]=l,i=this.siteUrl+"/"+s.join("-")+".html"):i=this.siteUrl+"/"+e+"&page="+l;let u=await this.getHtml(i);this.vodList=await this.parseVodShortListFromDocByCategory(u)}async setDetail(e){let l=await this.getHtml(this.siteUrl+"/"+e);this.vodDetail=await this.parseVodDetailFromDoc(l)}async proxy(e,l){await this.jadeLog.debug(`\u6B63\u5728\u8BBE\u7F6E\u53CD\u5411\u4EE3\u7406 segments = ${e.join(",")},headers = ${JSON.stringify(l)}`);let t=e[0],r=R3(e[1]);if(t==="detail"){await this.jadeLog.debug(`\u53CD\u5411\u4EE3\u7406ID\u4E3A:${r}`);let i=await this.getHtml(this.siteUrl+"/"+r),s=await this.parseVodDetailFromDoc(i);await this.jadeLog.debug(`\u56FE\u7247\u5730\u5740\u4E3A:${s.vod_pic}`);let u;return _e.isEmpty(l)?u=await req(s.vod_pic,{buffer:2,headers:{Referer:r,"User-Agent":Mr}}):u=await req(s.vod_pic,{buffer:2,headers:l}),JSON.stringify({code:u.code,buffer:2,content:u.content,headers:u.headers})}return JSON.stringify({code:500,content:""})}},hl=new lT;var tT=class extends al{constructor(){super()}getName(){return hl.getName()}getAppName(){return hl.getAppName()}getJSName(){return hl.getJSName()}async init(e,l){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await hl.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await hl.initCookie(e.server.config.bilicookie),await hl.spiderInit(e),hl.cfgObj.code=0,hl.catOpenStatus=!0,hl.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,l)}async setClasses(){await hl.setClasses(),this.classes=hl.classes}async setFilterObj(){await hl.setFilterObj(),this.filterObj=hl.filterObj}async setHomeVod(){await hl.setHomeVod(),this.homeVodList=hl.homeVodList}async setCategory(e,l,t,r){await hl.setCategory(e,l,t,r),this.vodList=hl.vodList}async setDetail(e){await hl.setDetail(e),this.vodDetail=hl.vodDetail}async setPlay(e,l,t){await hl.setPlay(e,l,t),this.playUrl=hl.playUrl,this.result=hl.result}async setSearch(e,l,t){await hl.setSearch(e,l,t),this.vodList=hl.vodList,this.result=hl.result}async setProxy(e,l){return await hl.proxy(e,l)}},$s=new tT;async function oX(n,e){return await $s.init(n,e)}async function cX(n,e){return await $s.home(n,e)}async function xEe(n,e){return await $s.homeVod(n,e)}async function fX(n,e){return await $s.category(n,e)}async function pX(n,e){return await $s.detail(n,e)}async function dX(n,e){return await $s.play(n,e)}async function hX(n,e){return await $s.search(n,e)}async function AEe(n,e){return await $s.proxy(n,e)}var mX={meta:{key:hl.getJSName(),name:hl.getName(),type:hl.getType()},api:async n=>{n.post("/init",oX),n.post("/home",cX),n.post("/category",fX),n.post("/detail",pX),n.post("/play",dX),n.post("/search",hX),n.get("/proxy/:what/:ids/:end",AEe)},spider:{init:oX,home:cX,homeVod:xEe,category:fX,detail:pX,play:dX,search:hX}};var rT=class extends wl{constructor(){super(),this.siteUrl="https://hsck12.shop/"}getName(){return"\u{1F51E}\u2503\u9EC4\u8272\u4ED3\u5E93\u2503\u{1F51E}"}getAppName(){return"\u9EC4\u8272\u4ED3\u5E93"}getJSName(){return"hscangku"}getType(){return 3}async parseVodShortListFromDoc(e){let l=[],t=e('[class="stui-vodlist clearfix"]').find("li");for(let r of t){let i=new Cn,s=e(r).find("a")[0];i.vod_id=s.attribs.href,i.vod_name=s.attribs.title,i.vod_pic=s.attribs["data-original"],l.push(i)}return l}async parseVodDetailFromDoc(e){let l=new Jn,t=e(e('[class="stui-pannel__head clearfix"]')[1]).find("h3"),i=e("div.stui-pannel-bd > div").find("video")[0];return l.vod_name=t.text(),l.vod_pic=i.attribs.poster,l.vod_play_from="\u9EC4\u8272\u4ED3\u5E93",l.vod_play_url=e(i).find("source")[0].attribs.src,l}async setClasses(){this.classes=
Line truncated
|
||||
`,""),l.vod_play_from="BT",l.vod_play_url=l.vod_name+"$"+Tl(/磁力链接: (.*)复制代码/,r),l}async setClasses(){let e=await this.getHtml(),l=e('[id="category_1"]').find("tr").slice(0,-1);for(let t of l){let r=e(e(t).find('[class="fl_icn_g"]')).find("a");for(let i of r){let s=i.attribs.href,u=e(i).find("img")[0].attribs.alt;this.classes.push(this.getTypeDic(u,s))}}}async getFilter(e){let l=[],t={key:1,name:"\u7C7B\u578B",value:[]},r=e('[id="thread_types"]').find("a");for(let u of r){let a="";u.children.length>1?a=u.children[0].data+":"+e(u.children[1]).text():a=u.children[0].data,t.value.push({n:a,v:u.attribs.href})}l.push(t);let i={key:1,name:"\u4E3B\u9898",value:[]},s=e('[class="tf"]').find("a");for(let u of s){let a=e(u).text();a!=="\u66F4\u591A"&&a!=="\u663E\u793A\u7F6E\u9876"&&i.value.push({n:e(u).text(),v:u.attribs.href})}return l.push(i),l}async setFilterObj(){for(let e of this.classes){let l=e.type_name,t=e.type_id;if(l!=="\u6700\u8FD1\u66F4\u65B0"){let r=await this.getHtml(this.siteUrl+"/"+t);this.filterObj[t]=await this.getFilter(r)}}}async setHomeVod(){let e=await this.getHtml();this.homeVodList=await this.parseVodShortListFromDoc(e)}async setCategory(e,l,t,r){r[1]!==void 0&&r[1]==="javascript:;"||(e=r[1]??e);let i,s=e.split(".")[0].split("-");s.length>2?(s[2]=l,i=this.siteUrl+"/"+s.join("-")+".html"):i=this.siteUrl+"/"+e+"&page="+l;let u=await this.getHtml(i);this.vodList=await this.parseVodShortListFromDocByCategory(u)}async setDetail(e){let l=await this.getHtml(this.siteUrl+"/"+e);this.vodDetail=await this.parseVodDetailFromDoc(l)}async proxy(e,l){await this.jadeLog.debug(`\u6B63\u5728\u8BBE\u7F6E\u53CD\u5411\u4EE3\u7406 segments = ${e.join(",")},headers = ${JSON.stringify(l)}`);let t=e[0],r=R3(e[1]);if(t==="detail"){await this.jadeLog.debug(`\u53CD\u5411\u4EE3\u7406ID\u4E3A:${r}`);let i=await this.getHtml(this.siteUrl+"/"+r),s=await this.parseVodDetailFromDoc(i);await this.jadeLog.debug(`\u56FE\u7247\u5730\u5740\u4E3A:${s.vod_pic}`);let u;return _e.isEmpty(l)?u=await req(s.vod_pic,{buffer:2,headers:{Referer:r,"User-Agent":Mr}}):u=await req(s.vod_pic,{buffer:2,headers:l}),JSON.stringify({code:u.code,buffer:2,content:u.content,headers:u.headers})}return JSON.stringify({code:500,content:""})}},pl=new Zb;var eT=class extends al{constructor(){super()}getName(){return pl.getName()}getAppName(){return pl.getAppName()}getJSName(){return pl.getJSName()}async init(e,l){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await pl.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await pl.initCookie(e.server.config.bilicookie),await pl.spiderInit(e),pl.cfgObj.code=0,pl.catOpenStatus=!0,pl.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,l)}async setClasses(){await pl.setClasses(),this.classes=pl.classes}async setFilterObj(){await pl.setFilterObj(),this.filterObj=pl.filterObj}async setHomeVod(){await pl.setHomeVod(),this.homeVodList=pl.homeVodList}async setCategory(e,l,t,r){await pl.setCategory(e,l,t,r),this.vodList=pl.vodList}async setDetail(e){await pl.setDetail(e),this.vodDetail=pl.vodDetail}async setPlay(e,l,t){await pl.setPlay(e,l,t),this.playUrl=pl.playUrl,this.result=pl.result}async setSearch(e,l,t){await pl.setSearch(e,l,t),this.vodList=pl.vodList,this.result=pl.result}async setProxy(e,l){return await pl.proxy(e,l)}},Fs=new eT;async function KG(n,e){return await Fs.init(n,e)}async function YG(n,e){return await Fs.home(n,e)}async function TEe(n,e){return await Fs.homeVod(n,e)}async function JG(n,e){return await Fs.category(n,e)}async function QG(n,e){return await Fs.detail(n,e)}async function ZG(n,e){return await Fs.play(n,e)}async function eX(n,e){return await Fs.search(n,e)}async function SEe(n,e){return await Fs.proxy(n,e)}var nX={meta:{key:pl.getJSName(),name:pl.getName(),type:pl.getType()},api:async n=>{n.post("/init",KG),n.post("/home",YG),n.post("/category",JG),n.post("/detail",QG),n.post("/play",ZG),n.post("/search",eX),n.get("/proxy/:what/:ids/:end",SEe)},spider:{init:KG,home:YG,homeVod:TEe,category:JG,detail:QG,play:ZG,search:eX}};function lX(n,{key:e,iv:l}={}){let t="B77A9FF7F323B5404902102257503C2F",r="B77A9FF7F323B5404902102257503C2F";var i=Bn.enc.Utf8.parse(n),s=Bn.AES.encrypt(i,Bn.enc.Utf8.parse(e||t),{iv:Bn.enc.Utf8.parse(l||r),mode:Bn.mode.CBC,padding:Bn.pad.Pkcs7});return Bn.enc.Base64.stringify(s.ciphertext)}function xEe(){let n=new Date;return lX(parseInt(n.getTime()/1e3)+n.getTimezoneOffset()*60+-1)}function AEe(n){let l=Bn.enc.Utf8.parse("46cc793c53dc451b"),t=Bn.AES.decrypt(n,l,{mode:Bn.mode.ECB,padding:Bn.pad.Pkcs7});return Bn.enc.Utf8.stringify(t).toString()}var nT=class extends wl{constructor(){super(),this.siteUrl="https://api.qianyuewenhua.xyz"}async spiderInit(e=null){e!==null?this.jsBase=await js2Proxy(e,"imgBt",this.getHeader()):this.jsBase=await js2Proxy(!0,this.siteType,this.siteKey,"imgBt/",this.getHeader())}async init(e){awa
Line truncated
|
||||
`),a=e(s).find("a"),c=[{n:"\u5168\u90E8",v:r}],f=t.toString();for(let p of a){let m=e(p).text().replaceAll(`
|
||||
`,""),h=p.attribs.href;h!==void 0&&c.push({n:m,v:h})}u=u.filter(p=>p!==""),this.filterObj[r].push({key:f,name:u[0],value:c})}let i=e('[id="side-menu"]').find("li");for(let s of i){let u=e(s).find("a")[0].attribs.href;if(u!==void 0&&u.indexOf(this.siteUrl)>-1){let a={type_name:e(s).text(),type_id:u};this.classes.push(a)}}}async setHomeVod(){let e=await this.getHtml(this.siteUrl);this.homeVodList=await this.parseVodShortListFromDoc(e)}async setCategory(e,l,t,r){r[1]!==void 0&&r[1]!=="1"&&(e=r[1]),await this.jadeLog.info(`tid = ${e}`);let i="";e.indexOf(this.siteUrl)>-1?i=e+l.toString()+".html":i=this.siteUrl,this.limit=36;let s=await this.getHtml(i);this.vodList=await this.parseVodShortListFromDoc(s)}async setDetail(e){let l=await this.getHtml(e),t=Tl(/video\/(\w+).html/,e);this.vodDetail=await this.parseVodDetailFromDoc(l,t)}async setPlay(e,l,t){this.playUrl=l,this.playHeader={}}async setSearch(e,l){let t=this.siteUrl+"search/"+encodeURIComponent(e),r=await this.getHtml(t);this.vodList=await this.parseVodShortListFromDoc(r)}async proxy(e,l){return super.proxy(e,l)}},_l=new hT;var mT=class extends al{constructor(){super()}getName(){return _l.getName()}getAppName(){return _l.getAppName()}getJSName(){return _l.getJSName()}async init(e,l){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await _l.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await _l.initCookie(e.server.config.bilicookie),await _l.spiderInit(e),_l.cfgObj.code=0,_l.catOpenStatus=!0,_l.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,l)}async setClasses(){await _l.setClasses(),this.classes=_l.classes}async setFilterObj(){await _l.setFilterObj(),this.filterObj=_l.filterObj}async setHomeVod(){await _l.setHomeVod(),this.homeVodList=_l.homeVodList}async setCategory(e,l,t,r){await _l.setCategory(e,l,t,r),this.vodList=_l.vodList}async setDetail(e){await _l.setDetail(e),this.vodDetail=_l.vodDetail}async setPlay(e,l,t){await _l.setPlay(e,l,t),this.playUrl=_l.playUrl,this.result=_l.result}async setSearch(e,l,t){await _l.setSearch(e,l,t),this.vodList=_l.vodList,this.result=_l.result}async setProxy(e,l){return await _l.proxy(e,l)}},Xs=new mT;async function GX(n,e){return await Xs.init(n,e)}async function XX(n,e){return await Xs.home(n,e)}async function BEe(n,e){return await Xs.homeVod(n,e)}async function WX(n,e){return await Xs.category(n,e)}async function KX(n,e){return await Xs.detail(n,e)}async function YX(n,e){return await Xs.play(n,e)}async function JX(n,e){return await Xs.search(n,e)}async function HEe(n,e){return await Xs.proxy(n,e)}var QX={meta:{key:_l.getJSName(),name:_l.getName(),type:_l.getType()},api:async n=>{n.post("/init",GX),n.post("/home",XX),n.post("/category",WX),n.post("/detail",KX),n.post("/play",YX),n.post("/search",JX),n.get("/proxy/:what/:ids/:end",HEe)},spider:{init:GX,home:XX,homeVod:BEe,category:WX,detail:KX,play:YX,search:JX}};var ZX=[19970,19972,19973,19974,19983,19986,19991,19999,2e4,20001,20003,20006,20009,20014,20015,20017,20019,20021,20023,20028,20032,20033,20034,20036,20038,20042,20049,20053,20055,20058,20059,20066,20067,20068,20069,20071,20072,20074,20075,20076,20077,20078,20079,20082,20084,20085,20086,20087,20088,20089,20090,20091,20092,20093,20095,20096,20097,20098,20099,20100,20101,20103,20106,null,20112,20118,20119,20121,20124,20125,20126,20131,20138,20143,20144,20145,20148,20150,20151,20152,20153,20156,20157,20158,20168,20172,20175,20176,20178,20186,20187,20188,20192,20194,20198,20199,20201,20205,20206,20207,20209,20212,20216,20217,20218,20220,20222,20224,20226,20227,20228,20229,20230,20231,20232,20235,20236,20242,20243,20244,20245,20246,20252,20253,20257,20259,20264,20265,20268,20269,20270,20273,20275,20277,20279,20281,20283,20286,20287,20288,20289,20290,20292,20293,20295,20296,20297,20298,20299,20300,20306,20308,20310,20321,20322,20326,20328,20330,20331,20333,20334,20337,20338,20341,20343,20344,20345,20346,20349,20352,20353,20354,20357,20358,20359,20362,20364,20366,20368,20370,20371,20373,20374,20376,20377,20378,20380,20382,20383,20385,20386,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,20388,20395,20397,20400,20401,20402,20403,20404,20406,20407,20408,20409,20410,20411,20412,20413,20414,20416,20417,20418,20422,20423,20424,20425,20427,20428,20429,20434,20435,20436,20437,20438,20441,20443,20448,20450,20452,20453,20455,20459,20460,20464,20466,20468,20469,20470,20471,20473,20475,20476,20477,20479,20480,20481,20482,20483,20484,20485,20486,20487,20488,20489,20490,null,20491,20494,20496,20497,20499,20501,20502,20503,20507,20509,20510,20512,20514,20515,20516,20519,20523,20527,20528,20529,20530,20531,20532,205
Line truncated
|
||||
`)),e.push(r)}return e}async parseVodShortListFromDocBySearch(n){let e=n('[class="show-list"]').find("li"),l=[];for(let t of e){let r=new Cn;r.vod_id=n(t).find("a")[0].attribs.href;let i=n(t).find("img")[0];r.vod_pic=i.attribs.src,r.vod_name=i.attribs.alt,r.vod_remarks=n(n(t).find('[class="type fn-left"]')).text().replace("\u7C7B\u578B\uFF1A",""),r.vod_remarks!=="\u793E\u5904\u7247"&&r.vod_remarks!=="\u793E\u4FDD\u7247"&&r.vod_remarks!=="\u64B8\u4E1D\u7247"&&r.vod_remarks!=="\u64B8\u4E1D\u52A8\u6F2B"&&l.push(r)}return l}async parseVodDetailFromDoc(n){let e=new Jn,l=n('[class="detail-pic fn-left"]').find("img")[0];e.vod_pic=l.attribs.src,e.vod_name=l.attribs.alt;let t=n('[class="info fn-clear"]');for(let c of n(t).find("dl")){let f=n(c).text();f.indexOf("\u4E3B\u6F14")>-1&&(e.vod_actor=f.replaceAll("\u4E3B\u6F14\uFF1A","").replaceAll(`
|
||||
`,"")),f.indexOf("\u72B6\u6001")>-1&&(e.vod_remarks=f.replaceAll("\u72B6\u6001\uFF1A","").replaceAll(`
|
||||
`,"")),f.indexOf("\u7C7B\u578B")>-1&&(e.type_name=f.replaceAll("\u7C7B\u578B\uFF1A","").replaceAll(`
|
||||
@@ -414,7 +414,7 @@ function print() { __p += __j.call(arguments, '') }
|
||||
`,"")),f.indexOf("\u5BFC\u6F14")>-1&&(e.vod_director=f.replaceAll("\u5BFC\u6F14\uFF1A","").replaceAll(`
|
||||
`,"")),f.indexOf("\u5E74\u4EFD")>-1&&(e.vod_year=f.replaceAll("\u5E74\u4EFD\uFF1A","").replaceAll(`
|
||||
`,"")),f.indexOf("\u5267\u60C5")>-1&&(e.vod_content=f.replaceAll("\u5267\u60C5\uFF1A","").replaceAll(`
|
||||
`,""))}let r={},i=n.html(),s=n('[class="play-list"]'),u=1;for(let c of s){let f=`\u64AD\u653E\u8FDE\u63A5-${u}`,p=[];for(let m of n(c).find("a")){let h=m.attribs.title,g=m.attribs.href;p.push(h+"$"+g)}r[f]=p.join("#"),u=u+1}u=1;let a=n('[class="con4"]');for(let c of a){let f=`\u78C1\u529B\u94FE\u63A5-${u}`,p=[],m=f,h=n(n(c).find("div")).find("a")[0].attribs.href;h!=="javascript:void(0);"&&(p.push(m+"$"+h),r[f]=p.join("#"),u=u+1)}return e.vod_play_url=_e.values(r).join("$$$"),e.vod_play_from=_e.keys(r).join("$$$"),e}async setHomeVod(){let n=await this.getHtml();this.homeVodList=await this.parseVodShortListFromDoc(n)}async setDetail(n){let e=await this.getHtml(this.siteUrl+n);this.vodDetail=await this.parseVodDetailFromDoc(e)}getExtend(n){if(n.class!==void 0&&n.class!=="\u5168\u90E8")return n.class}async setCategory(n,e,l,t){let r=this.getExtend(t)??n,i;r===n?i=this.siteUrl+r:parseInt(e)===1?i=this.siteUrl+r:i=this.siteUrl+r+`index${e}.html`;let s=await this.getHtml(i);this.vodList=await this.parseVodShortListFromDoc(s)}async setPlay(flag,id,flags){if(flag.indexOf("\u78C1\u529B")>-1)this.playUrl=id;else{let idSplitList=id.split("-"),flag_id=parseInt(idSplitList[1]),episode=parseInt(idSplitList[2].split(".")[0]),$=await this.getHtml(this.siteUrl+id),playJsUrl=Tl(/<script type="text\/javascript" src="(.*?)">/,$.html()),playJsContent=await this.fetch(this.siteUrl+playJsUrl,null,this.getHeader()),playUrlListStr=Tl(/var VideoListJson=(.*?),urlinfo=/,playJsContent),playDic=eval(playUrlListStr);if(this.playUrl=playDic[flag_id][1][episode].split("$")[1],this.playUrl.indexOf("m3u8")===-1){let n=await this.fetch(this.playUrl,null,this.getHeader());this.playUrl=Tl(/url: '(.*?)'/,n)}}}GBKEncode(n){var e=33088;n+="";for(var l=[],t=63,r=0;r<n.length;r++){var i=n.charCodeAt(r);if(i<128)l.push(i);else{var s=IX.indexOf(i);~s?(s+=e,l.push(255&s>>8,255&s)):l.push(t)}}return l}encode(n){let e="";for(let l of n){let t=this.GBKEncode(l);for(let r=0;r<t.length;r++)t[r]="%"+("0"+t[r].toString(16)).substr(-2).toUpperCase();e=e+t.join("")}return e}async setSearch(n,e){let l={searchword:this.encode(n)},t=await this.post(this.siteUrl+"/search.asp",l,this.getHeader(),"form",1),r=ul(aE(t,"gb2312"));this.vodList=await this.parseVodShortListFromDocBySearch(r)}},ya=new V5;async function IEe(n){await ya.init(n)}async function CEe(n){return await ya.home(n)}async function kEe(){return await ya.homeVod()}async function PEe(n,e,l,t){return await ya.category(n,e,l,t)}async function DEe(n){return await ya.detail(n)}async function LEe(n,e,l){return await ya.play(n,e,l)}async function FEe(n,e){return await ya.search(n,e)}function YPe(){return{init:IEe,home:CEe,homeVod:kEe,category:PEe,detail:DEe,play:LEe,search:FEe}}var aT=class extends V5{constructor(){super(),this.siteUrl="https://b.aqdyje.com",this.removeKey="\u9A91\u5175\u8425"}getName(){return"\u{1F51E}\u2503\u7231\u60C5\u7535\u5F71\u7F5118+\u2503\u{1F51E}"}getAppName(){return"\u7231\u60C5\u7535\u5F71\u7F5118+"}getJSName(){return"lovemovie18"}getType(){return 3}async parseVodShortListFromDocBySearch(e){let l=e('[class="show-list"]').find("li"),t=[];for(let r of l){let i=new Cn;i.vod_id=e(r).find("a")[0].attribs.href;let s=e(r).find("img")[0];i.vod_pic=s.attribs.src,i.vod_name=s.attribs.alt,i.vod_remarks=e(e(r).find('[class="type fn-left"]')).text().replace("\u7C7B\u578B\uFF1A",""),(i.vod_remarks==="\u793E\u5904\u7247"||i.vod_remarks==="\u793E\u4FDD\u7247"||i.vod_remarks==="\u64B8\u4E1D\u7247"||i.vod_remarks==="\u64B8\u4E1D\u52A8\u6F2B")&&t.push(i)}return t}async getFilter(e){let l=await this.getHtml(this.siteUrl+e),t=[],r={key:"class",name:"\u7C7B\u578B",value:[]};for(let i of l('[class="subnav-tv fn-left"]').find("a")){let s=l(i).text(),u=i.attribs.href;r.value.push(this.getFliterDic(s,u))}return r.value.length>1&&t.push(r),t}async setClasses(){let e=await this.getHtml(),l=e('[class="nav-item drop-down "]');this.classes=[];for(let t of l){let r=e(t).find("a")[0],i=e(r).text(),s=r.attribs.href;i===this.removeKey&&(this.classes.push(this.getTypeDic(i,s)),this.filterObj[s]=await this.getFilter(s))}}async setCategory(e,l,t,r){let i=this.getExtend(r)??e,s;parseInt(l)===1?s=this.siteUrl+i:s=this.siteUrl+i+`index${l}.html`;let u=await this.getHtml(s);this.vodList=await this.parseVodShortListFromDoc(u)}},yl=new aT;var oT=class extends al{constructor(){super()}getName(){return yl.getName()}getAppName(){return yl.getAppName()}getJSName(){return yl.getJSName()}async init(e,l){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await yl.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await yl.initCookie(e.server.config.bilicookie),await yl.spiderInit(e),yl.cfgObj.code=0,yl.catOpenStatus=!0,yl.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,l)}async setClasses(){await yl.setClasses(),this.classes=yl.classes}async setFilterObj(){await yl.setFilterObj(),this.filterObj=
Line truncated
|
||||
`,""))}let r={},i=n.html(),s=n('[class="play-list"]'),u=1;for(let c of s){let f=`\u64AD\u653E\u8FDE\u63A5-${u}`,p=[];for(let m of n(c).find("a")){let h=m.attribs.title,g=m.attribs.href;p.push(h+"$"+g)}r[f]=p.join("#"),u=u+1}u=1;let a=n('[class="con4"]');for(let c of a){let f=`\u78C1\u529B\u94FE\u63A5-${u}`,p=[],m=f,h=n(n(c).find("div")).find("a")[0].attribs.href;h!=="javascript:void(0);"&&(p.push(m+"$"+h),r[f]=p.join("#"),u=u+1)}return e.vod_play_url=_e.values(r).join("$$$"),e.vod_play_from=_e.keys(r).join("$$$"),e}async setHomeVod(){let n=await this.getHtml();this.homeVodList=await this.parseVodShortListFromDoc(n)}async setDetail(n){let e=await this.getHtml(this.siteUrl+n);this.vodDetail=await this.parseVodDetailFromDoc(e)}getExtend(n){if(n.class!==void 0&&n.class!=="\u5168\u90E8")return n.class}async setCategory(n,e,l,t){let r=this.getExtend(t)??n,i;r===n?i=this.siteUrl+r:parseInt(e)===1?i=this.siteUrl+r:i=this.siteUrl+r+`index${e}.html`;let s=await this.getHtml(i);this.vodList=await this.parseVodShortListFromDoc(s)}async setPlay(flag,id,flags){if(flag.indexOf("\u78C1\u529B")>-1)this.playUrl=id;else{let idSplitList=id.split("-"),flag_id=parseInt(idSplitList[1]),episode=parseInt(idSplitList[2].split(".")[0]),$=await this.getHtml(this.siteUrl+id),playJsUrl=Tl(/<script type="text\/javascript" src="(.*?)">/,$.html()),playJsContent=await this.fetch(this.siteUrl+playJsUrl,null,this.getHeader()),playUrlListStr=Tl(/var VideoListJson=(.*?),urlinfo=/,playJsContent),playDic=eval(playUrlListStr);if(this.playUrl=playDic[flag_id][1][episode].split("$")[1],this.playUrl.indexOf("m3u8")===-1){let n=await this.fetch(this.playUrl,null,this.getHeader());this.playUrl=Tl(/url: '(.*?)'/,n)}}}GBKEncode(n){var e=33088;n+="";for(var l=[],t=63,r=0;r<n.length;r++){var i=n.charCodeAt(r);if(i<128)l.push(i);else{var s=ZX.indexOf(i);~s?(s+=e,l.push(255&s>>8,255&s)):l.push(t)}}return l}encode(n){let e="";for(let l of n){let t=this.GBKEncode(l);for(let r=0;r<t.length;r++)t[r]="%"+("0"+t[r].toString(16)).substr(-2).toUpperCase();e=e+t.join("")}return e}async setSearch(n,e){let l={searchword:this.encode(n)},t=await this.post(this.siteUrl+"/search.asp",l,this.getHeader(),"form",1),r=ul(aE(t,"gb2312"));this.vodList=await this.parseVodShortListFromDocBySearch(r)}},ya=new V5;async function qEe(n){await ya.init(n)}async function VEe(n){return await ya.home(n)}async function zEe(){return await ya.homeVod()}async function GEe(n,e,l,t){return await ya.category(n,e,l,t)}async function XEe(n){return await ya.detail(n)}async function WEe(n,e,l){return await ya.play(n,e,l)}async function KEe(n,e){return await ya.search(n,e)}function TDe(){return{init:qEe,home:VEe,homeVod:zEe,category:GEe,detail:XEe,play:WEe,search:KEe}}var gT=class extends V5{constructor(){super(),this.siteUrl="https://b.aqdyje.com",this.removeKey="\u9A91\u5175\u8425"}getName(){return"\u{1F51E}\u2503\u7231\u60C5\u7535\u5F71\u7F5118+\u2503\u{1F51E}"}getAppName(){return"\u7231\u60C5\u7535\u5F71\u7F5118+"}getJSName(){return"lovemovie18"}getType(){return 3}async parseVodShortListFromDocBySearch(e){let l=e('[class="show-list"]').find("li"),t=[];for(let r of l){let i=new Cn;i.vod_id=e(r).find("a")[0].attribs.href;let s=e(r).find("img")[0];i.vod_pic=s.attribs.src,i.vod_name=s.attribs.alt,i.vod_remarks=e(e(r).find('[class="type fn-left"]')).text().replace("\u7C7B\u578B\uFF1A",""),(i.vod_remarks==="\u793E\u5904\u7247"||i.vod_remarks==="\u793E\u4FDD\u7247"||i.vod_remarks==="\u64B8\u4E1D\u7247"||i.vod_remarks==="\u64B8\u4E1D\u52A8\u6F2B")&&t.push(i)}return t}async getFilter(e){let l=await this.getHtml(this.siteUrl+e),t=[],r={key:"class",name:"\u7C7B\u578B",value:[]};for(let i of l('[class="subnav-tv fn-left"]').find("a")){let s=l(i).text(),u=i.attribs.href;r.value.push(this.getFliterDic(s,u))}return r.value.length>1&&t.push(r),t}async setClasses(){let e=await this.getHtml(),l=e('[class="nav-item drop-down "]');this.classes=[];for(let t of l){let r=e(t).find("a")[0],i=e(r).text(),s=r.attribs.href;i===this.removeKey&&(this.classes.push(this.getTypeDic(i,s)),this.filterObj[s]=await this.getFilter(s))}}async setCategory(e,l,t,r){let i=this.getExtend(r)??e,s;parseInt(l)===1?s=this.siteUrl+i:s=this.siteUrl+i+`index${l}.html`;let u=await this.getHtml(s);this.vodList=await this.parseVodShortListFromDoc(u)}},El=new gT;var yT=class extends al{constructor(){super()}getName(){return El.getName()}getAppName(){return El.getAppName()}getJSName(){return El.getJSName()}async init(e,l){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await El.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await El.initCookie(e.server.config.bilicookie),await El.spiderInit(e),El.cfgObj.code=0,El.catOpenStatus=!0,El.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,l)}async setClasses(){await El.setClasses(),this.classes=El.classes}async setFilterObj(){await El.setFilterObj(),this.filterObj=
Line truncated
|
||||
/*! Bundled license information:
|
||||
|
||||
uri-js/dist/es5/uri.all.js:
|
||||
|
||||
@@ -1 +1 @@
|
||||
dfdc989f1dfc4b73496ad5156526d668
|
||||
8fbad07750fb5a0bc2a036c0fdd457da
|
||||
Vendored
+30
-30
@@ -398,14 +398,17 @@ function print() { __p += __j.call(arguments, '') }
|
||||
`+i):l.stack=i}throw l}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=ss(this.defaults,n);let{transitional:l,paramsSerializer:r,headers:i}=n;l!==void 0&&Sf.assertOptions(l,{silentJSONParsing:oa.transitional(oa.boolean),forcedJSONParsing:oa.transitional(oa.boolean),clarifyTimeoutError:oa.transitional(oa.boolean)},!1),r!=null&&(Z.isFunction(r)?n.paramsSerializer={serialize:r}:Sf.assertOptions(r,{encode:oa.function,serialize:oa.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&Z.merge(i.common,i[n.method]);i&&Z.forEach(["delete","get","head","post","put","patch","common"],y=>{delete i[y]}),n.headers=a2.concat(s,i);let a=[],u=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(u=u&&_.synchronous,a.unshift(_.fulfilled,_.rejected))});let o=[];this.interceptors.response.forEach(function(_){o.push(_.fulfilled,_.rejected)});let c,f=0,m;if(!u){let y=[wf.bind(this),void 0];for(y.unshift.apply(y,a),y.push.apply(y,o),m=y.length,c=Promise.resolve(n);f<m;)c=c.then(y[f++],y[f++]);return c}m=a.length;let d=n;for(f=0;f<m;){let y=a[f++],_=a[f++];try{d=y(d)}catch(S){_.call(this,S);break}}try{c=wf.call(this,d)}catch(y){return Promise.reject(y)}for(f=0,m=o.length;f<m;)c=c.then(o[f++],o[f++]);return c}getUri(e){e=ss(this.defaults,e);let n=_o(e.baseURL,e.url);return vo(n,e.params,e.paramsSerializer)}};Z.forEach(["delete","get","head","options"],function(e){M4.prototype[e]=function(n,l){return this.request(ss(l||{},{method:e,url:n,data:(l||{}).data}))}});Z.forEach(["post","put","patch"],function(e){function n(l){return function(i,s,a){return this.request(ss(a||{},{method:e,headers:l?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}M4.prototype[e]=n(),M4.prototype[e+"Form"]=n(!0)});var K6=M4;var Gw=class t{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});let l=this;this.promise.then(r=>{if(!l._listeners)return;let i=l._listeners.length;for(;i-- >0;)l._listeners[i](r);l._listeners=null}),this.promise.then=r=>{let i,s=new Promise(a=>{l.subscribe(a),i=a}).then(r);return s.cancel=function(){l.unsubscribe(i)},s},e(function(i,s,a){l.reason||(l.reason=new Dr(i,s,a),n(l.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new t(function(r){e=r}),cancel:e}}},mK=Gw;function Jw(t){return function(n){return t.apply(null,n)}}function Kw(t){return Z.isObject(t)&&t.isAxiosError===!0}var Xw={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Xw).forEach(([t,e])=>{Xw[e]=t});var yK=Xw;function gK(t){let e=new K6(t),n=L6(K6.prototype.request,e);return Z.extend(n,K6.prototype,e,{allOwnKeys:!0}),Z.extend(n,e,null,{allOwnKeys:!0}),n.create=function(r){return gK(ss(t,r))},n}var Kl=gK(F4);Kl.Axios=K6;Kl.CanceledError=Dr;Kl.CancelToken=mK;Kl.isCancel=$6;Kl.VERSION=bo;Kl.toFormData=sa;Kl.AxiosError=Ve;Kl.Cancel=Kl.CanceledError;Kl.all=function(e){return Promise.all(e)};Kl.spread=Jw;Kl.isAxiosError=Kw;Kl.mergeConfig=ss;Kl.AxiosHeaders=a2;Kl.formToJSON=t=>yf(Z.isHTMLForm(t)?new FormData(t):t);Kl.getAdapter=bf.getAdapter;Kl.HttpStatusCode=yK;Kl.default=Kl;var $4=Kl;var{Axios:KUe,AxiosError:XUe,CanceledError:WUe,isCancel:YUe,CancelToken:QUe,VERSION:ZUe,all:eMe,Cancel:tMe,isAxiosError:nMe,spread:lMe,toFormData:vK,AxiosHeaders:rMe,HttpStatusCode:iMe,formToJSON:sMe,getAdapter:aMe,mergeConfig:uMe}=$4;var AK=Zl(require("https"),1),OK=Zl(require("crypto"),1),NK=Zl(TK(),1),Qw={};globalThis.dataBase=null;globalThis.local={get:async function(t,e){return await Sxe(t,e)},set:asy
Line truncated
|
||||
`},timeout:.1}),await dataBase.push(l,Qw)}globalThis.localLog={set:async function(t,e,n){Axe(t,e,n)}};function xxe(){So.default.existsSync("log")||So.default.mkdirSync("log");let t="log/info.log";return So.default.existsSync(t)?So.default.readFileSync(t).toString():(So.default.writeFileSync(t,""),"")}function Axe(t){So.default.writeFileSync("log/info.log",xxe()+`
|
||||
`+t)}globalThis.req=Oxe;async function Oxe(t,e){try{let n=e&&e.data||null,l=e&&e.postType||null,r=e&&e.buffer||0,i=e&&e.timeout||5e3,s=(e&&e.redirect||1)===1,a=e.proxy??!1,u=e?e.headers||{}:{};l==="form"?(u["Content-Type"]="application/x-www-form-urlencoded",n!=null&&(n=xK.default.stringify(n,{encode:!1}))):l==="form-data"&&(u["Content-Type"]="multipart/form-data",n=vK(n));let o=r===1||r===2?"arraybuffer":void 0,c;a?c=NK.default.httpsOverHttp({proxy:{host:"127.0.0.1",port:7890}}):c=AK.default.Agent({rejectUnauthorized:!1});let f=await $4(t,{responseType:o,method:e&&e.method||"get",headers:u,data:n,timeout:i,maxRedirects:s?null:0,httpsAgent:c});n=f.data;let m={};for(let d of f.headers){let y=d[1];m[d[0]]=Array.isArray(y)&&y.length===1?y[0]:y}if(!r)typeof n=="object"&&(n=JSON.stringify(n));else{if(r===1)return{code:f.status,headers:m,content:n};if(r===2)return{code:f.status,headers:m,content:n.toString("base64")};if(r===3){let d=e.stream;return d.onResp&&await d.onResp({code:f.status,headers:m}),d.onData?(n.on("data",async y=>{await d.onData(y)}),n.on("end",async()=>{d.onDone&&await d.onDone()})):d.onDone&&await d.onDone(),"stream..."}}return{code:f.status,headers:m,content:n}}catch(n){let l=n.response;try{return{code:l.status,headers:l.headers,content:JSON.stringify(l.data)}}catch{return{headers:{},content:""}}}}globalThis.md5X=Nxe;function Nxe(t){return OK.default.createHash("md5").update(Buffer.from(t,"utf8")).digest("hex")}globalThis.js2Proxy=function(t,e,n){let l=Object.keys(n).length===0?" ":encodeURIComponent(JSON.stringify(n));return t.server.address().dynamic+t.server.prefix+"/proxy/"+encodeURIComponent(e)+"/"+l+"/"};var Cxe=["DEBUG","INFO","WARNING","ERROR"];var pa=class{constructor(e,n="DEBUG"){this.app_name=e,this.level=n,this.level_index=Cxe.indexOf(n)}format(e,n){let l=80;switch(e){case"INFO":l=l+1;break;case"WARNING":l=l-2;break;default:break}return n.length<l&&((l-n.length)%2===0?n="#".repeat(Math.floor((l-n.length)/2))+n+"#".repeat(Math.floor((l-n.length)/2)):n="#".repeat(Math.floor((l-n.length)/2))+n+"#".repeat(Math.floor((l-n.length)/2)+1)),n}getTime(){let e=new Date;return e.toLocaleDateString().replace(/\//g,"-")+" "+e.toTimeString().substr(0,8)+","+e.getMilliseconds().toString()}formatMessage(e,n,l){return l&&(n=this.format(e,n)),`${this.getTime()} - ${this.app_name} - ${e}: ${n}`}async log(e){console.debug(e),await req("http://127.0.0.1:8099/upload",{data:{log:e+`
|
||||
`},timeout:.1})}async info(e,n){this.level_index<=1&&await this.log(this.formatMessage("INFO",e,n))}async warning(e,n){this.level_index<=2&&await this.log(this.formatMessage("WARNING",e,n))}async error(e,n){this.level_index<=3&&await this.log(this.formatMessage("ERROR",e,n))}async debug(e,n){this.level_index<=0&&await this.log(this.formatMessage("DEBUG",e,n))}};var Ce=class extends Pe{constructor(){super(),this.jadeLog=new pa(this.getAppName(),"DEBUG")}async init(e,n){await this.jadeLog.info("\u521D\u59CB\u5316",!0);try{await await req("http://127.0.0.1:8099/clear",{timeout:.1}),this.siteKey=this.getJSName(),this.siteType=this.getType(),this.cfgObj=e.server.config[this.siteKey],this.deviceKey=e.server.prefix+"/",this.db=e.server.db,this.catOpenStatus=!0,this.danmuStaus=!1;try{await this.loadFilterAndClasses()?await this.jadeLog.debug("\u8BFB\u53D6\u7F13\u5B58\u5217\u8868\u548C\u4E8C\u7EA7\u83DC\u5355\u6210\u529F"):(await this.jadeLog.warning("\u8BFB\u53D6\u7F13\u5B58\u5217\u8868\u548C\u4E8C\u7EA7\u83DC\u5355\u5931\u8D25"),await this.writeFilterAndClasses())}catch(l){await this.db.push(this.deviceKey+"classes",{}),await this.db.push(this.deviceKey+"filterObj",{}),await this.jadeLog.error("\u8BFB\u53D6\u7F13\u5B58\u5931\u8D25,\u5931\u8D25\u539F\u56E0\u4E3A:"+l,!1)}}catch(l){await this.jadeLog.error(`\u521D\u59CB\u5316\u5931\u8D25,\u5931\u8D25\u539F\u56E0\u4E3A:${l}`)}await this.jadeLog.info("\u521D\u59CB\u5316\u5B8C\u6210",!0)}async loadFilterAndClasses(){return this.classes=await this.getClassesCache(),this.filterObj=await this.getFiletObjCache(),this.classes.length>0?!0:(await this.db.push(this.deviceKey+"classes",{}),await this.db.push(this.deviceKey+"filterObj",{}),!1)}async writeFilterAndClasses(){this.catOpenStatus&&this.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await this.setClasses(),await this.setFilterObj(),await this.db.push(this.deviceKey+"classes",this.classes),await this.db.push(this.deviceKey+"filterObj",this.filterObj)}async getClassesCache(){let e=await this.db.getObjectDefault(this.deviceKey+"classes",{});return B.isEmpty(e)?this.classes:e}async getFiletObjCache(){let e=await this.db.getObjectDefault(this.deviceKey+"filterObj",{});return B.isEmpty(e)?this.filterObj:e}async home(e,n){return this.vodList=[],await this.jadeLog.info("\u6B63\u5728\u89E3\u6790\u9996\u9875\u7C7B\u522B",!0),await this.setHome(),await this.jadeLog.debug(`\u9996\u9875\u7C7B\u522B\u5185\u5BB9\u4E3A:${this.result.home(this.classes,[],this.filterObj)}`),await this.jadeLog.info("\u9996\u9875\u7C7B\u522B\u89E3\u6790\u5B8C\u6210",!0),this.result.home(this.classes,[],this.filterObj)}async homeVod(){await this.jadeLog.info("\u6B63\u5728\u89E3\u6790\u9996\u9875\u5185\u5BB9",!0);try{return await this.setHomeVod(),await this.jadeLog.debug(`\u9996\u9875\u5185\u5BB9\u4E3A:${this.result.homeVod(this.homeVodList)}`),await this.jadeLog.info("\u9996\u9875\u5185\u5BB9\u89E3\u6790\u5B8C\u6210",!0),this.result.homeVod(this.homeVodList)}catch(e){await this.jadeLog.error(`\u9996\u9875\u5185\u5BB9\u89E3\u6790\u5931\u8D25,\u5931\u8D25\u539F\u56E0\u4E3A:${e}`)}}async category(e,n){let l=e.body.id,r=e.body.page,i=!0,s=e.body.filters;if(this.page=parseInt(r),await this.jadeLog.info(`\u6B63\u5728\u89E3\u6790\u5206\u7C7B\u9875\u9762,tid = ${l},pg = ${r},extend = ${JSON.stringify(s)}`),l==="\u6700\u8FD1\u66F4\u65B0")return this.page=0,await this.homeVod();try{return this.vodList=[],await this.setCategory(l,r,i,s),await this.jadeLog.debug(`\u5206\u7C7B\u9875\u9762\u5185\u5BB9\u4E3A:${this.result.category(this.vodList,this.page,this.count,this.limit,this.total)}`),await this.jadeLog.info("\u5206\u7C7B\u9875\u9762\u89E3\u6790\u5B8C\u6210",!0),this.result.category(this.vodList,this.page,this.count,this.limit,this.total)}catch(a){await this.jadeLog.error(`\u5206\u7C7B\u9875\u89E3\u6790\u5931\u8D25,\u5931\u8D25\u539F\u56E0\u4E3A:${a}`)}}async detail(e,n){await this.jadeLog.debug(`\u83B7\u53D6\u8BE6\u60C5\u9875\u9762:${JSON.stringify(e.body)}`);let r=(Array.isArray(e.body.id)?e.body.id:[e.body.id])[0];this.vodDetail=new Ue,await this.jadeLog.info(`\u6B63\u5728\u83B7\u53D6\u8BE6\u60C5\u9875\u9762,id\u4E3A:${r}`);try{return await this.setDetail(r),await this.jadeLog.debug(`\u8BE6\u60C5\u9875\u9762\u5185\u5BB9\u4E3A:${this.result.detail(this.vodDetail)}`),await this.jadeLog.info("\u8BE6\u60C5\u9875\u9762\u89E3\u6790\u5B8C\u6210",!0),this.vodDetail.vod_id=r,this.result.detail(this.vodDetail)}catch(i){await this.jadeLog.error("\u8BE6\u60C5\u754C\u9762\u83B7\u53D6\u5931\u8D25,\u5931\u8D25\u539F\u56E0\u4E3A:"+i)}}async play(e,n){let l=e.body.flag,r=e.body.id,i=[];await this.jadeLog.info(`\u6B63\u5728\u89E3\u6790\u64AD\u653E\u9875\u9762,flag:${l},id:${r},flags:${i}`,!0);try{let s;if(await this.setPlay(l,r,i),this.playUrl.content!==void 0)return this.playUrl;if(await this.jadeLog.debug("\u4E0D\u9700\u8981\u52A0\u8F7D\u5F39\u5E55",!0),this.result.jx===1&&this.playUrl.indexOf(".m3u8")<0){let a=await e.server.messageToD
Line truncated
|
||||
"type": "{{tid}}",
|
||||
"p": "{{pg}}",
|
||||
"area": "{{ext.area|default(0)}}",
|
||||
"year": "{{ext.year|default(0)}}",
|
||||
"sort": "{{ext.sort|default(0)}}",
|
||||
"class": "{{ext.class|default(0)}}"}`,{ext:r,tid:e,pg:n}));console.log(s);let a=await this.request(i,s);this.vodList=await this.parseVodShortListFromJson(a.data.data)}async setDetail(e){let n=await this.request(this.siteUrl+"/api.php/Video/getVideoInfo",{video_id:e});this.vodDetail=await this.parseVodDetailfromJson(n.data.video)}async setPlay(e,n,l){this.result.jx=0;try{if(n.indexOf("youku")>=0||n.indexOf("iqiyi")>=0||n.indexOf("v.qq.com")>=0||n.indexOf("pptv")>=0||n.indexOf("le.com")>=0||n.indexOf("1905.com")>=0||n.indexOf("mgtv")>=0){if(this.parse.length>0)for(let r=0;r<this.parse.length;r++)try{let i=this.parse[r],s=await req(i+n,{headers:{"user-agent":"okhttp/4.1.0"}});await this.jadeLog.debug(`\u89E3\u6790\u8FDE\u63A5\u7ED3\u679C\u4E3A:${JSON.stringify(s)}`);let a=cX(n,JSON.parse(s.content).data);a.url&&(this.playUrl=a.url,this.danmuUrl=await this.danmuSpider.getVideoUrl(n,0),this.result.jx=1)}catch{}}else if(n.indexOf("jqq-")>=0){let r=await this.request(this.siteUrl+"/jqqheader.json",null,null,!0),i=n.split("-"),s=await req("https://api.juquanquanapp.com/app/drama/detail?dramaId="+i[1]+"&episodeSid="+i[2]+"&quality=LD",{headers:r}),a=JSON.parse(s.content);a.data.playInfo.url&&(this.playUrl=a.data.playInfo.url)}else if(n.startsWith("ftp"))this.playUrl=n;else{let r=await this.request(this.siteUrl+"/video.php",{url:n}),i=cX(n,r.data);i.url&&(i.url.indexOf("filename=1.mp4")>-1?this.playUrl=i.url:this.playUrl=await js2Proxy(!0,this.siteType,this.siteKey,"lzm3u8/"+l2(i.url),{}))}}catch(r){await this.jadeLog.error(r)}}async setSearch(e,n){let l=await this.request(this.siteUrl+"/api.php/Search/getSearch",{key:e,type_id:0,p:1});this.vodList=await this.parseVodShortListFromJson(l.data.data)}async proxy(e,n){let l=e[0],r=E2(e[1]);if(l==="lzm3u8"){await this.jadeLog.debug(`\u4F7F\u7528\u4EE3\u7406\u64AD\u653E,\u64AD\u653E\u8FDE\u63A5\u4E3A:${r}`);let i=await req(r,{}),s=i.content,a=await js2Proxy(!1,this.siteType,this.siteKey,"lzm3u8/",{}),u=r.substr(0,r.lastIndexOf("/")+1);return await this.jadeLog.debug(s.length),s=s.replace(/#EXT-X-DISCONTINUITY\r*\n*#EXTINF:6.433333,[\s\S]*?#EXT-X-DISCONTINUITY/,""),await this.jadeLog.debug(s.length),s=s.replace(/(#EXT-X-KEY\S+URI=")(\S+)("\S+)/g,function(o,c,f,m){let d=(f.startsWith("http")?"":u)+f;return c+d+m}),s=s.replace(/(#EXT-X-STREAM-INF:.*\n)(.*)/g,function(o,c,f){let m=(f.startsWith("http")?"":u)+f;return c+a+E2(m)}),s=s.replace(/(#EXTINF:.*\n)(.*)/g,function(o,c,f){let m=(f.startsWith("http")?"":u)+f;return c+m}),JSON.stringify({code:i.code,content:s,headers:i.headers})}return JSON.stringify({code:500,content:""})}},bn=new oS;var cS=class extends Ce{constructor(){super()}getName(){return bn.getName()}getAppName(){return bn.getAppName()}getJSName(){return bn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await bn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await bn.initCookie(e.server.config.bilicookie),await bn.spiderInit(e),bn.cfgObj.code=0,bn.catOpenStatus=!0,bn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await bn.setClasses(),this.classes=bn.classes}async setFilterObj(){await bn.setFilterObj(),this.filterObj=bn.filterObj}async setHomeVod(){await bn.setHomeVod(),this.homeVodList=bn.homeVodList}async setCategory(e,n,l,r){await bn.setCategory(e,n,l,r),this.vodList=bn.vodList}async setDetail(e){await bn.setDetail(e),this.vodDetail=bn.vodDetail}async setPlay(e,n,l){await bn.setPlay(e,n,l),this.playUrl=bn.playUrl,this.result=bn.result}async setSearch(e,n,l){await bn.setSearch(e,n,l),this.vodList=bn.vodList,this.result=bn.result}async setProxy(e,n){return await bn.proxy(e,n)}},va=new cS;async function pX(t,e){return await va.init(t,e)}async function fX(t,e){return await va.home(t,e)}async function Vxe(t,e){return await va.homeVod(t,e)}async function dX(t,e){return await va.category(t,e)}async function hX(t,e){return await va.detail(t,e)}async function mX(t,e){return await va.play(t,e)}async function yX(t,e){return await va.search(t,e)}async function qxe(t,e){return await va.proxy(t,e)}var gX={meta:{key:bn.getJSName(),name:bn.getName(),type:bn.getType()},api:async t=>{t.post("/init",pX),t.post("/home",fX),t.post("/category",dX),t.post("/detail",hX),t.post("/play",mX),t.post("/search",yX),t.get("/proxy/:what/:ids/:end",qxe)},spider:{init:pX,home:fX,homeVod:Vxe,category:dX,detail:hX,play:mX,search:yX}};function zxe(t){return t==="zd"?"\u6700\u5927":t==="yj"?"\u6C38\u4E45":t==="hn"?"\u725B\u725B":t==="gs"?"\u5149\u6CE2":t==="sn"?"\u65B0\u6717":t==="wl"?"\u6DA1\u8F6E":t==="lz"?"\u826F\u5B50":t==="fs"?"F\u901F":t==="ff"?"\u98DE\u98DE":t==="bd"?"\u767E\u5EA6":t==="uk"?"\u9177U":t==="wj"?"\u65E0\u5929":t==="bj"?"\u516B\u6212":t==="tk"?"\u5929\u7A7A":t==="ss"?"\u901F\u901F":t==="kb"?"\u9177\u64AD":t==="sd"?"\u95EA\u7535":t==="xk"?"\u770B\u770B":t==="tp"?"\u6DD8\u6DD8"
Line truncated
|
||||
`,"").replaceAll("\u5267\u60C5\uFF1A",""),n.vod_pic=e("img.lazy")[0].attribs["data-original"],n}async parseVodShortListFromJson(e){let n=[];for(let l of e){let r=new Ne;r.vod_id=l.url,r.vod_pic=l.thumb,r.vod_remarks=l.time,r.vod_name=l.title,n.push(r)}return n}async setClasses(){let e=await this.fetch(this.siteUrl,null,this.getHeader());if(!B.isEmpty(e)){let n=He(e),l=n("[class=index-list-l]");for(let r of l){let i=n(n(r).find('[class="h1 clearfix"]')[0]).find("a"),s=i[0].attribs.href,a=n(i[1]).text();B.isEmpty(a)||this.classes.push({type_id:s,type_name:a})}}}async getFilter(e){let n=this.siteUrl+e,l=await this.fetch(n,null,this.getHeader()),r=[];if(!B.isEmpty(l)){let i=He(l),s=i('[class="sy scon clearfix"]').find("dl"),a=0;for(let u of s){let o=i(i(u).find("dt")).text().replace("\u6309","").replace("\uFF1A",""),c={key:(a+1).toString(),name:o,value:[]},f=i(u).find("a"),m=0;o==="\u5267\u60C5"?m=3:o==="\u5E74\u4EE3"?m=2:o==="\u5730\u533A"&&(m=4);for(let d of f){let y=d.attribs.href.split("/");c.value.push({n:i(d).text(),v:y[m]})}r.push(c),a=a+1}}return r}async setFilterObj(){for(let e of this.classes){let n=e.type_id;n!=="\u6700\u8FD1\u66F4\u65B0"&&(this.filterObj[n]=await this.getFilter(n))}}async setHomeVod(){let e=await this.fetch(this.siteUrl,null,this.getHeader());if(!B.isEmpty(e)){let n=He(e);this.homeVodList=await this.parseVodShortListFromDoc(n)}}async setCategory(e,n,l,r){let i=this.siteUrl+e,s=await this.fetch(i,null,this.getHeader());if(!B.isEmpty(s)){let a=e.split("/")[1],u=e.split("/")[2],o=xe(/var _yu_gda_s="(.*?)";/,s),c={action:a,page:parseInt(n),year:r[2]??"0",area:r[3]??"all",class:r[1]??"0",dect:"",id:u},f=await this.fetch(o,c,this.getHeader());if(f!==null){let m=He(f);this.vodList=await this.parseVodShortListFromDoc(m)}}}async setDetail(e){let n=this.siteUrl+e,l=await this.fetch(n,null,this.getHeader());if(!B.isEmpty(l)){let r=He(l);this.vodDetail=await this.parseVodDetailFromDoc(r);let s="http://test.gqyy8.com:8077/ne2"+/<script type="text\/javascript" src="http:\/\/test.gqyy8.com:8077\/ne2(.*?)"><\/script>/g.exec(l)[1],a=await this.fetch(s,null,this.getHeader());if(!B.isEmpty(a)){let u=this.paraseUrlObject(a);this.vodDetail.vod_play_url=u.play_url,this.vodDetail.vod_play_from=u.play_format}}}async setSearch(e,n){let l=this.siteUrl+"/search.php",r=await this.fetch(l,null,this.getHeader());if(!B.isEmpty(r)){let i={top:10,q:e},s=xe(/var my_search='(.*?)';/,r),a=await this.fetch(s,i,this.getHeader());if(!B.isEmpty(a)){let u=JSON.parse(a.replaceAll("\uFEFF",""));this.vodList=await this.parseVodShortListFromJson(u)}}}},wn=new pS;var fS=class extends Ce{constructor(){super()}getName(){return wn.getName()}getAppName(){return wn.getAppName()}getJSName(){return wn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await wn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await wn.initCookie(e.server.config.bilicookie),await wn.spiderInit(e),wn.cfgObj.code=0,wn.catOpenStatus=!0,wn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await wn.setClasses(),this.classes=wn.classes}async setFilterObj(){await wn.setFilterObj(),this.filterObj=wn.filterObj}async setHomeVod(){await wn.setHomeVod(),this.homeVodList=wn.homeVodList}async setCategory(e,n,l,r){await wn.setCategory(e,n,l,r),this.vodList=wn.vodList}async setDetail(e){await wn.setDetail(e),this.vodDetail=wn.vodDetail}async setPlay(e,n,l){await wn.setPlay(e,n,l),this.playUrl=wn.playUrl,this.result=wn.result}async setSearch(e,n,l){await wn.setSearch(e,n,l),this.vodList=wn.vodList,this.result=wn.result}async setProxy(e,n){return await wn.proxy(e,n)}},_a=new fS;async function vX(t,e){return await _a.init(t,e)}async function _X(t,e){return await _a.home(t,e)}async function Gxe(t,e){return await _a.homeVod(t,e)}async function EX(t,e){return await _a.category(t,e)}async function bX(t,e){return await _a.detail(t,e)}async function wX(t,e){return await _a.play(t,e)}async function SX(t,e){return await _a.search(t,e)}async function Jxe(t,e){return await _a.proxy(t,e)}var TX={meta:{key:wn.getJSName(),name:wn.getName(),type:wn.getType()},api:async t=>{t.post("/init",vX),t.post("/home",_X),t.post("/category",EX),t.post("/detail",bX),t.post("/play",wX),t.post("/search",SX),t.get("/proxy/:what/:ids/:end",Jxe)},spider:{init:vX,home:_X,homeVod:Gxe,category:EX,detail:bX,play:wX,search:SX}};var dS=class extends fa{constructor(){super(),this.siteUrl="https://cj.lzcaiji.com",this.remove18=!0}getAppName(){return"\u91CF\u5B50\u8D44\u6E90"}getName(){return"\u{1F41D}\u2503\u91CF\u5B50\u8D44\u6E90\u2503\u{1F41D}"}getJSName(){return"liangzi"}getType(){return 3}async spiderInit(e){await super.spiderInit(e)}async init(e){await super.init(e),await this.spiderInit(null)}},Sn=new dS;var hS=class extends Ce{constructor(){super()}getName(){return Sn.getName()}getAppName(){return Sn.getAppName()}getJ
Line truncated
|
||||
`},timeout:.1})}async info(e,n){this.level_index<=1&&await this.log(this.formatMessage("INFO",e,n))}async warning(e,n){this.level_index<=2&&await this.log(this.formatMessage("WARNING",e,n))}async error(e,n){this.level_index<=3&&await this.log(this.formatMessage("ERROR",e,n))}async debug(e,n){this.level_index<=0&&await this.log(this.formatMessage("DEBUG",e,n))}};var Ce=class extends Pe{constructor(){super(),this.jadeLog=new pa(this.getAppName(),"DEBUG")}async init(e,n){await this.jadeLog.info("\u521D\u59CB\u5316",!0);try{await await req("http://127.0.0.1:8099/clear",{timeout:.1}),this.siteKey=this.getJSName(),this.siteType=this.getType(),this.cfgObj=e.server.config[this.siteKey],this.deviceKey=e.server.prefix+"/",this.db=e.server.db,this.catOpenStatus=!0,this.danmuStaus=!1;try{await this.loadFilterAndClasses()?await this.jadeLog.debug("\u8BFB\u53D6\u7F13\u5B58\u5217\u8868\u548C\u4E8C\u7EA7\u83DC\u5355\u6210\u529F"):(await this.jadeLog.warning("\u8BFB\u53D6\u7F13\u5B58\u5217\u8868\u548C\u4E8C\u7EA7\u83DC\u5355\u5931\u8D25"),await this.writeFilterAndClasses())}catch(l){await this.db.push(this.deviceKey+"classes",{}),await this.db.push(this.deviceKey+"filterObj",{}),await this.jadeLog.error("\u8BFB\u53D6\u7F13\u5B58\u5931\u8D25,\u5931\u8D25\u539F\u56E0\u4E3A:"+l,!1)}}catch(l){await this.jadeLog.error(`\u521D\u59CB\u5316\u5931\u8D25,\u5931\u8D25\u539F\u56E0\u4E3A:${l}`)}await this.jadeLog.info("\u521D\u59CB\u5316\u5B8C\u6210",!0)}async loadFilterAndClasses(){return this.classes=await this.getClassesCache(),this.filterObj=await this.getFiletObjCache(),this.classes.length>0?!0:(await this.db.push(this.deviceKey+"classes",{}),await this.db.push(this.deviceKey+"filterObj",{}),!1)}async writeFilterAndClasses(){this.catOpenStatus&&this.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await this.setClasses(),await this.setFilterObj(),await this.db.push(this.deviceKey+"classes",this.classes),await this.db.push(this.deviceKey+"filterObj",this.filterObj)}async getClassesCache(){let e=await this.db.getObjectDefault(this.deviceKey+"classes",{});return B.isEmpty(e)?this.classes:e}async getFiletObjCache(){let e=await this.db.getObjectDefault(this.deviceKey+"filterObj",{});return B.isEmpty(e)?this.filterObj:e}async home(e,n){return this.vodList=[],await this.jadeLog.info("\u6B63\u5728\u89E3\u6790\u9996\u9875\u7C7B\u522B",!0),await this.setHome(),await this.jadeLog.debug(`\u9996\u9875\u7C7B\u522B\u5185\u5BB9\u4E3A:${this.result.home(this.classes,[],this.filterObj)}`),await this.jadeLog.info("\u9996\u9875\u7C7B\u522B\u89E3\u6790\u5B8C\u6210",!0),this.result.home(this.classes,[],this.filterObj)}async homeVod(){await this.jadeLog.info("\u6B63\u5728\u89E3\u6790\u9996\u9875\u5185\u5BB9",!0);try{return await this.setHomeVod(),await this.jadeLog.debug(`\u9996\u9875\u5185\u5BB9\u4E3A:${this.result.homeVod(this.homeVodList)}`),await this.jadeLog.info("\u9996\u9875\u5185\u5BB9\u89E3\u6790\u5B8C\u6210",!0),this.result.homeVod(this.homeVodList)}catch(e){await this.jadeLog.error(`\u9996\u9875\u5185\u5BB9\u89E3\u6790\u5931\u8D25,\u5931\u8D25\u539F\u56E0\u4E3A:${e}`)}}async category(e,n){let l=e.body.id,r=e.body.page,i=!0,s=e.body.filters;if(this.page=parseInt(r),await this.jadeLog.info(`\u6B63\u5728\u89E3\u6790\u5206\u7C7B\u9875\u9762,tid = ${l},pg = ${r},extend = ${JSON.stringify(s)}`),l==="\u6700\u8FD1\u66F4\u65B0")return this.page=0,await this.homeVod();try{return this.vodList=[],await this.setCategory(l,r,i,s),await this.jadeLog.debug(`\u5206\u7C7B\u9875\u9762\u5185\u5BB9\u4E3A:${this.result.category(this.vodList,this.page,this.count,this.limit,this.total)}`),await this.jadeLog.info("\u5206\u7C7B\u9875\u9762\u89E3\u6790\u5B8C\u6210",!0),this.result.category(this.vodList,this.page,this.count,this.limit,this.total)}catch(a){await this.jadeLog.error(`\u5206\u7C7B\u9875\u89E3\u6790\u5931\u8D25,\u5931\u8D25\u539F\u56E0\u4E3A:${a}`)}}async detail(e,n){await this.jadeLog.debug(`\u83B7\u53D6\u8BE6\u60C5\u9875\u9762:${JSON.stringify(e.body)}`);let r=(Array.isArray(e.body.id)?e.body.id:[e.body.id])[0];this.vodDetail=new Ue,await this.jadeLog.info(`\u6B63\u5728\u83B7\u53D6\u8BE6\u60C5\u9875\u9762,id\u4E3A:${r}`);try{return await this.setDetail(r),await this.jadeLog.debug(`\u8BE6\u60C5\u9875\u9762\u5185\u5BB9\u4E3A:${this.result.detail(this.vodDetail)}`),await this.jadeLog.info("\u8BE6\u60C5\u9875\u9762\u89E3\u6790\u5B8C\u6210",!0),this.vodDetail.vod_id=r,this.result.detail(this.vodDetail)}catch(i){await this.jadeLog.error("\u8BE6\u60C5\u754C\u9762\u83B7\u53D6\u5931\u8D25,\u5931\u8D25\u539F\u56E0\u4E3A:"+i)}}async play(e,n){let l=e.body.flag,r=e.body.id,i=[];await this.jadeLog.info(`\u6B63\u5728\u89E3\u6790\u64AD\u653E\u9875\u9762,flag:${l},id:${r},flags:${i}`,!0);try{let s;if(await this.setPlay(l,r,i),this.playUrl.content!==void 0)return this.playUrl;if(await this.jadeLog.debug("\u4E0D\u9700\u8981\u52A0\u8F7D\u5F39\u5E55",!0),this.result.jx===1&&this.playUrl.indexOf(".m3u8")<0){let a=await e.server.messageToD
Line truncated
|
||||
`," ").replaceAll(" \u6536\u8D77","");let o=e('[class="module-tab-item tab-item"]'),c=e('[class="scroll-content"]'),f=[],m=[];for(let d=0;d<o.length;d++){let _=o[d].attribs["data-dropdown-value"];if(_.indexOf("\u5938\u514B")===-1){f.push(_);let S=[];for(let w of e(c[d]).find("a")){let E=e(w).text(),g=w.attribs.href;S.push(E+"$"+g)}m.push(S.join("#"))}}return l.vod_play_from=f.join("$$$"),l.vod_play_url=m.join("$$$"),l}async setHomeVod(){let e=await this.getHtml();this.homeVodList=await this.parseVodShortListFromDoc(e)}async setCategory(e,n,l,r){let i=[e.toString(),"","","","","","","",n.toString(),"","",""],s=[3,11,1,2];r.\u5168\u90E8\u5267\u60C5!==void 0&&r.\u5168\u90E8\u5267\u60C5!=="0"&&(i[s[0]]=r.\u5168\u90E8\u5267\u60C5),r.\u5168\u90E8\u65F6\u95F4!==void 0&&r.\u5168\u90E8\u65F6\u95F4!=="0"&&(i[s[1]]=r.\u5168\u90E8\u65F6\u95F4),r.\u5168\u90E8\u5730\u533A!==void 0&&r.\u5168\u90E8\u5730\u533A!=="0"&&(i[s[2]]=r.\u5168\u90E8\u5730\u533A),r.\u65F6\u95F4\u6392\u5E8F!==void 0&&r.\u65F6\u95F4\u6392\u5E8F!=="0"&&(i[s[3]]=r.\u65F6\u95F4\u6392\u5E8F);let a=this.siteUrl+"/index.php/vodshow/"+i.join("-")+".html",u=await this.getHtml(a);this.vodList=await this.parseVodShortListFromDoc(u)}async setDetail(e){let n=await this.getHtml(this.siteUrl+e);this.vodDetail=await this.parseVodDetailFromDoc(n)}uic(e,n){let l=Ke.enc.Utf8.parse("2890"+n+"tB959C"),r=Ke.enc.Utf8.parse("2F131BE91247866E"),i=Ke.AES.decrypt(e,l,{iv:r,mode:Ke.mode.CBC,padding:Ke.pad.Pkcs7});return Ke.enc.Utf8.stringify(i)}async setPlay(e,n,l){let i=(await this.getHtml(this.siteUrl+n))('[id="bfurl"]')[0].attribs.href;if(i.indexOf("http")>-1)this.playUrl=i;else{let s="https://jiexi.xn--1lq90i13mxk5bolhm8k.xn--fiqs8s/player/ec.php?code=ak&if=1&url="+i,u=(await this.getHtml(s)).html(),o=JSON.parse(xe(/let ConFig = (.*?),box = /,u));this.playUrl=this.uic(o.url,o.config.uid)}}async setSearch(e,n){let l=`http://123.207.150.253/zxapi/public/?service=App.F.Fetch&req_p=${e}&type=6080`,r=await this.fetch(l,null,this.getHeader());this.vodList=await this.parseVodShortListFromJson(JSON.parse(r))}},yn=new Zw;var eS=class extends Ce{constructor(){super()}getName(){return yn.getName()}getAppName(){return yn.getAppName()}getJSName(){return yn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await yn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await yn.initCookie(e.server.config.bilicookie),await yn.spiderInit(e),yn.cfgObj.code=0,yn.catOpenStatus=!0,yn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await yn.setClasses(),this.classes=yn.classes}async setFilterObj(){await yn.setFilterObj(),this.filterObj=yn.filterObj}async setHomeVod(){await yn.setHomeVod(),this.homeVodList=yn.homeVodList}async setCategory(e,n,l,r){await yn.setCategory(e,n,l,r),this.vodList=yn.vodList}async setDetail(e){await yn.setDetail(e),this.vodDetail=yn.vodDetail}async setPlay(e,n,l){await yn.setPlay(e,n,l),this.playUrl=yn.playUrl,this.result=yn.result}async setSearch(e,n,l){await yn.setSearch(e,n,l),this.vodList=yn.vodList,this.result=yn.result}async setProxy(e,n){return await yn.proxy(e,n)}},fa=new eS;async function CK(t,e){return await fa.init(t,e)}async function IK(t,e){return await fa.home(t,e)}async function Ixe(t,e){return await fa.homeVod(t,e)}async function RK(t,e){return await fa.category(t,e)}async function kK(t,e){return await fa.detail(t,e)}async function DK(t,e){return await fa.play(t,e)}async function PK(t,e){return await fa.search(t,e)}async function Rxe(t,e){return await fa.proxy(t,e)}var LK={meta:{key:yn.getJSName(),name:yn.getName(),type:yn.getType()},api:async t=>{t.post("/init",CK),t.post("/home",IK),t.post("/category",RK),t.post("/detail",kK),t.post("/play",DK),t.post("/search",PK),t.get("/proxy/:what/:ids/:end",Rxe)},spider:{init:CK,home:IK,homeVod:Ixe,category:RK,detail:kK,play:DK,search:PK}};function kxe(t){return t==="zd"?"\u6700\u5927":t==="yj"?"\u6C38\u4E45":t==="hn"?"\u725B\u725B":t==="gs"?"\u5149\u6CE2":t==="sn"?"\u65B0\u6717":t==="wl"?"\u6DA1\u8F6E":t==="lz"?"\u826F\u5B50":t==="fs"?"F\u901F":t==="ff"?"\u98DE\u98DE":t==="bd"?"\u767E\u5EA6":t==="uk"?"\u9177U":t==="wj"?"\u65E0\u5929":t==="bj"?"\u516B\u6212":t==="tk"?"\u5929\u7A7A":t==="ss"?"\u901F\u901F":t==="kb"?"\u9177\u64AD":t==="sd"?"\u95EA\u7535":t==="xk"?"\u770B\u770B":t==="tp"?"\u6DD8\u6DD8":t==="jy"?"\u7CBE\u82F1":t}var tS=class extends Pe{constructor(){super(),this.siteUrl="http://cqdb6.com"}getName(){return"\u{1F4FA}\u250370\u770B\u770B\u2503\u{1F4FA}"}getAppName(){return"70\u770B\u770B"}getJSName(){return"kankan70"}getType(){return 3}paraseUrlObject(e){let n=e.split(";"),l={},r="",i=0,s=0,a="";for(let c=0;c<n.length;c++){let f=n[c];if(f.indexOf("var lianzaijs")>-1?(r=f.split("=")[0].split(" ")[1],a=r.split("_")[1]):f.indexOf("pl_id=")>-1?(i=f.split("=")[1],l[r]={play_id:i,list:[],pl_dy:s}):f.indexOf("var pl_dy")>-1&&(s
Line truncated
|
||||
`,"").replaceAll("\u5267\u60C5\uFF1A",""),n.vod_pic=e("img.lazy")[0].attribs["data-original"],n}async parseVodShortListFromJson(e){let n=[];for(let l of e){let r=new Ne;r.vod_id=l.url,r.vod_pic=l.thumb,r.vod_remarks=l.time,r.vod_name=l.title,n.push(r)}return n}async setClasses(){let e=await this.fetch(this.siteUrl,null,this.getHeader());if(!B.isEmpty(e)){let n=He(e),l=n("[class=index-list-l]");for(let r of l){let i=n(n(r).find('[class="h1 clearfix"]')[0]).find("a"),s=i[0].attribs.href,a=n(i[1]).text();B.isEmpty(a)||this.classes.push({type_id:s,type_name:a})}}}async getFilter(e){let n=this.siteUrl+e,l=await this.fetch(n,null,this.getHeader()),r=[];if(!B.isEmpty(l)){let i=He(l),s=i('[class="sy scon clearfix"]').find("dl"),a=0;for(let u of s){let o=i(i(u).find("dt")).text().replace("\u6309","").replace("\uFF1A",""),c={key:(a+1).toString(),name:o,value:[]},f=i(u).find("a"),m=0;o==="\u5267\u60C5"?m=3:o==="\u5E74\u4EE3"?m=2:o==="\u5730\u533A"&&(m=4);for(let d of f){let y=d.attribs.href.split("/");c.value.push({n:i(d).text(),v:y[m]})}r.push(c),a=a+1}}return r}async setFilterObj(){for(let e of this.classes){let n=e.type_id;n!=="\u6700\u8FD1\u66F4\u65B0"&&(this.filterObj[n]=await this.getFilter(n))}}async setHomeVod(){let e=await this.fetch(this.siteUrl,null,this.getHeader());if(!B.isEmpty(e)){let n=He(e);this.homeVodList=await this.parseVodShortListFromDoc(n)}}async setCategory(e,n,l,r){let i=this.siteUrl+e,s=await this.fetch(i,null,this.getHeader());if(!B.isEmpty(s)){let a=e.split("/")[1],u=e.split("/")[2],o=xe(/var _yu_gda_s="(.*?)";/,s),c={action:a,page:parseInt(n),year:r[2]??"0",area:r[3]??"all",class:r[1]??"0",dect:"",id:u},f=await this.fetch(o,c,this.getHeader());if(f!==null){let m=He(f);this.vodList=await this.parseVodShortListFromDoc(m)}}}async setDetail(e){let n=this.siteUrl+e,l=await this.fetch(n,null,this.getHeader());if(!B.isEmpty(l)){let r=He(l);this.vodDetail=await this.parseVodDetailFromDoc(r);let s="http://test.gqyy8.com:8077/ne2"+/<script type="text\/javascript" src="http:\/\/test.gqyy8.com:8077\/ne2(.*?)"><\/script>/g.exec(l)[1],a=await this.fetch(s,null,this.getHeader());if(!B.isEmpty(a)){let u=this.paraseUrlObject(a);this.vodDetail.vod_play_url=u.play_url,this.vodDetail.vod_play_from=u.play_format}}}async setSearch(e,n){let l=this.siteUrl+"/search.php",r=await this.fetch(l,null,this.getHeader());if(!B.isEmpty(r)){let i={top:10,q:e},s=xe(/var my_search='(.*?)';/,r),a=await this.fetch(s,i,this.getHeader());if(!B.isEmpty(a)){let u=JSON.parse(a.replaceAll("\uFEFF",""));this.vodList=await this.parseVodShortListFromJson(u)}}}},gn=new tS;var nS=class extends Ce{constructor(){super()}getName(){return gn.getName()}getAppName(){return gn.getAppName()}getJSName(){return gn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await gn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await gn.initCookie(e.server.config.bilicookie),await gn.spiderInit(e),gn.cfgObj.code=0,gn.catOpenStatus=!0,gn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await gn.setClasses(),this.classes=gn.classes}async setFilterObj(){await gn.setFilterObj(),this.filterObj=gn.filterObj}async setHomeVod(){await gn.setHomeVod(),this.homeVodList=gn.homeVodList}async setCategory(e,n,l,r){await gn.setCategory(e,n,l,r),this.vodList=gn.vodList}async setDetail(e){await gn.setDetail(e),this.vodDetail=gn.vodDetail}async setPlay(e,n,l){await gn.setPlay(e,n,l),this.playUrl=gn.playUrl,this.result=gn.result}async setSearch(e,n,l){await gn.setSearch(e,n,l),this.vodList=gn.vodList,this.result=gn.result}async setProxy(e,n){return await gn.proxy(e,n)}},da=new nS;async function FK(t,e){return await da.init(t,e)}async function jK(t,e){return await da.home(t,e)}async function Dxe(t,e){return await da.homeVod(t,e)}async function UK(t,e){return await da.category(t,e)}async function MK(t,e){return await da.detail(t,e)}async function $K(t,e){return await da.play(t,e)}async function BK(t,e){return await da.search(t,e)}async function Pxe(t,e){return await da.proxy(t,e)}var HK={meta:{key:gn.getJSName(),name:gn.getName(),type:gn.getType()},api:async t=>{t.post("/init",FK),t.post("/home",jK),t.post("/category",UK),t.post("/detail",MK),t.post("/play",$K),t.post("/search",BK),t.get("/proxy/:what/:ids/:end",Pxe)},spider:{init:FK,home:jK,homeVod:Dxe,category:UK,detail:MK,play:$K,search:BK}};var X6=class extends Pe{constructor(){super(),this.siteUrl="http://op.ysdqjs.cn",this.cookie="",this.extendObj={extend:"\u7C7B\u578B",area:"\u5730\u533A",year:"\u5E74\u4EE3"},this.parseMap={}}async request(e,n,l){let r={"User-Agent":Jl};B.isEmpty(this.cookie)||(r.Cookie=this.cookie);let i=n==="post"?"form-data":"",s=await req(e,{method:n||"get",headers:r,data:l,postType:i});if(s.code===403){let a=s.data.match(/window\.location\.href ="(.*?)"/)[1];this.cookie=B.isArray(s.headers["set-cookie"])?s.hea
Line truncated
|
||||
`,"").replaceAll(" ",""),l.push(s)}return l}async parseVodDetailFromDoc(e){let n=e("#post_content"),l=[],r=[];if(!this.catOpenStatus){let u=0,o="\u78C1\u529B\u7EBF\u8DEF";for(let c of n){let f=e(c).find("table a"),m=[];for(let d of f){let y=d.attribs.href,_=d.children[0].data;y.toLowerCase().startsWith("magnet")&&m.push(_+"$"+y)}m.length>0&&(u++,l.push(o+u),r.push(m.join("#")))}}let i=e(e(".mainleft")).find('[class="widget box row"]');for(let u of i){let o=e(u).find("h3").text(),c=[];if(!B.isEmpty(o)){let f=e(u).find("a");for(let m of f)c.push(m.attribs.title+"$"+m.attribs.href);l.push(o),r.push(c.join("#"))}}let s=e(".context").html(),a=new Ue;return a.vod_name=e(".article_container > h1").text(),a.vod_pic=e("#post_content img").attr("src"),a.type_name=xe(/◎类 别 (.*?)<br>/,s),B.isEmpty(a.type_name)&&(a.type_name=e('[rel="category tag"]').text()),a.vod_year=xe(/◎年 代 (.*?)<br>/,s),B.isEmpty(a.vod_year)&&(a.vod_year=xe(/首播:(.*?)<br>"/,s)),a.vod_area=xe(/◎产 地 (.*?)<br>/,s),B.isEmpty(a.vod_year)&&(a.vod_area=xe(/地区:(.*?)<br>"/,s)),a.vod_remarks=xe(/◎上映日期 (.*?)<br>/,s),a.vod_actor=this.getActorOrDirector(/◎演 员 (.*?)<\/p>/,s),B.isEmpty(a.vod_actor)&&(a.vod_actor=this.getActorOrDirector(/◎主 演 (.*?)<\/p>/,s)),B.isEmpty(a.vod_actor)&&(a.vod_actor=this.getActorOrDirector(/主演:(.*?)<br>/,s)),a.vod_director=this.getActorOrDirector(/◎导 演 (.*?)<br>/,s),B.isEmpty(a.vod_director)&&(a.vod_director=this.getActorOrDirector(/导演:(.*?)<br>/,s)),a.vod_content=this.getDescription(/◎简 介(.*?)<hr>/gi,s),B.isEmpty(a.vod_content)&&(a.vod_content=this.getDescription(/简介(.*?)<\/p>/gi,s)),B.isEmpty(a.vod_content)&&(a.vod_content=this.getDescription(/◎简 介(.*?)<br>/gi,s)),a.vod_play_from=l.join("$$$"),a.vod_play_url=r.join("$$$"),a}async parseVodPlayFromDoc(e,n){let l="",r=n.html();switch(e){case"\u64AD\u653E\u5730\u5740\uFF08\u65E0\u63D2\u4EF6 \u6781\u901F\u64AD\u653E\uFF09":case"\u64AD\u653E\u5730\u5740\u4E09":l=n(n(".video")).find("iframe")[0].attribs.src+"/index.m3u8";break;case"\u64AD\u653E\u5730\u5740\uFF08\u65E0\u9700\u5B89\u88C5\u63D2\u4EF6\uFF09":let i=/url: '(.*?)',/gs.exec(r);i.length>1&&(l=i[1]);break;case"\u64AD\u653E\u5730\u5740\u56DB":let s=/source: "(.*?)",/gs.exec(r);s.length>1&&(l=s[1]);break;default:await this.jadeLog.warning(`\u6682\u4E0D\u652F\u6301\u5F53\u524D\u683C\u5F0F,\u5F53\u524D\u683C\u5F0F\u4E3A:${e}`);break}return l}async setClasses(){let e=await this.fetch(this.siteUrl,null,this.getHeader());if(!B.isEmpty(e)){let n=He(e),l=n("#menus > li > a");for(let r=0;r<l.length;r++){let i=l[r];if(r<2||r===l.length-1)continue;let s=i.children[0].data,a=i.attribs.href;if(this.classes.push({type_name:s,type_id:a}),s==="\u7535\u89C6\u5267"){let u=[{n:"\u4E0D\u9650",v:""}];for(let o of n(i.next).find("a"))u.push({n:o.children[0].data,v:o.attribs.href.replaceAll(a,"")});this.filterObj[a]=[{key:"cateId",name:"\u7C7B\u578B",value:u}]}}}}async setHomeVod(){let e=await this.fetch(this.siteUrl,null,this.getHeader());if(B.isEmpty(e))await this.jadeLog.info("\u9996\u9875\u7C7B\u522B\u89E3\u6790\u5931\u8D25",!0);else{let n=He(e);this.homeVodList=await this.parseVodShortListFromDoc(n)}}async setCategory(e,n,l,r){let i=r.cateId??"",s=this.siteUrl+e+i;this.page=parseInt(n),this.count=0,this.limit=18,this.total=0,this.page!==1&&(s+="index_"+n+".html");let a=await this.fetch(s,null,this.getHeader());if(!B.isEmpty(a)){let u=He(a),o=u(".pagination > a");if(o.length>0){let c=o.slice(-1)[0].attribs.href,m=/index_(.*?).html/.exec(c);this.count=parseInt(m[1]);let d=u("#post_container .post_hover");this.total=this.page===this.count?(this.page-1)*this.limit+d.length:this.count*this.limit}this.vodList=await this.parseVodShortListFromDoc(u)}}async setSearch(e,n){let l=this.siteUrl+"/e/search/index.php",r={show:"title",tempid:"1",tbname:"article",mid:"1",dopost:"search",keyboard:e},i=await this.post(l,r,this.getHeader());if(!B.isEmpty(i)){let s=He(i);this.vodList=await this.parseVodShortListFromDoc(s)}}async setDetail(e){let n=this.siteUrl+e,l=await this.fetch(n,null,this.getHeader());if(!B.isEmpty(l)){let r=He(l);this.vodDetail=await this.parseVodDetailFromDoc(r)}}async setPlay(e,n,l){if(n.toLowerCase().startsWith("magnet"))this.playUrl=n;else{let r=this.siteUrl+n,i=await this.fetch(r,null,this.getHeader()),s=He(i);this.playUrl=await this.parseVodPlayFromDoc(e,s)}}},_n=new iS;var sS=class extends Ce{constructor(){super()}getName(){return _n.getName()}getAppName(){return _n.getAppName()}getJSName(){return _n.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await _n.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await _n.initCookie(e.server.config.bilicookie),await _n.spiderInit(e),_n.cfgObj.code=0,_n.catOpenStatus=!0,_n.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),awai
Line truncated
|
||||
`;n.type_name=e(e(e(r).find('[class="post-meta"]')).find("span")[0]).text(),n.vod_pic=e(r).find("img")[0].attribs.src,n.vod_name=xe(/名称:(.*?)\n/,s),n.vod_actor=xe(/主演:(.*?)\n/,s),n.vod_director=xe(/导演:(.*?)\n/,s),n.vod_area=xe(/地区:(.*?)\n/,s),n.vod_year=xe(/年份:(.*?)\n/,s),n.vod_remarks=xe(/更新:(.*?)\n/,s);let a=e('[class="article-related info"]').find("p");n.vod_content=e(a).text();let u=e('[class="article-related download_url"]'),o=[],c=[];for(let f=0;f<u.length;f++){let m=u[f],d=e(e(m).find("h2")).text().replaceAll(n.vod_name,"");o.push(d.replaceAll("\u4E0B\u8F7D","\u64AD\u653E"));let y=[];for(let _ of e(u[f]).find("a")){let S=e(_).text().replaceAll("\u78C1\u529B\u94FE\u4E0B\u8F7D","").replaceAll(".mp4",""),w=_.attribs.href;y.push(S+"$"+w)}c.push(y.join("#"))}return n.vod_play_from=o.join("$$$"),n.vod_play_url=c.join("$$$"),n}async parseVodShortListFromJson(e){let n=[],l=He(e.ajaxtxt),r=l(l("ul")).find("li");for(let i of r){let s=new Ne;s.vod_pic=l(i).find("img")[0].attribs["data-original"],s.vod_name=xe(/《(.*?)》/,l(i).find("img")[0].attribs.alt),s.vod_id=l(i).find("a")[0].attribs.href,s.vod_remarks="\u8BC4\u5206:"+l(l(i).find('[class="rate badge"]')).text(),n.push(s)}return n}async parseVodShortListFromDocByCategory(e){let n=[],l=e(e('[id="list_all"]').find("ul")).find("li");for(let r of l){let i=new Ne;i.vod_id=e(r).find("a")[0].attribs.href,i.vod_name=xe(/《(.*?)》/,e(e(e(r).find('[class="text_info"]')).find("a")[0]).text()),i.vod_pic=e(r).find("img")[0].attribs["data-original"],i.vod_remarks=e(e(r).find('[class="update_time"]')).text(),n.push(i)}return n}async setHomeVod(){let e=await this.getHtml();this.homeVodList=await this.parseVodShortListFromDoc(e)}async setDetail(e){let n=await this.getHtml(this.siteUrl+e);return this.vodDetail=await this.parseVodDetailFromDoc(n),this.vodDetail}async setCategory(e,n,l,r){let i=this.siteUrl+`/list/${e}-${n}.html`,s=await this.getHtml(i);this.vodList=await this.parseVodShortListFromDocByCategory(s)}async setSearch(e,n){let l=this.siteUrl+"/search/",r={wd:e,p:"1",t:"j/tNgwBS2e8O4x9TuIkYuQ=="},i=await this.post(l,r,this.getSearchHeader()),s=He(i);this.vodList=await this.parseVodShortListFromDocByCategory(s)}},En=new aS;var uS=class extends Ce{constructor(){super()}getName(){return En.getName()}getAppName(){return En.getAppName()}getJSName(){return En.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await En.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await En.initCookie(e.server.config.bilicookie),await En.spiderInit(e),En.cfgObj.code=0,En.catOpenStatus=!0,En.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await En.setClasses(),this.classes=En.classes}async setFilterObj(){await En.setFilterObj(),this.filterObj=En.filterObj}async setHomeVod(){await En.setHomeVod(),this.homeVodList=En.homeVodList}async setCategory(e,n,l,r){await En.setCategory(e,n,l,r),this.vodList=En.vodList}async setDetail(e){await En.setDetail(e),this.vodDetail=En.vodDetail}async setPlay(e,n,l){await En.setPlay(e,n,l),this.playUrl=En.playUrl,this.result=En.result}async setSearch(e,n,l){await En.setSearch(e,n,l),this.vodList=En.vodList,this.result=En.result}async setProxy(e,n){return await En.proxy(e,n)}},ya=new uS;async function rX(t,e){return await ya.init(t,e)}async function iX(t,e){return await ya.home(t,e)}async function Vxe(t,e){return await ya.homeVod(t,e)}async function sX(t,e){return await ya.category(t,e)}async function aX(t,e){return await ya.detail(t,e)}async function uX(t,e){return await ya.play(t,e)}async function oX(t,e){return await ya.search(t,e)}async function qxe(t,e){return await ya.proxy(t,e)}var cX={meta:{key:En.getJSName(),name:En.getName(),type:En.getType()},api:async t=>{t.post("/init",rX),t.post("/home",iX),t.post("/category",sX),t.post("/detail",aX),t.post("/play",uX),t.post("/search",oX),t.get("/proxy/:what/:ids/:end",qxe)},spider:{init:rX,home:iX,homeVod:Vxe,category:sX,detail:aX,play:uX,search:oX}};var oS=class extends Pe{constructor(){super(),this.siteUrl="http://api2.rinhome.com"}getName(){return"\u{1F33C}\u2503\u8350\u7247\u2503\u{1F33C}"}getAppName(){return"\u8350\u7247"}getJSName(){return"jianpian"}getType(){return 3}getHeader(){return{"User-Agent":"jianpian-android/360",JPAUTH:"y261ow7kF2dtzlxh1GS9EB8nbTxNmaK/QQIAjctlKiEv",Referer:"www.jianpianapp.com"}}async spiderInit(e=null){e!==null?this.jsBase=await js2Proxy(e,"img",this.getHeader()):this.jsBase=await js2Proxy(!0,this.siteType,this.siteKey,"img/",this.getHeader())}async init(e){await super.init(e),this.danmuStaus=!0,await this.spiderInit(null)}async parseVodShortListFromJson(e){let n=[];for(let l of e){let r=new Ne;r.vod_id=l.id,l.path!==void 0?r.vod_pic=this.jsBase+l2(l.path):r.vod_pic=this.jsBase+l2(l.thumbnail),r.vod_name=l.title,l.mask!==void 0?r.vod_remarks=l.mask:r.v
Line truncated
|
||||
`,"").replaceAll(" ","");if(a.indexOf("\u65F6\u95F4")>-1&&a.indexOf("\u6587\u4EF6\u5939")>-1){let u=a.split("\u65F6\u95F4"),o=new Ne;o.vod_name=u[0],o.vod_remarks=u[1].split("\u683C\u5F0F")[0].replaceAll(":","").replaceAll(" ","").replaceAll("\uFEFF","").replaceAll("\xA0",""),o.vod_id=JSON.stringify({name:o.vod_name,remarks:o.vod_remarks,id:i}),l.push(o)}}}return l}async setClasses(){await this.parseClassFromDoc(this.content_html)}async setHomeVod(){let e=this.content_html(this.content_html('[id="app"]')[0]).find("van-tab");this.homeVodList=await this.parseVodShortListFromDoc(e[0])}async setDetail(e){if(e.indexOf("search")>-1){let n=this.siteUrl+"/search",l={k:decodeURIComponent(e.split("search?k=").slice(-1)[0])},r=await this.fetch(n,l,this.getHeader());if(!B.isEmpty(r)){let i=He(r),s=await this.parseVodShortListFromDocBySearch(i);s.length>0?e=s[0].vod_id:e=""}}if(!B.isEmpty(e)){let n=JSON.parse(e);this.vodDetail=await this.parseVodDetailfromJson(n)}}async setCategory(e,n,l,r){let i=this.content_html(this.content_html('[id="app"]')[0]).find("van-tab");this.vodList=await this.parseVodShortListFromDoc(i[parseInt(e)])}async setSearch(e,n){let l=this.siteUrl+"/search",r={k:e},i=await this.fetch(l,r,this.getHeader());if(!B.isEmpty(i)){let s=He(i);this.vodList=await this.parseVodShortListFromDocBySearch(s)}}async setPlay(e,n,l){let r=await A3(e,n,l);this.playUrl=JSON.parse(r).url}},wn=new pS;var fS=class extends Ce{constructor(){super()}getName(){return wn.getName()}getAppName(){return wn.getAppName()}getJSName(){return wn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await wn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await wn.initCookie(e.server.config.bilicookie),await wn.spiderInit(e),wn.cfgObj.code=0,wn.catOpenStatus=!0,wn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await wn.setClasses(),this.classes=wn.classes}async setFilterObj(){await wn.setFilterObj(),this.filterObj=wn.filterObj}async setHomeVod(){await wn.setHomeVod(),this.homeVodList=wn.homeVodList}async setCategory(e,n,l,r){await wn.setCategory(e,n,l,r),this.vodList=wn.vodList}async setDetail(e){await wn.setDetail(e),this.vodDetail=wn.vodDetail}async setPlay(e,n,l){await wn.setPlay(e,n,l),this.playUrl=wn.playUrl,this.result=wn.result}async setSearch(e,n,l){await wn.setSearch(e,n,l),this.vodList=wn.vodList,this.result=wn.result}async setProxy(e,n){return await wn.proxy(e,n)}},va=new fS;async function vX(t,e){return await va.init(t,e)}async function _X(t,e){return await va.home(t,e)}async function Jxe(t,e){return await va.homeVod(t,e)}async function EX(t,e){return await va.category(t,e)}async function bX(t,e){return await va.detail(t,e)}async function wX(t,e){return await va.play(t,e)}async function SX(t,e){return await va.search(t,e)}async function Kxe(t,e){return await va.proxy(t,e)}var TX={meta:{key:wn.getJSName(),name:wn.getName(),type:wn.getType()},api:async t=>{t.post("/init",vX),t.post("/home",_X),t.post("/category",EX),t.post("/detail",bX),t.post("/play",wX),t.post("/search",SX),t.get("/proxy/:what/:ids/:end",Kxe)},spider:{init:vX,home:_X,homeVod:Jxe,category:EX,detail:bX,play:wX,search:SX}};var _a=class extends Pe{constructor(){super(),this.siteUrl="http://cj.ffzyapi.com",this.remove18=!1,this.type_id_18=34}async spiderInit(e){e!==null?this.detailProxy=await js2Proxy(e,"detail",this.getHeader()):this.detailProxy=await js2Proxy(!0,this.siteType,this.siteKey,"detail/",this.getHeader())}async init(e){await super.init(e),await this.spiderInit(null)}async parseVodShortListFromJson(e,n=!1){let l=[],r;for(let i of e.list)n?(r=new Ne,r.vod_pic=this.detailProxy+l2(i.vod_id),r.vod_id=i.vod_id,r.vod_name=i.vod_name,r.vod_remarks=i.vod_remarks):r=this.parseVodDetail(i),this.remove18&&i.type_id!==this.type_id_18&&l.push(r),!this.remove18&&i.type_id===this.type_id_18&&l.push(r);return l}parseVodDetail(e){let n=new Ue;n.vod_id=e.vod_id,n.vod_name=e.vod_name,n.vod_pic=e.vod_pic,n.vod_remarks=e.vod_remarks,n.vod_area=e.vod_area,n.vod_year=e.vod_year,n.vod_actor=e.vod_actor,n.vod_director=e.vod_director;let l=He(e.vod_content);return n.vod_content=l.text(),e.vod_down_url!==void 0&&e.vod_down_url.length>0&&(n.vod_play_from="\u76F4\u94FE\u64AD\u653E$$$",n.vod_play_url=e.vod_down_url+"$$$"),n.vod_play_from=n.vod_play_from+e.vod_play_from,n.vod_play_url=n.vod_play_url+e.vod_play_url,n.type_name=e.type_name,n}async parseVodDetailfromJson(e){let n,l=e.list;if(l.length>0){let r=l[0];n=this.parseVodDetail(r)}return n}async setClasses(){let e=await this.fetch(this.siteUrl+"/api.php/provide/vod/from",{ac:"list"},this.getHeader()),n=JSON.parse(e);for(let l of n.class)l.type_pid!==0&&this.classes.push(this.getTypeDic(l.type_name,l.type_id))}async setFilterObj(){let e=await this.fetch(this.siteUrl+"/api.php/provide/vod/from",{ac:"list"},this.getHeader()),n=JSON.parse(e);
Line truncated
|
||||
`),r=[];for(let m of l)B.isEmpty(m.replaceAll(" ","").replaceAll("/",""))||r.push(m.replaceAll(" ","").replaceAll("/",""));n.type_name=r.slice(0,2).join("*");let i=e('[class="video-info-items"]');n.vod_director=e(i[0]).find("a")[0].children[0].data;let s=e(i[1]).find("a"),a=[];for(let m of s)a.push(m.children[0].data);n.vod_actor=a.join(" * "),n.vod_year=r[2],n.vod_remarks=e(e(i[3]).find(".video-info-item")).text(),n.vod_content=e(e(i[5]).find(".video-info-item")).text(),n.vod_area=r[3],n.vod_content=n.vod_content.replace("[\u6536\u8D77\u90E8\u5206]","").replace("[\u5C55\u5F00\u5168\u90E8]","").replaceAll(" ","").replaceAll(`
|
||||
`,"");let u=e(e('[class="module-tab-content"]')[0]).find("span"),o=e('[class="module-list module-player-list tab-list sort-list "]'),c=[];for(let m of u)c.push(e(m).text());let f=[];for(let m of o){let d=e(e(m).find('[class="sort-item"]')).find("a"),y=[];for(let _ of d){let S=e(_).text(),w=_.attribs.href,E=S+"$"+w;y.push(E)}f.push(y.join("#"))}return n.vod_play_from=c.join("$$$"),n.vod_play_url=B.values(f).join("$$$"),n}async parseVodShortListFromDocBySearch(e){let n=e(".module-search-item"),l=[];for(let r of n){let i=new Ne;i.vod_id=e(r).find(".video-serial")[0].attribs.href,i.vod_name=e(r).find(".video-serial")[0].attribs.title,i.vod_pic=e(r).find(".module-item-pic > img")[0].attribs["data-src"],i.vod_remarks=e(e(r).find(".video-serial")[0]).text(),l.push(i)}return l}async setClasses(){let e=await this.fetch(this.siteUrl,null,this.getHeader());if(!B.isEmpty(e)){let n=He(e),l=n(n('[class="nav-menu-items"]')[0]).find("li");for(let r of l.slice(0,6)){let i=n(n(r).find("span")).text();if(i!=="\u9996\u9875"){let a={type_id:n(r).find("a")[0].attribs.href.split("/").slice(-1)[0].split(".")[0],type_name:i};this.classes.push(a)}}}}async getFilter(e){let n=e('[class="scroll-content"]').slice(1),l=[];for(let r=0;r<n.length;r++){let i={key:(r+1).toString(),name:"",value:[]};if(r<n.length-1){i.name=e(e(n[r]).find("a")[0]).text(),i.value.push({n:"\u5168\u90E8",v:"0"});for(let s of e(n[r]).find("a").slice(1))e(e(n[r]).find("a")[0]).text()==="\u5168\u90E8\u7C7B\u578B"?i.value.push({n:e(s).text(),v:s.attribs.href.split("/").slice(-1)[0].split(".")[0]}):i.value.push({n:e(s).text(),v:e(s).text()});l.push(i)}else i.name=e(e(n[r]).find("a")[0]).text(),i.value=[{n:"\u5168\u90E8",v:"0"},{n:e(e(n[r]).find("a")[1]).text(),v:"hits"},{n:e(e(n[r]).find("a")[2]).text(),v:"score"}],l.push(i)}return l}async setFilterObj(){for(let e of this.classes){let n=e.type_id;if(n!=="/"&&n!=="\u6700\u8FD1\u66F4\u65B0"){let l=this.siteUrl+`/vodshow/id/${n}.html`,r=await this.fetch(l,null,this.getHeader());if(r!=null){let i=He(r);this.filterObj[n]=await this.getFilter(i)}}}}async setHomeVod(){let e=await this.fetch(this.siteUrl,null,this.getHeader());if(!B.isEmpty(e)){let n=He(e);this.homeVodList=await this.parseVodShortListFromDoc(n)}}getExtend(e,n,l=""){return e!==void 0&&e!=="0"?l+e:n}async getCateUrl(e,n,l){e=this.getExtend(l[1],e);let r=this.getExtend(l[2],"","/area/"),i=this.getExtend(l[3],"","/lang/"),s=this.getExtend(l[4],"","/year/"),a=this.getExtend(l[5],"","/letter/"),u=this.getExtend(l[6],"","/by/");return this.siteUrl+`/vodshow${u}${r}/id/${e}${i}${a}${s}/page/${n}.html`}async setCategory(e,n,l,r){let i=await this.getCateUrl(e,n,r),s=await this.fetch(i,null,this.getHeader());if(!B.isEmpty(s)){let a=He(s);this.vodList=await this.parseVodShortListFromDoc(a);let u=xe(/\$\("\.mac_total"\)\.text\('(\d+)'\)/,s);this.limit=72,u.length>0&&(this.total=parseInt(u)),this.total<=this.limit?this.count=1:this.count=Math.ceil(this.total/this.limit)}}async setDetail(e){let n=this.siteUrl+e,l=await this.fetch(n,null,this.getHeader());if(!B.isEmpty(l)){let r=He(l);this.vodDetail=await this.parseVodDetailFromDoc(r)}}async setPlay(e,n,l){let r=await this.fetch(this.siteUrl+n,null,this.getHeader());if(!B.isEmpty(r)){let i=xe(/<script type="text\/javascript">var player_aaaa=(.*?)<\/script>/,r),s=JSON.parse(i);this.playUrl=s.url}}async setSearch(e,n){let l=this.siteUrl+`/vodsearch/wd/${e}.html`,r=await this.fetch(l,null,this.getHeader());if(!B.isEmpty(r)){let i=He(r);this.vodList=await this.parseVodShortListFromDocBySearch(i)}}},On=new wS;var SS=class extends Ce{constructor(){super()}getName(){return On.getName()}getAppName(){return On.getAppName()}getJSName(){return On.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await On.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await On.initCookie(e.server.config.bilicookie),await On.spiderInit(e),On.cfgObj.code=0,On.catOpenStatus=!0,On.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await On.setClasses(),this.classes=On.classes}async setFilterObj(){await On.setFilterObj(),this.filterObj=On.filterObj}async setHomeVod(){await On.setHomeVod(),this.homeVodList=On.homeVodList}async setCategory(e,n,l,r){await On.setCategory(e,n,l,r),this.vodList=On.vodList}async setDetail(e){await On.setDetail(e),this.vodDetail=On.vodDetail}async setPlay(e,n,l){await On.setPlay(e,n,l),this.playUrl=On.playUrl,this.result=On.result}async setSearch(e,n,l){await On.setSearch(e,n,l),this.vodList=On.vodList,this.result=On.result}async setProxy(e,n){return await On.proxy(e,n)}},Oa=new SS;async function eW(t,e){return await Oa.init(t,e)}async function tW(t,e){return await Oa.home(t,e)}async function sAe(t,e){return await Oa.homeVod(t,e)}async function nW(t,e){return await Oa.category(t,e)}async function lW(t,e){return await Oa.detail(t,e)}async functi
Line truncated
|
||||
`,"").replaceAll(" ","").replaceAll(" ","")+"end";if(o.indexOf("\u5E74\u4EFD")>-1&&(e.vod_year=xe(/年份:(.*?)end/,o).replaceAll("/","")),o.indexOf("\u5907\u6CE8")>-1){let c=xe(/备注:(.*?)end/,o);e.vod_remarks=xe(/备注:\/(.*?)end/,o)}o.indexOf("\u6807\u7B7E")>-1&&(e.type_name=xe(/标签:(.*?)end/,o)),o.indexOf("\u5267\u60C5")>-1&&(e.vod_content=xe(/剧情:(.*?)end/,o))}let r=t('[class="module-tab-item tab-item"]'),i=t('[class="scroll-content"]'),s=[],a=[];for(let u=0;u<r.length;u++){let o=r[u];s.push(o.attribs["data-dropdown-value"]);let c=[];for(let f of t(i[u]).find("a")){let m=t(f).text(),d=f.attribs.href;c.push(m+"$"+d)}a.push(c.join("#"))}return e.vod_play_from=s.join("$$$"),e.vod_play_url=a.join("$$$"),e}async setHomeVod(){let t=await this.getHtml();this.homeVodList=await this.parseVodShortListFromDoc(t)}getExtendValue(t,e){return t[e]===void 0||t[e]==="0"?"":t[e]}async setCategory(t,e,n,l){await this.jadeLog.debug(`extend:${JSON.stringify(l)}`);let r=this.getExtendValue(l,"1"),i=this.getExtendValue(l,"2"),s=this.getExtendValue(l,"3"),a=this.getExtendValue(l,"4"),u=[t.toString(),"",a,r,"",s,"","",e.toString(),"","",i],o=this.siteUrl+"/show/"+u.join("-")+".html",c=await this.getHtml(o);this.vodList=await this.parseVodShortListFromDocByCategory(c)}async setDetail(t){let e=await this.getHtml(this.siteUrl+t);this.vodDetail=await this.parseVodDetailFromDoc(e)}async setSearch(t,e){let n=this.siteUrl+`/search/${t}-------------.html`,l=await this.getHtml(n);this.vodList=await this.parseVodShortListFromDocBySearch(l)}async setPlay(t,e,n){let l=await this.getHtml(this.siteUrl+e),i="https://danmu.yhdmjx.com/m3u8.php?url="+JSON.parse(xe(/var player_aaaa=(.*?)<\/script>/,l.html())).url,s=await await this.fetch(i,null,this.getHeader()),a=s.match(/"url": getVideoInfo\("(.*?)"\),/)[1],u=s.match(/<script>var bt_token = "(.*?)"/)[1],o=await await this.fetch("https://danmu.yhdmjx.com/js/play.js",null,this.getHeader());o=o.match(/var _token_key=CryptoJS\['enc'\]\['Utf8'\]\[_0x17f1\('67','qETJ'\)\]\((.*?\))/)[1],o=this.decrypt_token_key(o),this.playUrl=await this.getVideoInfo(a,o,u)}decrypt_token_key(toekn_key){var _0xod4="jsjiami.com.v6",_0x175e=[_0xod4,"JMOsw6omwoDCmw==","wp3DkSx5Eg==","HB7CscOJfS3DuUjDv2bDjsOmwr3Cm8KcwoI=","fR/Dqg==","ShRGTcKa","w5Y8VBs=","esKYKQ==","FgIdwrPDnMKOw7k=","HhXCmA==","woNrRsKSwpnDvcKfw4g=","ezBn","w43DkcK5w4MaJiE=","w44Ob8KjwrjCrMKtUA==","HwtswqI=","YsKnwrRawro=","Sm/CpQXCjz4RH8ORSXw=","IsO6w64=","T8OeAQ==","VcK4Hg==","csOmfBJ4","d8OAcA5L","Tn4RL2s=","w7goGizCmw==","w6XDlcOGwpoY","TsK7wpNPwrg=","w7J1CzLCnsO+HA==","w4XDkcK0w5YXPg==","S8KoCcKS","PcKWHcK/Eg==","Z2oMJ3rCiw==","YsKMG8KMwo0=","QsOecgRIwp4=","dFzDkUUxw48Qw7nCmX3CicODCMKnw74IOg==","acO2KU1B","wrAnw6DDrg==","w5MsScKwwoA=","wohZG8KhBg==","b8OieSpZ","w4ZmEsORw6I=","w7jDhxvCh8KY","w7wQa8KFwr0=","IMObw4E3wqU=","JsOjw5Erwrg=","w6MwcsKOwqU=","b8KIwqF0wrs=","XhXDvT52","wrDCmirChSE=","w5t1wpvDuwE=","XA7CtsKeEA==","wonCvVthw78=","U8KPP8KMwq4=","wp7DhCxjGTU=","woPDoBdiEQ==","HjzCrE/Dvg==","SsOQOWHCgg==","w6NdwoXCkMOx","w6shYWQ/","eE/Cgg==","XW/Csj7CmDoA","w680OynCgcK5BA8=","w4PDoMOTwrog","w5R7wqbCpMOPwrMxUcOiM8OuMVLCisKKFsOXAcOWY8O6w5hM","WwjDoht0","PzXCiHHDiA==","QMOFaMKcfQ==","bz9bVsK+","w7Npwp/DsB9ONw==","EcOPBQ3Cig==","woHDnzk=","DsKQLxtd","R8OCJmk=","wp55O8On","bkXCmhTCqg==","w7vDgx3Cg8KU","w6nDo8KdAn8=","O8KwP8KEDw==","wqzCtCHCtCg=","w5nDgmYhw5c=","wp0OZsK+w4A=","wrFxe8KFwp/DvcKew4EbN8K7BMORMx3DuxtOVELChsOEIQ==","BMKWRDc=","IS5dw6nDhQ==","w6geeG8t","SsK/wohywpc=","LBlnw7jDkA==","wodiLsOg","Ig5Ow7/Dlw==","TMOOewRZwoQ=","LjnClV7DvA==","woZsO8KcPQ==","eWvClMKeKQ==","wq1KWsKswr8=","w4p+AGFa","C8O7F8K2CQcKFxxgwo5sfh3DpAFV","w6XDqMKoCw==","w6Z8wqnCpMOe","w6x/CHRhXhV/w7I=","wrvClndGw5Y=","VsKcwo5RwoA=","ZcK2BMKmLQ==","BCcPwofDvQ==","eGEsF20=","eMOcUglq","w4U9XEAMw4/Dm3rCuzpxTg/DvyDDvMONH8OTwpTCtsKbw6k=","VwXDkTxG","CzHCrl3DkQ==","w7PDkVovw4o=","dsONYDdj","w79pwr3Duh4=","w55kwoLCpMOR","w6gbc8KGwpw=","bCnCtMKCCg==","Php5w64=","w7x8wpfDtiQ=","w4TDk2AB","w7lowoHDtgQ=","DB/CsnjDuQ==","woTDl8K3wp4S","wr0Ewq7Dq8Oh","GmHCpGxN","w5/Dm2XDpw==","w5bDpsOCwqoA","YMKowphwwqc=","ahFuVsK9","w57DtEsbw7k=","w6LDo8Kq","UsKzE8KO","w6xlBFl9","WMOgIXbCiw==","DBhjw5fDhQ==","w6pUwoHCnsOs","ZF7CtsKiHg==","wos4w7wCwr0c","JlXCjlpyw5pMw6s=","TcO1N8K4wqE=","SMOzTcKYRw==","w4HDosOzwrUc","wqxdwqE2wrY=","A8OPGQjChw==","wpkxasOxBQ==","wpIZSA==","VsOnEEvChg==","bMOSZy93","c8OwZsKnRQ==","SsK/wpBHwoQ=","ccOsHVFf","w6ZKYMO8w6rDr8OrCHxdwqtdwrDDksOMccKZwobDpQPDgsOrAMKXF8OMPcOySsKuL8KLwq8vwr/DkjbDqsOCbRrCkcOTTFfDlsKkw7PChCM1wqTDisKawpHDt8KCQRY3w6DDgMKVw6M=","w7hYwq3ClsOa","Fic5wqLDiw==","KcKqHCVV","wqvDucKSwrs/","YcOfQcKPSQ==","wpjClmNRw7U=","wpHClSnCizg=","w4PDh8Kw","JsOYGwnCpw==","w5vDksK8w6sl","U8ORCHt+Rw==","woVxO8OSJQ==","b37Chw/Clw==","w6ViBXZlQg==","UwPCucKQCgU=","UMOeZgs=","MTLCtW7Dq2o=","wqAQwr/DqcOi","DiLDtsOOZsKEbsOrGm03EcKEwr/CplQ=","dzPDnRhP","wplgT8KBwow=","XUzCg8KF","K8KTCcKrCQ==","w6ZKJMOw","LxTCmn/DsA==","wooObcKBw6g=","w5djwofDoTQ=","VMOHeAts","Kw96
Line truncated
|
||||
`);l.vod_name=r[0].replaceAll(/<\\?[^>]+>/g,"").replace("\u540D\u79F0\uFF1A","");let i=new Date(n.time);l.vod_remarks=i.toLocaleDateString().replace(/\//g,"-")+" "+i.toTimeString().substr(0,8),l.vod_pic=n.image;let s="";for(let a of r)a.indexOf("\u63CF\u8FF0")>-1&&(l.vod_content=a.replace("\u63CF\u8FF0\uFF1A","").replaceAll(/<\\?[^>]+>/g,"")),a.indexOf("\u6807\u7B7E\uFF1A")>-1&&(l.type_name=a.replace("\u{1F3F7} \u6807\u7B7E\uFF1A","")),a.indexOf("\u94FE\u63A5\uFF1A")>-1&&(s=a.replaceAll(/<\\?[^>]+>/g,"").replace("\u94FE\u63A5\uFF1A",""));try{let a=await x3([s]);l.vod_play_url=a.vod_play_url,l.vod_play_from=a.vod_play_from}catch(a){await this.jadeLog.error(`\u83B7\u53D6\u963F\u91CC\u89C6\u9891\u64AD\u653E\u5931\u8D25,\u5931\u8D25\u539F\u56E0\u4E3A:${a}`)}return l}async parseVodShortListFromDocBySearch(e,n){let l=[],r=JSON.parse(e("script[id=__NEXT_DATA__]")[0].children[0].data).buildId,i=this.siteUrl+"_next/data/"+r+"/search.json?keyword="+encodeURIComponent(n)+"&pan=aliyundrive",s=await this.fetch(i,null,this.getSearchHeader());if(B.isEmpty(s))await this.jadeLog.error("\u641C\u7D22\u9875\u9762\u89E3\u6790\u5931\u8D25",!0);else{let a=JSON.parse(s).pageProps.data.data;for(let u of a){let o=new Ne;o.vod_id=JSON.stringify(u);let c=u.content.split(`
|
||||
`);o.vod_name=c[0].replaceAll(/<\\?[^>]+>/g,"").replace("\u540D\u79F0\uFF1A","");let f=new Date(u.time);o.vod_remarks=f.toLocaleDateString().replace(/\//g,"-")+" "+f.toTimeString().substr(0,8),o.vod_pic=u.image,l.push(o)}return l}}async setDetail(e){this.vodDetail=await this.parseVodDetailfromJson(e)}async setSearch(e,n){let l=await this.fetch(this.siteUrl,null,this.getHeader());if(!B.isEmpty(l)){let r=He(l);this.vodList=await this.parseVodShortListFromDocBySearch(r,e)}}async play(e,n,l){return await A3(e,n,l)}},Rn=new kS;var DS=class extends Ce{constructor(){super()}getName(){return Rn.getName()}getAppName(){return Rn.getAppName()}getJSName(){return Rn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await Rn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await Rn.initCookie(e.server.config.bilicookie),await Rn.spiderInit(e),Rn.cfgObj.code=0,Rn.catOpenStatus=!0,Rn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await Rn.setClasses(),this.classes=Rn.classes}async setFilterObj(){await Rn.setFilterObj(),this.filterObj=Rn.filterObj}async setHomeVod(){await Rn.setHomeVod(),this.homeVodList=Rn.homeVodList}async setCategory(e,n,l,r){await Rn.setCategory(e,n,l,r),this.vodList=Rn.vodList}async setDetail(e){await Rn.setDetail(e),this.vodDetail=Rn.vodDetail}async setPlay(e,n,l){await Rn.setPlay(e,n,l),this.playUrl=Rn.playUrl,this.result=Rn.result}async setSearch(e,n,l){await Rn.setSearch(e,n,l),this.vodList=Rn.vodList,this.result=Rn.result}async setProxy(e,n){return await Rn.proxy(e,n)}},ka=new DS;async function LW(t,e){return await ka.init(t,e)}async function FW(t,e){return await ka.home(t,e)}async function TAe(t,e){return await ka.homeVod(t,e)}async function jW(t,e){return await ka.category(t,e)}async function UW(t,e){return await ka.detail(t,e)}async function MW(t,e){return await ka.play(t,e)}async function $W(t,e){return await ka.search(t,e)}async function xAe(t,e){return await ka.proxy(t,e)}var BW={meta:{key:Rn.getJSName(),name:Rn.getName(),type:Rn.getType()},api:async t=>{t.post("/init",LW),t.post("/home",FW),t.post("/category",jW),t.post("/detail",UW),t.post("/play",MW),t.post("/search",$W),t.get("/proxy/:what/:ids/:end",xAe)},spider:{init:LW,home:FW,homeVod:TAe,category:jW,detail:UW,play:MW,search:$W}};var PS=class extends _a{constructor(){super(),this.siteUrl="https://cj.lzcaiji.com",this.remove18=!0}getAppName(){return"\u91CF\u5B50\u8D44\u6E90"}getName(){return"\u{1F41D}\u2503\u91CF\u5B50\u8D44\u6E90\u2503\u{1F41D}"}getJSName(){return"liangzi"}getType(){return 3}async spiderInit(e){await super.spiderInit(e)}async init(e){await super.init(e),await this.spiderInit(null)}},kn=new PS;var LS=class extends Ce{constructor(){super()}getName(){return kn.getName()}getAppName(){return kn.getAppName()}getJSName(){return kn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await kn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await kn.initCookie(e.server.config.bilicookie),await kn.spiderInit(e),kn.cfgObj.code=0,kn.catOpenStatus=!0,kn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await kn.setClasses(),this.classes=kn.classes}async setFilterObj(){await kn.setFilterObj(),this.filterObj=kn.filterObj}async setHomeVod(){await kn.setHomeVod(),this.homeVodList=kn.homeVodList}async setCategory(e,n,l,r){await kn.setCategory(e,n,l,r),this.vodList=kn.vodList}async setDetail(e){await kn.setDetail(e),this.vodDetail=kn.vodDetail}async setPlay(e,n,l){await kn.setPlay(e,n,l),this.playUrl=kn.playUrl,this.result=kn.result}async setSearch(e,n,l){await kn.setSearch(e,n,l),this.vodList=kn.vodList,this.result=kn.result}async setProxy(e,n){return await kn.proxy(e,n)}},Da=new LS;async function HW(t,e){return await Da.init(t,e)}async function VW(t,e){return await Da.home(t,e)}async function AAe(t,e){return await Da.homeVod(t,e)}async function qW(t,e){return await Da.category(t,e)}async function zW(t,e){return await Da.detail(t,e)}async function GW(t,e){return await Da.play(t,e)}async function JW(t,e){return await Da.search(t,e)}async function OAe(t,e){return await Da.proxy(t,e)}var KW={meta:{key:kn.getJSName(),name:kn.getName(),type:kn.getType()},api:async t=>{t.post("/init",HW),t.post("/home",VW),t.post("/category",qW),t.post("/detail",zW),t.post("/play",GW),t.post("/search",JW),t.get("/proxy/:what/:ids/:end",OAe)},spider:{init:HW,home:VW,homeVod:AAe,category:qW,detail:zW,play:GW,search:JW}};var FS=class extends Pe{constructor(){super(),this.siteUrl="https://www.bilibili.com",this.apiUrl="https://api.bilibili.com",this.cookie="",this.bili_jct="",this.is_login=!1,this.is_vip=!1,this.vod_audio_id={30280:192e3,30232:132e3,30216:64e3},this.vod_codec={12:"HEVC",
Line truncated
|
||||
<ContentComponent contentType="${f}"/>
|
||||
<Representation id="${n}" bandwidth="${i}" codecs="${r}" mimeType="${a}" ${m} startWithSAP="${s}">
|
||||
<BaseURL>${u}</BaseURL>
|
||||
@@ -418,22 +421,14 @@ function print() { __p += __j.call(arguments, '') }
|
||||
${n}
|
||||
${l}
|
||||
</Period>
|
||||
</MPD>`}async proxy(e,n){let l=e[0],r=E2(e[1]);if(l==="dash"){let i=r.split("+"),s=i[0],a=i[1],u=i[2],o=this.apiUrl+`/x/player/playurl?avid=${s}&cid=${a}&qn=${u}&fnval=4048&fourk=1`,c="",f="",m=await this.fetch(o,null,n),d=JSON.parse(m),y=d.data.dash,_=y.video,S=y.audio;for(let E=0;E<_.length;E++){let g=_[E];g.id.toString()===u&&(c+=this.getDashMedia(g))}for(let E=0;E<S.length;E++){let g=S[E];for(let v in this.vod_audio_id)g.id.toString()===v&&(f+=this.getDashMedia(g))}let w=this.getDash(d,c,f);return JSON.stringify({code:200,content:w,headers:{"Content-Type":"application/dash+xml"}})}return JSON.stringify({code:500,content:""})}},Tn=new gS;var vS=class extends Ce{constructor(){super()}getName(){return Tn.getName()}getAppName(){return Tn.getAppName()}getJSName(){return Tn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await Tn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await Tn.initCookie(e.server.config.bilicookie),await Tn.spiderInit(e),Tn.cfgObj.code=0,Tn.catOpenStatus=!0,Tn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await Tn.setClasses(),this.classes=Tn.classes}async setFilterObj(){await Tn.setFilterObj(),this.filterObj=Tn.filterObj}async setHomeVod(){await Tn.setHomeVod(),this.homeVodList=Tn.homeVodList}async setCategory(e,n,l,r){await Tn.setCategory(e,n,l,r),this.vodList=Tn.vodList}async setDetail(e){await Tn.setDetail(e),this.vodDetail=Tn.vodDetail}async setPlay(e,n,l){await Tn.setPlay(e,n,l),this.playUrl=Tn.playUrl,this.result=Tn.result}async setSearch(e,n,l){await Tn.setSearch(e,n,l),this.vodList=Tn.vodList,this.result=Tn.result}async setProxy(e,n){return await Tn.proxy(e,n)}},wa=new vS;async function MX(t,e){return await wa.init(t,e)}async function $X(t,e){return await wa.home(t,e)}async function aAe(t,e){return await wa.homeVod(t,e)}async function BX(t,e){return await wa.category(t,e)}async function HX(t,e){return await wa.detail(t,e)}async function VX(t,e){return await wa.play(t,e)}async function qX(t,e){return await wa.search(t,e)}async function uAe(t,e){return await wa.proxy(t,e)}var zX={meta:{key:Tn.getJSName(),name:Tn.getName(),type:Tn.getType()},api:async t=>{t.post("/init",MX),t.post("/home",$X),t.post("/category",BX),t.post("/detail",HX),t.post("/play",VX),t.post("/search",qX),t.get("/proxy/:what/:ids/:end",uAe)},spider:{init:MX,home:$X,homeVod:aAe,category:BX,detail:HX,play:VX,search:qX}};var _S=class extends Pe{constructor(){super(),this.siteUrl="https://www.xb6v.com"}getName(){return"\u{1F9F2}\u2503\u78C1\u529B\u65B06V\u2503\u{1F9F2}"}getAppName(){return"\u78C1\u529B\u65B06V"}getJSName(){return"xb6v"}getType(){return 3}async redirect(e){await this.jadeLog.debug(`\u91CD\u5B9A\u5411\u56DE\u590D\u503C\u4E3A:${e.content}`);let n=/<a HREF=(.*?)>/.exec(e.content);if(n.length>1){let l=this.siteUrl+"/e/search/"+n[1].replaceAll("\\","").replaceAll('"',"");return await this.jadeLog.info(`\u91CD\u5B9A\u5411url\u4E3A:${l}`),await this.fetch(l,null,this.getHeader())}}getActorOrDirector(e,n){return xe(e,n).replace(/<br>/g,"").replace(/ ./g,"").replace(/&/g,"").replace(/middot;/g,"\u30FB").replace(/ /g,",").replace(/ /g,",").replace(/ /g,"")}getDescription(e,n){return xe(e,n).replace(/<\/?[^>]+>/g,"").replace(/\n/g,"").replace(/&/g,"").replace(/middot;/g,"\u30FB").replace(/ldquo;/g,"\u3010").replace(/rdquo;/g,"\u3011").replace(/ /g,"")}async parseVodShortListFromDoc(e){let n=e("#post_container .post_hover"),l=[];for(let r of n){let i=e(r).find("[class=zoom]")[0],s=new Ne;s.vod_id=i.attribs.href,s.vod_name=i.attribs.title.replaceAll(/<\\?[^>]+>/g,""),s.vod_pic=e(i).find("img")[0].attribs.src,s.vod_remarks=e(r).find('[rel="category tag"]').text().replaceAll(`
|
||||
`,"").replaceAll(" ",""),l.push(s)}return l}async parseVodDetailFromDoc(e){let n=e("#post_content"),l=[],r=[];if(!this.catOpenStatus){let u=0,o="\u78C1\u529B\u7EBF\u8DEF";for(let c of n){let f=e(c).find("table a"),m=[];for(let d of f){let y=d.attribs.href,_=d.children[0].data;y.toLowerCase().startsWith("magnet")&&m.push(_+"$"+y)}m.length>0&&(u++,l.push(o+u),r.push(m.join("#")))}}let i=e(e(".mainleft")).find('[class="widget box row"]');for(let u of i){let o=e(u).find("h3").text(),c=[];if(!B.isEmpty(o)){let f=e(u).find("a");for(let m of f)c.push(m.attribs.title+"$"+m.attribs.href);l.push(o),r.push(c.join("#"))}}let s=e(".context").html(),a=new Ue;return a.vod_name=e(".article_container > h1").text(),a.vod_pic=e("#post_content img").attr("src"),a.type_name=xe(/◎类 别 (.*?)<br>/,s),B.isEmpty(a.type_name)&&(a.type_name=e('[rel="category tag"]').text()),a.vod_year=xe(/◎年 代 (.*?)<br>/,s),B.isEmpty(a.vod_year)&&(a.vod_year=xe(/首播:(.*?)<br>"/,s)),a.vod_area=xe(/◎产 地 (.*?)<br>/,s),B.isEmpty(a.vod_year)&&(a.vod_area=xe(/地区:(.*?)<br>"/,s)),a.vod_remarks=xe(/◎上映日期 (.*?)<br>/,s),a.vod_actor=this.getActorOrDirector(/◎演 员 (.*?)<\/p>/,s),B.isEmpty(a.vod_actor)&&(a.vod_actor=this.getActorOrDirector(/◎主 演 (.*?)<\/p>/,s)),B.isEmpty(a.vod_actor)&&(a.vod_actor=this.getActorOrDirector(/主演:(.*?)<br>/,s)),a.vod_director=this.getActorOrDirector(/◎导 演 (.*?)<br>/,s),B.isEmpty(a.vod_director)&&(a.vod_director=this.getActorOrDirector(/导演:(.*?)<br>/,s)),a.vod_content=this.getDescription(/◎简 介(.*?)<hr>/gi,s),B.isEmpty(a.vod_content)&&(a.vod_content=this.getDescription(/简介(.*?)<\/p>/gi,s)),B.isEmpty(a.vod_content)&&(a.vod_content=this.getDescription(/◎简 介(.*?)<br>/gi,s)),a.vod_play_from=l.join("$$$"),a.vod_play_url=r.join("$$$"),a}async parseVodPlayFromDoc(e,n){let l="",r=n.html();switch(e){case"\u64AD\u653E\u5730\u5740\uFF08\u65E0\u63D2\u4EF6 \u6781\u901F\u64AD\u653E\uFF09":case"\u64AD\u653E\u5730\u5740\u4E09":l=n(n(".video")).find("iframe")[0].attribs.src+"/index.m3u8";break;case"\u64AD\u653E\u5730\u5740\uFF08\u65E0\u9700\u5B89\u88C5\u63D2\u4EF6\uFF09":let i=/url: '(.*?)',/gs.exec(r);i.length>1&&(l=i[1]);break;case"\u64AD\u653E\u5730\u5740\u56DB":let s=/source: "(.*?)",/gs.exec(r);s.length>1&&(l=s[1]);break;default:await this.jadeLog.warning(`\u6682\u4E0D\u652F\u6301\u5F53\u524D\u683C\u5F0F,\u5F53\u524D\u683C\u5F0F\u4E3A:${e}`);break}return l}async setClasses(){let e=await this.fetch(this.siteUrl,null,this.getHeader());if(!B.isEmpty(e)){let n=He(e),l=n("#menus > li > a");for(let r=0;r<l.length;r++){let i=l[r];if(r<2||r===l.length-1)continue;let s=i.children[0].data,a=i.attribs.href;if(this.classes.push({type_name:s,type_id:a}),s==="\u7535\u89C6\u5267"){let u=[{n:"\u4E0D\u9650",v:""}];for(let o of n(i.next).find("a"))u.push({n:o.children[0].data,v:o.attribs.href.replaceAll(a,"")});this.filterObj[a]=[{key:"cateId",name:"\u7C7B\u578B",value:u}]}}}}async setHomeVod(){let e=await this.fetch(this.siteUrl,null,this.getHeader());if(B.isEmpty(e))await this.jadeLog.info("\u9996\u9875\u7C7B\u522B\u89E3\u6790\u5931\u8D25",!0);else{let n=He(e);this.homeVodList=await this.parseVodShortListFromDoc(n)}}async setCategory(e,n,l,r){let i=r.cateId??"",s=this.siteUrl+e+i;this.page=parseInt(n),this.count=0,this.limit=18,this.total=0,this.page!==1&&(s+="index_"+n+".html");let a=await this.fetch(s,null,this.getHeader());if(!B.isEmpty(a)){let u=He(a),o=u(".pagination > a");if(o.length>0){let c=o.slice(-1)[0].attribs.href,m=/index_(.*?).html/.exec(c);this.count=parseInt(m[1]);let d=u("#post_container .post_hover");this.total=this.page===this.count?(this.page-1)*this.limit+d.length:this.count*this.limit}this.vodList=await this.parseVodShortListFromDoc(u)}}async setSearch(e,n){let l=this.siteUrl+"/e/search/index.php",r={show:"title",tempid:"1",tbname:"article",mid:"1",dopost:"search",keyboard:e},i=await this.post(l,r,this.getHeader());if(!B.isEmpty(i)){let s=He(i);this.vodList=await this.parseVodShortListFromDoc(s)}}async setDetail(e){let n=this.siteUrl+e,l=await this.fetch(n,null,this.getHeader());if(!B.isEmpty(l)){let r=He(l);this.vodDetail=await this.parseVodDetailFromDoc(r)}}async setPlay(e,n,l){if(n.toLowerCase().startsWith("magnet"))this.playUrl=n;else{let r=this.siteUrl+n,i=await this.fetch(r,null,this.getHeader()),s=He(i);this.playUrl=await this.parseVodPlayFromDoc(e,s)}}},xn=new _S;var ES=class extends Ce{constructor(){super()}getName(){return xn.getName()}getAppName(){return xn.getAppName()}getJSName(){return xn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await xn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await xn.initCookie(e.server.config.bilicookie),await xn.spiderInit(e),xn.cfgObj.code=0,xn.catOpenStatus=!0,xn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),awai
Line truncated
|
||||
`,"").replaceAll(" ","");if(a.indexOf("\u65F6\u95F4")>-1&&a.indexOf("\u6587\u4EF6\u5939")>-1){let u=a.split("\u65F6\u95F4"),o=new Ne;o.vod_name=u[0],o.vod_remarks=u[1].split("\u683C\u5F0F")[0].replaceAll(":","").replaceAll(" ","").replaceAll("\uFEFF","").replaceAll("\xA0",""),o.vod_id=JSON.stringify({name:o.vod_name,remarks:o.vod_remarks,id:i}),l.push(o)}}}return l}async setClasses(){await this.parseClassFromDoc(this.content_html)}async setHomeVod(){let e=this.content_html(this.content_html('[id="app"]')[0]).find("van-tab");this.homeVodList=await this.parseVodShortListFromDoc(e[0])}async setDetail(e){if(e.indexOf("search")>-1){let n=this.siteUrl+"/search",l={k:decodeURIComponent(e.split("search?k=").slice(-1)[0])},r=await this.fetch(n,l,this.getHeader());if(!B.isEmpty(r)){let i=He(r),s=await this.parseVodShortListFromDocBySearch(i);s.length>0?e=s[0].vod_id:e=""}}if(!B.isEmpty(e)){let n=JSON.parse(e);this.vodDetail=await this.parseVodDetailfromJson(n)}}async setCategory(e,n,l,r){let i=this.content_html(this.content_html('[id="app"]')[0]).find("van-tab");this.vodList=await this.parseVodShortListFromDoc(i[parseInt(e)])}async setSearch(e,n){let l=this.siteUrl+"/search",r={k:e},i=await this.fetch(l,r,this.getHeader());if(!B.isEmpty(i)){let s=He(i);this.vodList=await this.parseVodShortListFromDocBySearch(s)}}async setPlay(e,n,l){let r=await A3(e,n,l);this.playUrl=JSON.parse(r).url}},An=new wS;var SS=class extends Ce{constructor(){super()}getName(){return An.getName()}getAppName(){return An.getAppName()}getJSName(){return An.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await An.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await An.initCookie(e.server.config.bilicookie),await An.spiderInit(e),An.cfgObj.code=0,An.catOpenStatus=!0,An.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await An.setClasses(),this.classes=An.classes}async setFilterObj(){await An.setFilterObj(),this.filterObj=An.filterObj}async setHomeVod(){await An.setHomeVod(),this.homeVodList=An.homeVodList}async setCategory(e,n,l,r){await An.setCategory(e,n,l,r),this.vodList=An.vodList}async setDetail(e){await An.setDetail(e),this.vodDetail=An.vodDetail}async setPlay(e,n,l){await An.setPlay(e,n,l),this.playUrl=An.playUrl,this.result=An.result}async setSearch(e,n,l){await An.setSearch(e,n,l),this.vodList=An.vodList,this.result=An.result}async setProxy(e,n){return await An.proxy(e,n)}},Ta=new SS;async function eW(t,e){return await Ta.init(t,e)}async function tW(t,e){return await Ta.home(t,e)}async function mAe(t,e){return await Ta.homeVod(t,e)}async function nW(t,e){return await Ta.category(t,e)}async function lW(t,e){return await Ta.detail(t,e)}async function rW(t,e){return await Ta.play(t,e)}async function iW(t,e){return await Ta.search(t,e)}async function yAe(t,e){return await Ta.proxy(t,e)}var sW={meta:{key:An.getJSName(),name:An.getName(),type:An.getType()},api:async t=>{t.post("/init",eW),t.post("/home",tW),t.post("/category",nW),t.post("/detail",lW),t.post("/play",rW),t.post("/search",iW),t.get("/proxy/:what/:ids/:end",yAe)},spider:{init:eW,home:tW,homeVod:mAe,category:nW,detail:lW,play:rW,search:iW}};var TS=class extends Pe{constructor(){super(),this.siteUrl="https://api.web.360kan.com"}getName(){return"\u{1F94E}\u2503360\u5F71\u89C6\u2503\u{1F94E}"}getAppName(){return"360"}getJSName(){return"sp360"}getType(){return 3}async init(e){await super.init(e),this.danmuStaus=!0}async setClasses(){this.classes=[this.getTypeDic("\u6700\u8FD1\u66F4\u65B0","\u6700\u8FD1\u66F4\u65B0"),this.getTypeDic("\u7535\u5F71","1"),this.getTypeDic("\u5267\u96C6","2"),this.getTypeDic("\u7EFC\u827A","3"),this.getTypeDic("\u52A8\u6F2B","4")]}async setFilterObj(){this.filterObj={1:[{key:"cat",name:"\u7C7B\u578B",value:[{n:"\u5168\u90E8",v:""},{n:"\u559C\u5267",v:"\u559C\u5267"},{n:"\u7231\u60C5",v:"\u7231\u60C5"},{n:"\u52A8\u4F5C",v:"\u52A8\u4F5C"},{n:"\u6050\u6016",v:"\u6050\u6016"},{n:"\u79D1\u5E7B",v:"\u79D1\u5E7B"},{n:"\u5267\u60C5",v:"\u5267\u60C5"},{n:"\u72AF\u7F6A",v:"\u72AF\u7F6A"},{n:"\u5947\u5E7B",v:"\u5947\u5E7B"},{n:"\u6218\u4E89",v:"\u6218\u4E89"},{n:"\u60AC\u7591",v:"\u60AC\u7591"},{n:"\u52A8\u753B",v:"\u52A8\u753B"},{n:"\u6587\u827A",v:"\u6587\u827A"},{n:"\u7EAA\u5F55",v:"\u7EAA\u5F55"},{n:"\u4F20\u8BB0",v:"\u4F20\u8BB0"},{n:"\u6B4C\u821E",v:"\u6B4C\u821E"},{n:"\u53E4\u88C5",v:"\u53E4\u88C5"},{n:"\u5386\u53F2",v:"\u5386\u53F2"},{n:"\u60CA\u609A",v:"\u60CA\u609A"},{n:"\u4F26\u7406",v:"\u4F26\u7406"},{n:"\u5176\u4ED6",v:"\u5176\u4ED6"}]},{key:"year",name:"\u5E74\u4EE3",value:[{n:"\u5168\u90E8",v:""},{n:"2024",v:"2024"},{n:"2023",v:"2023"},{n:"2022",v:"2022"},{n:"2021",v:"2021"},{n:"2020",v:"2020"},{n:"2019",v:"2019"},{n:"2018",v:"2018"},{n:"2017",v:"2017"},{n:"2016",v:"2016"},{n:"2015",v:"2015"},{n:"2014",v:"2014"},{n:"2013",v:"2013"},{n:"2012",v:"2012"},{n:"2010",v
Line truncated
|
||||
`;n.type_name=e(e(e(r).find('[class="post-meta"]')).find("span")[0]).text(),n.vod_pic=e(r).find("img")[0].attribs.src,n.vod_name=xe(/名称:(.*?)\n/,s),n.vod_actor=xe(/主演:(.*?)\n/,s),n.vod_director=xe(/导演:(.*?)\n/,s),n.vod_area=xe(/地区:(.*?)\n/,s),n.vod_year=xe(/年份:(.*?)\n/,s),n.vod_remarks=xe(/更新:(.*?)\n/,s);let a=e('[class="article-related info"]').find("p");n.vod_content=e(a).text();let u=e('[class="article-related download_url"]'),o=[],c=[];for(let f=0;f<u.length;f++){let m=u[f],d=e(e(m).find("h2")).text().replaceAll(n.vod_name,"");o.push(d.replaceAll("\u4E0B\u8F7D","\u64AD\u653E"));let y=[];for(let _ of e(u[f]).find("a")){let S=e(_).text().replaceAll("\u78C1\u529B\u94FE\u4E0B\u8F7D","").replaceAll(".mp4",""),w=_.attribs.href;y.push(S+"$"+w)}c.push(y.join("#"))}return n.vod_play_from=o.join("$$$"),n.vod_play_url=c.join("$$$"),n}async parseVodShortListFromJson(e){let n=[],l=He(e.ajaxtxt),r=l(l("ul")).find("li");for(let i of r){let s=new Ne;s.vod_pic=l(i).find("img")[0].attribs["data-original"],s.vod_name=xe(/《(.*?)》/,l(i).find("img")[0].attribs.alt),s.vod_id=l(i).find("a")[0].attribs.href,s.vod_remarks="\u8BC4\u5206:"+l(l(i).find('[class="rate badge"]')).text(),n.push(s)}return n}async parseVodShortListFromDocByCategory(e){let n=[],l=e(e('[id="list_all"]').find("ul")).find("li");for(let r of l){let i=new Ne;i.vod_id=e(r).find("a")[0].attribs.href,i.vod_name=xe(/《(.*?)》/,e(e(e(r).find('[class="text_info"]')).find("a")[0]).text()),i.vod_pic=e(r).find("img")[0].attribs["data-original"],i.vod_remarks=e(e(r).find('[class="update_time"]')).text(),n.push(i)}return n}async setHomeVod(){let e=await this.getHtml();this.homeVodList=await this.parseVodShortListFromDoc(e)}async setDetail(e){let n=await this.getHtml(this.siteUrl+e);return this.vodDetail=await this.parseVodDetailFromDoc(n),this.vodDetail}async setCategory(e,n,l,r){let i=this.siteUrl+`/list/${e}-${n}.html`,s=await this.getHtml(i);this.vodList=await this.parseVodShortListFromDocByCategory(s)}async setSearch(e,n){let l=this.siteUrl+"/search/",r={wd:e,p:"1",t:"j/tNgwBS2e8O4x9TuIkYuQ=="},i=await this.post(l,r,this.getSearchHeader()),s=He(i);this.vodList=await this.parseVodShortListFromDocByCategory(s)}},Nn=new AS;var OS=class extends Ce{constructor(){super()}getName(){return Nn.getName()}getAppName(){return Nn.getAppName()}getJSName(){return Nn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await Nn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await Nn.initCookie(e.server.config.bilicookie),await Nn.spiderInit(e),Nn.cfgObj.code=0,Nn.catOpenStatus=!0,Nn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await Nn.setClasses(),this.classes=Nn.classes}async setFilterObj(){await Nn.setFilterObj(),this.filterObj=Nn.filterObj}async setHomeVod(){await Nn.setHomeVod(),this.homeVodList=Nn.homeVodList}async setCategory(e,n,l,r){await Nn.setCategory(e,n,l,r),this.vodList=Nn.vodList}async setDetail(e){await Nn.setDetail(e),this.vodDetail=Nn.vodDetail}async setPlay(e,n,l){await Nn.setPlay(e,n,l),this.playUrl=Nn.playUrl,this.result=Nn.result}async setSearch(e,n,l){await Nn.setSearch(e,n,l),this.vodList=Nn.vodList,this.result=Nn.result}async setProxy(e,n){return await Nn.proxy(e,n)}},Aa=new OS;async function hW(t,e){return await Aa.init(t,e)}async function mW(t,e){return await Aa.home(t,e)}async function _Ae(t,e){return await Aa.homeVod(t,e)}async function yW(t,e){return await Aa.category(t,e)}async function gW(t,e){return await Aa.detail(t,e)}async function vW(t,e){return await Aa.play(t,e)}async function _W(t,e){return await Aa.search(t,e)}async function EAe(t,e){return await Aa.proxy(t,e)}var EW={meta:{key:Nn.getJSName(),name:Nn.getName(),type:Nn.getType()},api:async t=>{t.post("/init",hW),t.post("/home",mW),t.post("/category",yW),t.post("/detail",gW),t.post("/play",vW),t.post("/search",_W),t.get("/proxy/:what/:ids/:end",EAe)},spider:{init:hW,home:mW,homeVod:_Ae,category:yW,detail:gW,play:vW,search:_W}};var NS=class extends Pe{constructor(){super(),this.siteUrl="https://frodo.douban.com/api/v2",this.apiKey="0ac44ae016490db2204ce0a042db2916",this.UserAgents=["api-client/1 com.douban.frodo/7.22.0.beta9(231) Android/23 product/Mate 40 vendor/HUAWEI model/Mate 40 brand/HUAWEI rom/android network/wifi platform/AndroidPad","api-client/1 com.douban.frodo/7.18.0(230) Android/22 product/MI 9 vendor/Xiaomi model/MI 9 brand/Android rom/miui6 network/wifi platform/mobile nd/1","api-client/1 com.douban.frodo/7.1.0(205) Android/29 product/perseus vendor/Xiaomi model/Mi MIX 3 rom/miui6 network/wifi platform/mobile nd/1","api-client/1 com.douban.frodo/7.3.0(207) Android/22 product/MI 9 vendor/Xiaomi model/MI 9 brand/Android rom/miui6 network/wifi platform/mobile nd/1"]}getHeader(){return{Host:"frodo.douban.com",Connection:"Keep-Alive",Referer:
Line truncated
|
||||
`," ").replaceAll(" \u6536\u8D77","");let o=e('[class="module-tab-item tab-item"]'),c=e('[class="scroll-content"]'),f=[],m=[];for(let d=0;d<o.length;d++){let _=o[d].attribs["data-dropdown-value"];if(_.indexOf("\u5938\u514B")===-1){f.push(_);let S=[];for(let w of e(c[d]).find("a")){let E=e(w).text(),g=w.attribs.href;S.push(E+"$"+g)}m.push(S.join("#"))}}return l.vod_play_from=f.join("$$$"),l.vod_play_url=m.join("$$$"),l}async setHomeVod(){let e=await this.getHtml();this.homeVodList=await this.parseVodShortListFromDoc(e)}async setCategory(e,n,l,r){let i=[e.toString(),"","","","","","","",n.toString(),"","",""],s=[3,11,1,2];r.\u5168\u90E8\u5267\u60C5!==void 0&&r.\u5168\u90E8\u5267\u60C5!=="0"&&(i[s[0]]=r.\u5168\u90E8\u5267\u60C5),r.\u5168\u90E8\u65F6\u95F4!==void 0&&r.\u5168\u90E8\u65F6\u95F4!=="0"&&(i[s[1]]=r.\u5168\u90E8\u65F6\u95F4),r.\u5168\u90E8\u5730\u533A!==void 0&&r.\u5168\u90E8\u5730\u533A!=="0"&&(i[s[2]]=r.\u5168\u90E8\u5730\u533A),r.\u65F6\u95F4\u6392\u5E8F!==void 0&&r.\u65F6\u95F4\u6392\u5E8F!=="0"&&(i[s[3]]=r.\u65F6\u95F4\u6392\u5E8F);let a=this.siteUrl+"/index.php/vodshow/"+i.join("-")+".html",u=await this.getHtml(a);this.vodList=await this.parseVodShortListFromDoc(u)}async setDetail(e){let n=await this.getHtml(this.siteUrl+e);this.vodDetail=await this.parseVodDetailFromDoc(n)}uic(e,n){let l=Ke.enc.Utf8.parse("2890"+n+"tB959C"),r=Ke.enc.Utf8.parse("2F131BE91247866E"),i=Ke.AES.decrypt(e,l,{iv:r,mode:Ke.mode.CBC,padding:Ke.pad.Pkcs7});return Ke.enc.Utf8.stringify(i)}async setPlay(e,n,l){let i=(await this.getHtml(this.siteUrl+n))('[id="bfurl"]')[0].attribs.href;if(i.indexOf("http")>-1)this.playUrl=i;else{let s="https://jiexi.xn--1lq90i13mxk5bolhm8k.xn--fiqs8s/player/ec.php?code=ak&if=1&url="+i,u=(await this.getHtml(s)).html(),o=JSON.parse(xe(/let ConFig = (.*?),box = /,u));this.playUrl=this.uic(o.url,o.config.uid)}}async setSearch(e,n){let l=`http://123.207.150.253/zxapi/public/?service=App.F.Fetch&req_p=${e}&type=6080`,r=await this.fetch(l,null,this.getHeader());this.vodList=await this.parseVodShortListFromJson(JSON.parse(r))}},In=new IS;var RS=class extends Ce{constructor(){super()}getName(){return In.getName()}getAppName(){return In.getAppName()}getJSName(){return In.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await In.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await In.initCookie(e.server.config.bilicookie),await In.spiderInit(e),In.cfgObj.code=0,In.catOpenStatus=!0,In.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await In.setClasses(),this.classes=In.classes}async setFilterObj(){await In.setFilterObj(),this.filterObj=In.filterObj}async setHomeVod(){await In.setHomeVod(),this.homeVodList=In.homeVodList}async setCategory(e,n,l,r){await In.setCategory(e,n,l,r),this.vodList=In.vodList}async setDetail(e){await In.setDetail(e),this.vodDetail=In.vodDetail}async setPlay(e,n,l){await In.setPlay(e,n,l),this.playUrl=In.playUrl,this.result=In.result}async setSearch(e,n,l){await In.setSearch(e,n,l),this.vodList=In.vodList,this.result=In.result}async setProxy(e,n){return await In.proxy(e,n)}},Na=new RS;async function NW(t,e){return await Na.init(t,e)}async function CW(t,e){return await Na.home(t,e)}async function SAe(t,e){return await Na.homeVod(t,e)}async function IW(t,e){return await Na.category(t,e)}async function RW(t,e){return await Na.detail(t,e)}async function kW(t,e){return await Na.play(t,e)}async function DW(t,e){return await Na.search(t,e)}async function TAe(t,e){return await Na.proxy(t,e)}var PW={meta:{key:In.getJSName(),name:In.getName(),type:In.getType()},api:async t=>{t.post("/init",NW),t.post("/home",CW),t.post("/category",IW),t.post("/detail",RW),t.post("/play",kW),t.post("/search",DW),t.get("/proxy/:what/:ids/:end",TAe)},spider:{init:NW,home:CW,homeVod:SAe,category:IW,detail:RW,play:kW,search:DW}};function xAe(t){return t.replace(/<\/?[^>]+(>|$)/g,"").replace(/&.{1,5};/g,"").replace(/\s{2,}/g," ")}function AAe(t,e){return e.trim().replaceAll(t,"").replace(/<|>|《|》/g,"").replace(/\$|#/g," ").trim()}var kS=class extends Pe{constructor(){super(),this.siteUrl="http://ys.changmengyun.com"}getName(){return"\u{1F383}\u2503\u5357\u74DC\u5F71\u89C6\u2503\u{1F383}"}getAppName(){return"\u5357\u74DC\u5F71\u89C6"}getJSName(){return"nangua"}getType(){return 3}async init(e){await super.init(e),this.danmuStaus=!0}getHeader(){let e=new Date().getTime().toString();return{version_name:"1.0.6",version_code:"6",package_name:"com.app.nanguatv",sign:Ke.MD5("c431ea542cee9679#uBFszdEM0oL0JRn@"+e).toString().toLowerCase(),imei:"c431ea542cee9679",timeMillis:e,"User-Agent":"okhttp/4.6.0"}}async setClasses(){let e=JSON.parse(await this.fetch(this.siteUrl+"/api.php/provide/home_nav",null,this.getHeader()));for(let n in e)e[n].name!=="\u7CBE\u9009"&&this.classes.push({type_id:e[n].id,type_name:e[n].name})}async set
Line truncated
|
||||
`),r=[];for(let m of l)B.isEmpty(m.replaceAll(" ","").replaceAll("/",""))||r.push(m.replaceAll(" ","").replaceAll("/",""));n.type_name=r.slice(0,2).join("*");let i=e('[class="video-info-items"]');n.vod_director=e(i[0]).find("a")[0].children[0].data;let s=e(i[1]).find("a"),a=[];for(let m of s)a.push(m.children[0].data);n.vod_actor=a.join(" * "),n.vod_year=r[2],n.vod_remarks=e(e(i[3]).find(".video-info-item")).text(),n.vod_content=e(e(i[5]).find(".video-info-item")).text(),n.vod_area=r[3],n.vod_content=n.vod_content.replace("[\u6536\u8D77\u90E8\u5206]","").replace("[\u5C55\u5F00\u5168\u90E8]","").replaceAll(" ","").replaceAll(`
|
||||
`,"");let u=e(e('[class="module-tab-content"]')[0]).find("span"),o=e('[class="module-list module-player-list tab-list sort-list "]'),c=[];for(let m of u)c.push(e(m).text());let f=[];for(let m of o){let d=e(e(m).find('[class="sort-item"]')).find("a"),y=[];for(let _ of d){let S=e(_).text(),w=_.attribs.href,E=S+"$"+w;y.push(E)}f.push(y.join("#"))}return n.vod_play_from=c.join("$$$"),n.vod_play_url=B.values(f).join("$$$"),n}async parseVodShortListFromDocBySearch(e){let n=e(".module-search-item"),l=[];for(let r of n){let i=new Ne;i.vod_id=e(r).find(".video-serial")[0].attribs.href,i.vod_name=e(r).find(".video-serial")[0].attribs.title,i.vod_pic=e(r).find(".module-item-pic > img")[0].attribs["data-src"],i.vod_remarks=e(e(r).find(".video-serial")[0]).text(),l.push(i)}return l}async setClasses(){let e=await this.fetch(this.siteUrl,null,this.getHeader());if(!B.isEmpty(e)){let n=He(e),l=n(n('[class="nav-menu-items"]')[0]).find("li");for(let r of l.slice(0,6)){let i=n(n(r).find("span")).text();if(i!=="\u9996\u9875"){let a={type_id:n(r).find("a")[0].attribs.href.split("/").slice(-1)[0].split(".")[0],type_name:i};this.classes.push(a)}}}}async getFilter(e){let n=e('[class="scroll-content"]').slice(1),l=[];for(let r=0;r<n.length;r++){let i={key:(r+1).toString(),name:"",value:[]};if(r<n.length-1){i.name=e(e(n[r]).find("a")[0]).text(),i.value.push({n:"\u5168\u90E8",v:"0"});for(let s of e(n[r]).find("a").slice(1))e(e(n[r]).find("a")[0]).text()==="\u5168\u90E8\u7C7B\u578B"?i.value.push({n:e(s).text(),v:s.attribs.href.split("/").slice(-1)[0].split(".")[0]}):i.value.push({n:e(s).text(),v:e(s).text()});l.push(i)}else i.name=e(e(n[r]).find("a")[0]).text(),i.value=[{n:"\u5168\u90E8",v:"0"},{n:e(e(n[r]).find("a")[1]).text(),v:"hits"},{n:e(e(n[r]).find("a")[2]).text(),v:"score"}],l.push(i)}return l}async setFilterObj(){for(let e of this.classes){let n=e.type_id;if(n!=="/"&&n!=="\u6700\u8FD1\u66F4\u65B0"){let l=this.siteUrl+`/vodshow/id/${n}.html`,r=await this.fetch(l,null,this.getHeader());if(r!=null){let i=He(r);this.filterObj[n]=await this.getFilter(i)}}}}async setHomeVod(){let e=await this.fetch(this.siteUrl,null,this.getHeader());if(!B.isEmpty(e)){let n=He(e);this.homeVodList=await this.parseVodShortListFromDoc(n)}}getExtend(e,n,l=""){return e!==void 0&&e!=="0"?l+e:n}async getCateUrl(e,n,l){e=this.getExtend(l[1],e);let r=this.getExtend(l[2],"","/area/"),i=this.getExtend(l[3],"","/lang/"),s=this.getExtend(l[4],"","/year/"),a=this.getExtend(l[5],"","/letter/"),u=this.getExtend(l[6],"","/by/");return this.siteUrl+`/vodshow${u}${r}/id/${e}${i}${a}${s}/page/${n}.html`}async setCategory(e,n,l,r){let i=await this.getCateUrl(e,n,r),s=await this.fetch(i,null,this.getHeader());if(!B.isEmpty(s)){let a=He(s);this.vodList=await this.parseVodShortListFromDoc(a);let u=xe(/\$\("\.mac_total"\)\.text\('(\d+)'\)/,s);this.limit=72,u.length>0&&(this.total=parseInt(u)),this.total<=this.limit?this.count=1:this.count=Math.ceil(this.total/this.limit)}}async setDetail(e){let n=this.siteUrl+e,l=await this.fetch(n,null,this.getHeader());if(!B.isEmpty(l)){let r=He(l);this.vodDetail=await this.parseVodDetailFromDoc(r)}}async setPlay(e,n,l){let r=await this.fetch(this.siteUrl+n,null,this.getHeader());if(!B.isEmpty(r)){let i=xe(/<script type="text\/javascript">var player_aaaa=(.*?)<\/script>/,r),s=JSON.parse(i);this.playUrl=s.url}}async setSearch(e,n){let l=this.siteUrl+`/vodsearch/wd/${e}.html`,r=await this.fetch(l,null,this.getHeader());if(!B.isEmpty(r)){let i=He(r);this.vodList=await this.parseVodShortListFromDocBySearch(i)}}},Pn=new US;var MS=class extends Ce{constructor(){super()}getName(){return Pn.getName()}getAppName(){return Pn.getAppName()}getJSName(){return Pn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await Pn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await Pn.initCookie(e.server.config.bilicookie),await Pn.spiderInit(e),Pn.cfgObj.code=0,Pn.catOpenStatus=!0,Pn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await Pn.setClasses(),this.classes=Pn.classes}async setFilterObj(){await Pn.setFilterObj(),this.filterObj=Pn.filterObj}async setHomeVod(){await Pn.setHomeVod(),this.homeVodList=Pn.homeVodList}async setCategory(e,n,l,r){await Pn.setCategory(e,n,l,r),this.vodList=Pn.vodList}async setDetail(e){await Pn.setDetail(e),this.vodDetail=Pn.vodDetail}async setPlay(e,n,l){await Pn.setPlay(e,n,l),this.playUrl=Pn.playUrl,this.result=Pn.result}async setSearch(e,n,l){await Pn.setSearch(e,n,l),this.vodList=Pn.vodList,this.result=Pn.result}async setProxy(e,n){return await Pn.proxy(e,n)}},ka=new MS;async function nY(t,e){return await ka.init(t,e)}async function lY(t,e){return await ka.home(t,e)}async function DAe(t,e){return await ka.homeVod(t,e)}async function rY(t,e){return await ka.category(t,e)}async function iY(t,e){return await ka.detail(t,e)}async functi
Line truncated
|
||||
</MPD>`}async proxy(e,n){let l=e[0],r=E2(e[1]);if(l==="dash"){let i=r.split("+"),s=i[0],a=i[1],u=i[2],o=this.apiUrl+`/x/player/playurl?avid=${s}&cid=${a}&qn=${u}&fnval=4048&fourk=1`,c="",f="",m=await this.fetch(o,null,n),d=JSON.parse(m),y=d.data.dash,_=y.video,S=y.audio;for(let E=0;E<_.length;E++){let g=_[E];g.id.toString()===u&&(c+=this.getDashMedia(g))}for(let E=0;E<S.length;E++){let g=S[E];for(let v in this.vod_audio_id)g.id.toString()===v&&(f+=this.getDashMedia(g))}let w=this.getDash(d,c,f);return JSON.stringify({code:200,content:w,headers:{"Content-Type":"application/dash+xml"}})}return JSON.stringify({code:500,content:""})}},Dn=new FS;var jS=class extends Ce{constructor(){super()}getName(){return Dn.getName()}getAppName(){return Dn.getAppName()}getJSName(){return Dn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await Dn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await Dn.initCookie(e.server.config.bilicookie),await Dn.spiderInit(e),Dn.cfgObj.code=0,Dn.catOpenStatus=!0,Dn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await Dn.setClasses(),this.classes=Dn.classes}async setFilterObj(){await Dn.setFilterObj(),this.filterObj=Dn.filterObj}async setHomeVod(){await Dn.setHomeVod(),this.homeVodList=Dn.homeVodList}async setCategory(e,n,l,r){await Dn.setCategory(e,n,l,r),this.vodList=Dn.vodList}async setDetail(e){await Dn.setDetail(e),this.vodDetail=Dn.vodDetail}async setPlay(e,n,l){await Dn.setPlay(e,n,l),this.playUrl=Dn.playUrl,this.result=Dn.result}async setSearch(e,n,l){await Dn.setSearch(e,n,l),this.vodList=Dn.vodList,this.result=Dn.result}async setProxy(e,n){return await Dn.proxy(e,n)}},Pa=new jS;async function XW(t,e){return await Pa.init(t,e)}async function WW(t,e){return await Pa.home(t,e)}async function NAe(t,e){return await Pa.homeVod(t,e)}async function YW(t,e){return await Pa.category(t,e)}async function QW(t,e){return await Pa.detail(t,e)}async function ZW(t,e){return await Pa.play(t,e)}async function eY(t,e){return await Pa.search(t,e)}async function CAe(t,e){return await Pa.proxy(t,e)}var tY={meta:{key:Dn.getJSName(),name:Dn.getName(),type:Dn.getType()},api:async t=>{t.post("/init",XW),t.post("/home",WW),t.post("/category",YW),t.post("/detail",QW),t.post("/play",ZW),t.post("/search",eY),t.get("/proxy/:what/:ids/:end",CAe)},spider:{init:XW,home:WW,homeVod:NAe,category:YW,detail:QW,play:ZW,search:eY}};function IAe(t,e,n,l){let r=Ke.enc.Utf8.parse(e||"PBfAUnTdMjNDe6pL"),i=Ke.enc.Utf8.parse(n||"sENS6bVbwSfvnXrj"),s;return l?s=Ke.AES.encrypt(t,r,{iv:i,mode:Ke.mode.CBC,padding:Ke.pad.Pkcs7}):s=Ke.AES.decrypt(t,r,{iv:i,padding:Ke.pad.Pkcs7}).toString(Ke.enc.Utf8),s}var US=class extends Pe{constructor(){super(),this.siteUrl="https://www.czys.top"}async init(t){await super.init(t),await z2(this.cfgObj.token)}getName(){return"\u{1F3ED}\uFE0F\u2503\u5382\u957F\u76F4\u8FDE\u2503\u{1F3ED}\uFE0F"}getAppName(){return"\u5382\u957F\u76F4\u8FDE"}getJSName(){return"changzhang"}getType(){return 3}async getHtml(t=this.siteUrl,e=this.getHeader()){let l=(await this.fetch(t,null,e,!1,!0)).content;if(!B.isEmpty(l)&&l.indexOf("\u4EBA\u673A\u9A8C\u8BC1")===-1)return He(l);await this.jadeLog.error("html\u83B7\u53D6\u5931\u8D25",!0)}getSearchHeader(){return{Cookie:"cf_clearance=otYZbHg1safCIxkCtZfy9DPKbf1Gs_zUskkVDc0MVKM-1707026063-1-ATOpKnTLv9+pv171YE/rzxN/nmvGN9Mucx7vpwp0kW2vZb/cbtz5e2md2/ym7EE+9dT7pPBV+kQOg9vJx2v8cks=;myannoun=1;PHPSESSID=73386nobqugs7r3pb2ljcsp5q4","User-Agent":"Mozilla/5.0 (iPhone; CPU iPhone OS 16_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/100.0.4896.77 Mobile/15E148 Safari/604.1",Connection:"keep-alive",Host:"www.czzy55.com"}}parseVodShortFromElement(t,e){let n=new Ne,l=t(t(e).find("a")).find("img")[0];return n.vod_name=l.attribs.alt,n.vod_pic=l.attribs["data-original"],n.vod_remarks=t(t(t(e).find("[class='hdinfo']")).find("span")).text(),n.vod_id=t(e).find("a")[0].attribs.href,n}async parseVodShortListFromDoc(t){let e=[],n=t(t('[class="mi_cont"]').find("ul")).find("li");for(let l of n)e.push(this.parseVodShortFromElement(t,l));return e}async parseVodShortListFromDocByCategory(t){let e=[],n=t(t('[class="mi_cont "]').find("ul")).find("li");for(let l of n)e.push(this.parseVodShortFromElement(t,l));return e}async parseVodDetailFromDoc(t){let e=new Ue,n=t("[class='dyxingq']");e.vod_pic=t(n).find("img")[0].attribs.src,e.vod_name=t(t(n).find("h1")[0]).text(),e.vod_content=t(t(t("[class='yp_context']")).find("p")).text();let l=t(n).find("[class='moviedteail_list']").find("li"),r=t(l).text();for(let c of l){let f=t(c).text();f.indexOf("\u7C7B\u578B")>-1?e.type_name=f.replaceAll("\u7C7B\u578B","").replaceAll("\uFF1A",""):f.indexOf("\u5E74\u4EFD")>-1?e.vod_year=f.replaceAll("\u5E74\u4EFD","").replaceAll("\uFF1A",""):f.indexOf("\u5730\u533A")>-1?e.vod_area=f.replaceAll("\u5730\u533A",""Line truncated
|
||||
`,"").replace(" ","").replace("\u73A9\u5076",""),a={type_id:i,type_name:s};this.classes.push(a)}}}async getFilter(e){let n=e("[class='scroll-content']").slice(1),l=[];for(let r=0;r<n.length;r++){let i={key:(r+1).toString(),name:"",value:[]};if(r<n.length-1){i.name=e(e(n[r]).find("a")[0]).text(),i.value.push({n:"\u5168\u90E8",v:"0"});for(let s of e(n[r]).find("a").slice(1))i.value.push({n:e(s).text(),v:e(s).text()});l.push(i)}else i.name=e(e(n[r]).find("a")[0]).text(),i.value=[{n:"\u5168\u90E8",v:"0"},{n:e(e(n[r]).find("a")[1]).text(),v:"hits"},{n:e(e(n[r]).find("a")[2]).text(),v:"score"}],l.push(i)}return l}async setFilterObj(){for(let e of this.classes){let n=e.type_id;if(n!=="/"&&n!=="\u6700\u8FD1\u66F4\u65B0"){let l=this.siteUrl+`/index.php/vodshow/${n}--------1---.html`,r=await this.fetch(l,null,this.getHeader());if(r!=null){let i=He(r);this.filterObj[n]=await this.getFilter(i)}}}}async setHomeVod(){let e=await this.fetch(this.siteUrl,null,this.getHeader());if(!B.isEmpty(e)){let n=He(e);this.homeVodList=await this.parseVodShortListFromDoc(n)}}async setCategory(e,n,l,r){let i=[e.toString(),"","","","","","","",n.toString(),"","",""],s=this.get_extend_sort_dic(parseInt(e));for(let o of Object.keys(s))r[o]==="0"?i[s[o]]="":i[s[o]]=r[o];let a=this.siteUrl+"/index.php/vodshow/"+i.join("-")+".html",u=await this.fetch(a,null,this.getHeader());if(!B.isEmpty(u)){let o=He(u);this.vodList=await this.parseVodShortListFromDoc(o);let c=xe(/\$\("\.mac_total"\)\.text\('(\d+)'\)/,u);this.limit=72,c.length>0&&(this.total=parseInt(c)),this.total<=this.limit?this.count=1:this.count=Math.ceil(this.total/this.limit)}}async setDetail(e){let n=this.siteUrl+e,l=await this.fetch(n,null,this.getHeader());if(!B.isEmpty(l)){let r=He(l);this.vodDetail=await this.parseVodDetailFromDoc(r)}}async setPlay(e,n,l){let r=await A3(e,n,l);this.playUrl=JSON.parse(r).url}async setSearch(e,n){let l=this.siteUrl+"/index.php/vodsearch/-------------.html?wd="+e,r=await this.fetch(l,null,this.getHeader());if(!B.isEmpty(r)){let i=He(r);this.vodList=await this.parseVodShortListFromDocBySearch(i)}}},Pn=new $S;var BS=class extends Ce{constructor(){super()}getName(){return Pn.getName()}getAppName(){return Pn.getAppName()}getJSName(){return Pn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await Pn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await Pn.initCookie(e.server.config.bilicookie),await Pn.spiderInit(e),Pn.cfgObj.code=0,Pn.catOpenStatus=!0,Pn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await Pn.setClasses(),this.classes=Pn.classes}async setFilterObj(){await Pn.setFilterObj(),this.filterObj=Pn.filterObj}async setHomeVod(){await Pn.setHomeVod(),this.homeVodList=Pn.homeVodList}async setCategory(e,n,l,r){await Pn.setCategory(e,n,l,r),this.vodList=Pn.vodList}async setDetail(e){await Pn.setDetail(e),this.vodDetail=Pn.vodDetail}async setPlay(e,n,l){await Pn.setPlay(e,n,l),this.playUrl=Pn.playUrl,this.result=Pn.result}async setSearch(e,n,l){await Pn.setSearch(e,n,l),this.vodList=Pn.vodList,this.result=Pn.result}async setProxy(e,n){return await Pn.proxy(e,n)}},Fa=new BS;async function oY(t,e){return await Fa.init(t,e)}async function cY(t,e){return await Fa.home(t,e)}async function BAe(t,e){return await Fa.homeVod(t,e)}async function pY(t,e){return await Fa.category(t,e)}async function fY(t,e){return await Fa.detail(t,e)}async function dY(t,e){return await Fa.play(t,e)}async function hY(t,e){return await Fa.search(t,e)}async function HAe(t,e){return await Fa.proxy(t,e)}var mY={meta:{key:Pn.getJSName(),name:Pn.getName(),type:Pn.getType()},api:async t=>{t.post("/init",oY),t.post("/home",cY),t.post("/category",pY),t.post("/detail",fY),t.post("/play",dY),t.post("/search",hY),t.get("/proxy/:what/:ids/:end",HAe)},spider:{init:oY,home:cY,homeVod:BAe,category:pY,detail:fY,play:dY,search:hY}};function VAe(t){return t.replace(/<\/?[^>]+(>|$)/g,"").replace(/&.{1,5};/g,"").replace(/\s{2,}/g," ")}function qAe(t,e){return e.trim().replaceAll(t,"").replace(/<|>|《|》/g,"").replace(/\$|#/g," ").trim()}var HS=class extends Pe{constructor(){super(),this.siteUrl="http://ys.changmengyun.com"}getName(){return"\u{1F383}\u2503\u5357\u74DC\u5F71\u89C6\u2503\u{1F383}"}getAppName(){return"\u5357\u74DC\u5F71\u89C6"}getJSName(){return"nangua"}getType(){return 3}async init(e){await super.init(e),this.danmuStaus=!0}getHeader(){let e=new Date().getTime().toString();return{version_name:"1.0.6",version_code:"6",package_name:"com.app.nanguatv",sign:Ke.MD5("c431ea542cee9679#uBFszdEM0oL0JRn@"+e).toString().toLowerCase(),imei:"c431ea542cee9679",timeMillis:e,"User-Agent":"okhttp/4.6.0"}}async setClasses(){let e=JSON.parse(await this.fetch(this.siteUrl+"/api.php/provide/home_nav",null,this.getHeader()));for(let n in e)e[n].name!=="\u7CBE\u9009"&&this.classes.push({type_id:e[n].id,type_name:e
Line truncated
|
||||
`;let u=[],o=xe(uo,a).split(`
|
||||
`);for(let f of o){let m=f.match(uo);B.isEmpty(m)||u.push(m[1])}let c=await x3(u);return r.vod_play_url=c.vod_play_url,r.vod_play_from=c.vod_play_from,r.type_name=xe(/标签(.*?)\n/,a).replaceAll("\uFF1A",""),r.vod_content=xe(/描述(.*?)\n/,a).replaceAll("\uFF1A",""),r}async setClasses(){let e=await this.getHtml(),n=e("[id^='navbar-category']").find("a"),l=["\u5F71","\u5267","4K","\u89C6","\u97F3","\u6F14","\u52A8\u6F2B"];for(let r of n){let i=e(r).text(),s=r.attribs.href,a=!1;for(let u of l)i.indexOf(u)>-1&&(a=!0);a&&this.classes.push(this.getTypeDic(i,s))}}async setHomeVod(){let e=await this.getHtml();this.homeVodList=await this.parseVodShortListFromDoc(e)}async setCategory(e,n,l,r){let i=e.split(".html")[0]+"_"+n+".html",s=await this.getHtml(i);this.vodList=await this.parseVodShortListFromDocByCategory(s)}async setDetail(e){let n=await this.getHtml(e);this.vodDetail=await this.parseVodDetailFromDoc(n)}async setPlay(e,n,l){let r=await A3(e,n,l);this.playUrl=JSON.parse(r).url}async setSearch(e,n){let l=this.siteUrl+`/search.php?q=${e}`,r=await this.getHtml(l);this.vodList=await this.parseVodShortListFromDocByCategory(r)}},Fn=new qS;var zS=class extends Ce{constructor(){super()}getName(){return Fn.getName()}getAppName(){return Fn.getAppName()}getJSName(){return Fn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await Fn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await Fn.initCookie(e.server.config.bilicookie),await Fn.spiderInit(e),Fn.cfgObj.code=0,Fn.catOpenStatus=!0,Fn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await Fn.setClasses(),this.classes=Fn.classes}async setFilterObj(){await Fn.setFilterObj(),this.filterObj=Fn.filterObj}async setHomeVod(){await Fn.setHomeVod(),this.homeVodList=Fn.homeVodList}async setCategory(e,n,l,r){await Fn.setCategory(e,n,l,r),this.vodList=Fn.vodList}async setDetail(e){await Fn.setDetail(e),this.vodDetail=Fn.vodDetail}async setPlay(e,n,l){await Fn.setPlay(e,n,l),this.playUrl=Fn.playUrl,this.result=Fn.result}async setSearch(e,n,l){await Fn.setSearch(e,n,l),this.vodList=Fn.vodList,this.result=Fn.result}async setProxy(e,n){return await Fn.proxy(e,n)}},Ua=new zS;async function SY(t,e){return await Ua.init(t,e)}async function TY(t,e){return await Ua.home(t,e)}async function KAe(t,e){return await Ua.homeVod(t,e)}async function xY(t,e){return await Ua.category(t,e)}async function AY(t,e){return await Ua.detail(t,e)}async function OY(t,e){return await Ua.play(t,e)}async function NY(t,e){return await Ua.search(t,e)}async function XAe(t,e){return await Ua.proxy(t,e)}var CY={meta:{key:Fn.getJSName(),name:Fn.getName(),type:Fn.getType()},api:async t=>{t.post("/init",SY),t.post("/home",TY),t.post("/category",xY),t.post("/detail",AY),t.post("/play",OY),t.post("/search",NY),t.get("/proxy/:what/:ids/:end",XAe)},spider:{init:SY,home:TY,homeVod:KAe,category:xY,detail:AY,play:OY,search:NY}};var GS=class extends X6{constructor(){super(),this.siteUrl="http://v.rbotv.cn",this.cookie="",this.extendObj={extend:"\u7C7B\u578B",area:"\u5730\u533A",year:"\u5E74\u4EE3"},this.parseMap={}}getName(){return"\u{1F6F6}\u2503\u72EC\u64AD\u5F71\u89C6\u2503\u{1F6F6}"}getAppName(){return"\u72EC\u64AD\u5F71\u89C6"}getJSName(){return"dubo"}getType(){return 3}async init(e){await super.init(e),this.danmuStaus=!1}},jn=new GS;var JS=class extends Ce{constructor(){super()}getName(){return jn.getName()}getAppName(){return jn.getAppName()}getJSName(){return jn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await jn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await jn.initCookie(e.server.config.bilicookie),await jn.spiderInit(e),jn.cfgObj.code=0,jn.catOpenStatus=!0,jn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await jn.setClasses(),this.classes=jn.classes}async setFilterObj(){await jn.setFilterObj(),this.filterObj=jn.filterObj}async setHomeVod(){await jn.setHomeVod(),this.homeVodList=jn.homeVodList}async setCategory(e,n,l,r){await jn.setCategory(e,n,l,r),this.vodList=jn.vodList}async setDetail(e){await jn.setDetail(e),this.vodDetail=jn.vodDetail}async setPlay(e,n,l){await jn.setPlay(e,n,l),this.playUrl=jn.playUrl,this.result=jn.result}async setSearch(e,n,l){await jn.setSearch(e,n,l),this.vodList=jn.vodList,this.result=jn.result}async setProxy(e,n){return await jn.proxy(e,n)}},Ma=new JS;async function IY(t,e){return await Ma.init(t,e)}async function RY(t,e){return await Ma.home(t,e)}async function WAe(t,e){return await Ma.homeVod(t,e)}async function kY(t,e){return await Ma.category(t,e)}async function DY(t,e){return await Ma.detail(t,e)}async function PY(t,e){return await Ma.play(t,e)}async function LY(t,e){return await Ma
Line truncated
|
||||
`,""),B.isEmpty(l.vod_pic)&&(l.vod_pic=ea+"/resources/dygang.jpg"),l}async parseVodShortListFromDoc(e){let n=[],l=e('[class="index-tj-l"]').find("li");for(let r of l){let i=e(r).find("a")[0],s=this.parseVodShortFromElement(e,i);n.push(s)}return n}async parseVodShortListFromDocByCategory(e){let n=[],l=e('[class="index-area clearfix"]').find("li");for(let r of l){let i=e(r).find("a")[0],s=this.parseVodShortFromElement(e,i);n.push(s)}return n}async parseVodDetailFromDoc(e){let n=new Ue,l=e('[ class="ct mb clearfix"]');n.vod_pic=e(l).find("img")[0].attribs.src,n.vod_name=xe(/◎片 名 (.*?)<br>/,e(l).html()),n.vod_area=xe(/◎产 地 (.*?)<br>/,e(l).html()),n.vod_year=xe(/◎年 代 (.*?)<br>/,e(l).html()),n.type_name=xe(/◎类 别 (.*?)<br>/,e(l).html()),n.vod_remarks=xe(/◎集 数 (.*?)<br>/,e(l).html());let r=xe(/◎主 演 (.*?)<\/p>/s,e(l).html());B.isEmpty(r)&&(r=xe(/◎演 员 (.*?)<\/p>/s,e(l).html()));let i=[];for(let f of r.split(`
|
||||
`))i.push(f.replaceAll("\u3000\u3000\u3000\u3000 \u3000","").replaceAll("<br>","").replaceAll("\u3000\u3000\u3000\u3000\u3000",""));n.vod_actor=i.join("/"),n.vod_director=xe(/◎导 演 (.*?)<br>/,e(l).html()),n.vod_content=xe(/◎简 介<\/p>(.*?)<br>/s,e(l).html()).replaceAll("<p>","").replaceAll(`
|
||||
`,""),B.isEmpty(n.vod_content)&&(n.vod_content=xe(/◎简 介<br>(.*?)<\/p>/s,e(l).html()).replaceAll("<p>","").replaceAll(`
|
||||
`,""));let s=[],a=[],u=e('[class="playfrom tab8 clearfix"]'),o=e('[class="videourl clearfix"]');for(let f=0;f<u.length;f++){let m=u[f],d=e(e(m).find("li")).html();s.push(d.replaceAll('<i class="playerico ico-Azhan"></i> ',""));let y=[];for(let _ of e(o[f]).find("a")){let S=_.attribs.title,w=_.attribs.href;y.push(S+"$"+w)}a.push(y.join("#"))}let c=e(e(l).find("span")[0]).find("span");if(c.length>0){let f=e(c).html();s.push(xe(/【(.*?)】/,f.replaceAll("\u4E0B\u8F7D\u5730\u5740","\u78C1\u529B\u94FE\u63A5")));let m=[];for(let d of e(e(e(l).find("tbody")).find("tr")).find("a")){let y=e(d).html().replaceAll(".mp4",""),_=d.attribs.href;m.push(y+"$"+_)}a.push(m.join("#"))}return n.vod_play_from=s.join("$$$"),n.vod_play_url=a.join("$$$"),n}async setHomeVod(){let e=await this.getHtml();this.homeVodList=await this.parseVodShortListFromDoc(e)}async setCategory(e,n,l,r){let i=this.siteUrl+e;r.\u6309\u7C7B\u578B!==void 0&&r.\u6309\u7C7B\u578B!=="0"&&(i=i+`${r.\u6309\u7C7B\u578B}/`),parseInt(n)>1&&(i=i+`index_${n}.html`);let s=await this.getHtml(i);this.vodList=await this.parseVodShortListFromDocByCategory(s)}async setDetail(e){let n=await this.getHtml(e);this.vodDetail=await this.parseVodDetailFromDoc(n)}async setSearch(e,n){let l=this.siteUrl+"/e/search/index.php",r={keyboard:e,submit:"\u641C \u7D22",show:"title,zhuyan",tempid:"1"},i=await this.post(l,r,this.getHeader()),s=He(i);this.vodList=await this.parseVodShortListFromDocByCategory(s)}async setPlay(e,n,l){if(n.indexOf("http")>-1){let r=await this.getHtml(n),i=xe(/url: '(.*?)',/,r.html());if(B.isEmpty(i)){let s=r(r('[class="video"]')[0]).find("iframe")[0].attribs.src,a=await this.fetch(s,null,{"User-Agent":Jl});if(this.playUrl=xe(/url: '(.*?)',/,a),B.isEmpty(this.playUrl)){let u=tq(s);this.playUrl=u+xe(/var main = "(.*?)";/,a)}}else this.playUrl=i}else this.playUrl=n}},jn=new zS;var GS=class extends Ce{constructor(){super()}getName(){return jn.getName()}getAppName(){return jn.getAppName()}getJSName(){return jn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await jn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await jn.initCookie(e.server.config.bilicookie),await jn.spiderInit(e),jn.cfgObj.code=0,jn.catOpenStatus=!0,jn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await jn.setClasses(),this.classes=jn.classes}async setFilterObj(){await jn.setFilterObj(),this.filterObj=jn.filterObj}async setHomeVod(){await jn.setHomeVod(),this.homeVodList=jn.homeVodList}async setCategory(e,n,l,r){await jn.setCategory(e,n,l,r),this.vodList=jn.vodList}async setDetail(e){await jn.setDetail(e),this.vodDetail=jn.vodDetail}async setPlay(e,n,l){await jn.setPlay(e,n,l),this.playUrl=jn.playUrl,this.result=jn.result}async setSearch(e,n,l){await jn.setSearch(e,n,l),this.vodList=jn.vodList,this.result=jn.result}async setProxy(e,n){return await jn.proxy(e,n)}},Ua=new GS;async function TY(t,e){return await Ua.init(t,e)}async function xY(t,e){return await Ua.home(t,e)}async function HAe(t,e){return await Ua.homeVod(t,e)}async function AY(t,e){return await Ua.category(t,e)}async function OY(t,e){return await Ua.detail(t,e)}async function NY(t,e){return await Ua.play(t,e)}async function CY(t,e){return await Ua.search(t,e)}async function VAe(t,e){return await Ua.proxy(t,e)}var IY={meta:{key:jn.getJSName(),name:jn.getName(),type:jn.getType()},api:async t=>{t.post("/init",TY),t.post("/home",xY),t.post("/category",AY),t.post("/detail",OY),t.post("/play",NY),t.post("/search",CY),t.get("/proxy/:what/:ids/:end",VAe)},spider:{init:TY,home:xY,homeVod:HAe,category:AY,detail:OY,play:NY,search:CY}};var JS=class extends Pe{constructor(){super(),this.siteUrl="https://www.wogg.xyz",this.woggTypeObj={\u73A9\u5076\u7535\u5F71:"\u7535\u5F71",\u73A9\u5076\u5267\u96C6:"\u7535\u89C6\u5267"}}async init(e){await super.init(e),await z2(this.cfgObj.token),this.danmuStaus=!0}getName(){return"\u{1F482}\u200D\u2503\u963F\u91CC\u73A9\u5076\u2503\u{1F482}"}getAppName(){return"\u963F\u91CC\u73A9\u5076"}getJSName(){return"wogg"}getType(){return 3}async parseVodShortListFromDoc(e){let n=e(".module-item"),l=[];for(let r of n){let i=new Ne,s=e(r).find(".module-item-cover .module-item-pic a").first();i.vod_id=s.attr("href"),i.vod_name=s.attr("title"),i.vod_pic=e(r).find(".module-item-cover .module-item-pic img").first().attr("data-src"),i.vod_pic.indexOf("img.php?url=")>0&&(i.vod_pic=i.vod_pic.split("img.php?url=")[1]),i.vod_remarks=e(r).find(".module-item-text").first().text(),l.push(i)}return l}async parseVodDetailFromDoc(e){let n=new Ue;n.vod_name=e(".page-title")[0].children[0].data,n.vod_pic=e(e(".mobile-play")).find(".lazyload")[0].attribs["data-src"],n.type_name=this.woggTypeObj[e('[class="video-info-aux"]').find("a")[0].attribs.title];let l=e(".video-info-items");n.vod_director=e(l[0]).find("a")[0].children[0].data;let r=e(l[1])
Line truncated
|
||||
`,"").replace(" ","").replace("\u73A9\u5076",""),a={type_id:i,type_name:s};this.classes.push(a)}}}async getFilter(e){let n=e("[class='scroll-content']").slice(1),l=[];for(let r=0;r<n.length;r++){let i={key:(r+1).toString(),name:"",value:[]};if(r<n.length-1){i.name=e(e(n[r]).find("a")[0]).text(),i.value.push({n:"\u5168\u90E8",v:"0"});for(let s of e(n[r]).find("a").slice(1))i.value.push({n:e(s).text(),v:e(s).text()});l.push(i)}else i.name=e(e(n[r]).find("a")[0]).text(),i.value=[{n:"\u5168\u90E8",v:"0"},{n:e(e(n[r]).find("a")[1]).text(),v:"hits"},{n:e(e(n[r]).find("a")[2]).text(),v:"score"}],l.push(i)}return l}async setFilterObj(){for(let e of this.classes){let n=e.type_id;if(n!=="/"&&n!=="\u6700\u8FD1\u66F4\u65B0"){let l=this.siteUrl+`/index.php/vodshow/${n}--------1---.html`,r=await this.fetch(l,null,this.getHeader());if(r!=null){let i=He(r);this.filterObj[n]=await this.getFilter(i)}}}}async setHomeVod(){let e=await this.fetch(this.siteUrl,null,this.getHeader());if(!B.isEmpty(e)){let n=He(e);this.homeVodList=await this.parseVodShortListFromDoc(n)}}async setCategory(e,n,l,r){let i=[e.toString(),"","","","","","","",n.toString(),"","",""],s=this.get_extend_sort_dic(parseInt(e));for(let o of Object.keys(s))r[o]==="0"?i[s[o]]="":i[s[o]]=r[o];let a=this.siteUrl+"/index.php/vodshow/"+i.join("-")+".html",u=await this.fetch(a,null,this.getHeader());if(!B.isEmpty(u)){let o=He(u);this.vodList=await this.parseVodShortListFromDoc(o);let c=xe(/\$\("\.mac_total"\)\.text\('(\d+)'\)/,u);this.limit=72,c.length>0&&(this.total=parseInt(c)),this.total<=this.limit?this.count=1:this.count=Math.ceil(this.total/this.limit)}}async setDetail(e){let n=this.siteUrl+e,l=await this.fetch(n,null,this.getHeader());if(!B.isEmpty(l)){let r=He(l);this.vodDetail=await this.parseVodDetailFromDoc(r)}}async setPlay(e,n,l){let r=await A3(e,n,l);this.playUrl=JSON.parse(r).url}async setSearch(e,n){let l=this.siteUrl+"/index.php/vodsearch/-------------.html?wd="+e,r=await this.fetch(l,null,this.getHeader());if(!B.isEmpty(r)){let i=He(r);this.vodList=await this.parseVodShortListFromDocBySearch(i)}}},Un=new JS;var KS=class extends Ce{constructor(){super()}getName(){return Un.getName()}getAppName(){return Un.getAppName()}getJSName(){return Un.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await Un.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await Un.initCookie(e.server.config.bilicookie),await Un.spiderInit(e),Un.cfgObj.code=0,Un.catOpenStatus=!0,Un.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await Un.setClasses(),this.classes=Un.classes}async setFilterObj(){await Un.setFilterObj(),this.filterObj=Un.filterObj}async setHomeVod(){await Un.setHomeVod(),this.homeVodList=Un.homeVodList}async setCategory(e,n,l,r){await Un.setCategory(e,n,l,r),this.vodList=Un.vodList}async setDetail(e){await Un.setDetail(e),this.vodDetail=Un.vodDetail}async setPlay(e,n,l){await Un.setPlay(e,n,l),this.playUrl=Un.playUrl,this.result=Un.result}async setSearch(e,n,l){await Un.setSearch(e,n,l),this.vodList=Un.vodList,this.result=Un.result}async setProxy(e,n){return await Un.proxy(e,n)}},Ma=new KS;async function RY(t,e){return await Ma.init(t,e)}async function kY(t,e){return await Ma.home(t,e)}async function qAe(t,e){return await Ma.homeVod(t,e)}async function DY(t,e){return await Ma.category(t,e)}async function PY(t,e){return await Ma.detail(t,e)}async function LY(t,e){return await Ma.play(t,e)}async function FY(t,e){return await Ma.search(t,e)}async function zAe(t,e){return await Ma.proxy(t,e)}var jY={meta:{key:Un.getJSName(),name:Un.getName(),type:Un.getType()},api:async t=>{t.post("/init",RY),t.post("/home",kY),t.post("/category",DY),t.post("/detail",PY),t.post("/play",LY),t.post("/search",FY),t.get("/proxy/:what/:ids/:end",zAe)},spider:{init:RY,home:kY,homeVod:qAe,category:DY,detail:PY,play:LY,search:FY}};var XS=class extends Pe{constructor(){super(),this.siteUrl="https://www.pansearch.me/"}getName(){return"\u{1F5C2}\uFE0F\u2503\u963F\u91CC\u76D8\u641C\u2503\u{1F5C2}\uFE0F"}getAppName(){return"\u963F\u91CC\u76D8\u641C"}getJSName(){return"pan_search"}getType(){return 3}getSearchHeader(){let e=this.getHeader();return e["x-nextjs-data"]="1",e}async init(e){await super.init(e),await z2(this.cfgObj.token)}async parseVodDetailfromJson(e){let n=JSON.parse(e),l=new Ue,r=n.content.split(`
|
||||
`);l.vod_name=r[0].replaceAll(/<\\?[^>]+>/g,"").replace("\u540D\u79F0\uFF1A","");let i=new Date(n.time);l.vod_remarks=i.toLocaleDateString().replace(/\//g,"-")+" "+i.toTimeString().substr(0,8),l.vod_pic=n.image;let s="";for(let a of r)a.indexOf("\u63CF\u8FF0")>-1&&(l.vod_content=a.replace("\u63CF\u8FF0\uFF1A","").replaceAll(/<\\?[^>]+>/g,"")),a.indexOf("\u6807\u7B7E\uFF1A")>-1&&(l.type_name=a.replace("\u{1F3F7} \u6807\u7B7E\uFF1A","")),a.indexOf("\u94FE\u63A5\uFF1A")>-1&&(s=a.replaceAll(/<\\?[^>]+>/g,"").replace("\u94FE\u63A5\uFF1A",""));try{let a=await x3([s]);l.vod_play_url=a.vod_play_url,l.vod_play_from=a.vod_play_from}catch(a){await this.jadeLog.error(`\u83B7\u53D6\u963F\u91CC\u89C6\u9891\u64AD\u653E\u5931\u8D25,\u5931\u8D25\u539F\u56E0\u4E3A:${a}`)}return l}async parseVodShortListFromDocBySearch(e,n){let l=[],r=JSON.parse(e("script[id=__NEXT_DATA__]")[0].children[0].data).buildId,i=this.siteUrl+"_next/data/"+r+"/search.json?keyword="+encodeURIComponent(n)+"&pan=aliyundrive",s=await this.fetch(i,null,this.getSearchHeader());if(B.isEmpty(s))await this.jadeLog.error("\u641C\u7D22\u9875\u9762\u89E3\u6790\u5931\u8D25",!0);else{let a=JSON.parse(s).pageProps.data.data;for(let u of a){let o=new Ne;o.vod_id=JSON.stringify(u);let c=u.content.split(`
|
||||
`);o.vod_name=c[0].replaceAll(/<\\?[^>]+>/g,"").replace("\u540D\u79F0\uFF1A","");let f=new Date(u.time);o.vod_remarks=f.toLocaleDateString().replace(/\//g,"-")+" "+f.toTimeString().substr(0,8),o.vod_pic=u.image,l.push(o)}return l}}async setDetail(e){this.vodDetail=await this.parseVodDetailfromJson(e)}async setSearch(e,n){let l=await this.fetch(this.siteUrl,null,this.getHeader());if(!B.isEmpty(l)){let r=He(l);this.vodList=await this.parseVodShortListFromDocBySearch(r,e)}}async play(e,n,l){return await A3(e,n,l)}},Mn=new XS;var WS=class extends Ce{constructor(){super()}getName(){return Mn.getName()}getAppName(){return Mn.getAppName()}getJSName(){return Mn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await Mn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await Mn.initCookie(e.server.config.bilicookie),await Mn.spiderInit(e),Mn.cfgObj.code=0,Mn.catOpenStatus=!0,Mn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await Mn.setClasses(),this.classes=Mn.classes}async setFilterObj(){await Mn.setFilterObj(),this.filterObj=Mn.filterObj}async setHomeVod(){await Mn.setHomeVod(),this.homeVodList=Mn.homeVodList}async setCategory(e,n,l,r){await Mn.setCategory(e,n,l,r),this.vodList=Mn.vodList}async setDetail(e){await Mn.setDetail(e),this.vodDetail=Mn.vodDetail}async setPlay(e,n,l){await Mn.setPlay(e,n,l),this.playUrl=Mn.playUrl,this.result=Mn.result}async setSearch(e,n,l){await Mn.setSearch(e,n,l),this.vodList=Mn.vodList,this.result=Mn.result}async setProxy(e,n){return await Mn.proxy(e,n)}},$a=new WS;async function UY(t,e){return await $a.init(t,e)}async function MY(t,e){return await $a.home(t,e)}async function GAe(t,e){return await $a.homeVod(t,e)}async function $Y(t,e){return await $a.category(t,e)}async function BY(t,e){return await $a.detail(t,e)}async function HY(t,e){return await $a.play(t,e)}async function VY(t,e){return await $a.search(t,e)}async function JAe(t,e){return await $a.proxy(t,e)}var qY={meta:{key:Mn.getJSName(),name:Mn.getName(),type:Mn.getType()},api:async t=>{t.post("/init",UY),t.post("/home",MY),t.post("/category",$Y),t.post("/detail",BY),t.post("/play",HY),t.post("/search",VY),t.get("/proxy/:what/:ids/:end",JAe)},spider:{init:UY,home:MY,homeVod:GAe,category:$Y,detail:BY,play:HY,search:VY}};var KAe=["4k","4K"],YS=class extends Pe{constructor(){super(),this.siteUrl="https://www.alypw.com"}async init(e){await super.init(e),await z2(this.cfgObj.token)}getName(){return"\u{1F94F}\u200D\u2503\u963F\u91CC\u4E91\u76D8\u5206\u4EAB\u2503\u{1F94F}\u200D"}getAppName(){return"\u963F\u91CC\u4E91\u76D8\u5206\u4EAB"}getJSName(){return"aliyunpanshare"}getType(){return 3}getRemarks(e,n){if(B.isEmpty(e)){for(let l of KAe)if(n.indexOf(l)>-1)return l}else return e}parseVodName(e){let n=xe(/\[阿里云盘](.*?) /,e);return e.indexOf("\u5408\u96C6")>-1||(B.isEmpty(n)&&(n=xe(/\[阿里云盘](.*?)(/,e)),n.indexOf("[")>-1&&(n=n.split("[")[0]),n.indexOf("\u3010")>-1&&(n=n.split("\u3010")[0]),n==="4K")?"":n}async parseVodShortListFromDoc(e){let n=[],l=e(e('[class="hometab"]').find('[class="box"]')).find("li");for(let r of l){let i=e(r).find('[class="imgr"]')[0],s=new Ne;s.vod_id=e(i).find("a")[0].attribs.href;let a=e(i).find("a")[0].attribs.title;s.vod_name=this.parseVodName(a),s.vod_pic=e(r).find("img")[0].attribs.src,s.vod_remarks=this.getRemarks(xe(/【(.*?)】/,a),a),n.push(s)}return n}async parseVodShortListFromDocByCategory(e){let n=[],l=e('[class="main container"]'),r=e(e(l).find('[class="list"]')).find("li");r.length===0&&(r=e(l).find("li"));for(let i of r){let s=e(i).find("img")[0].attribs.alt.replaceAll("<strong>","").replaceAll("</strong>",""),a=new Ne;a.vod_id=e(i).find("a")[0].attribs.href,a.vod_name=this.parseVodName(s),a.vod_pic=e(i).find("img")[0].attribs.src,a.vod_remarks=this.getRemarks(xe(/【(.*?)】/,s),s),B.isEmpty(a.vod_name)||n.push(a)}return n}async parseVodDetailFromDoc(e){let n=e('[class="mainl"]'),l=e(e(n).find('[class="title"]')[0]).text(),r=new Ue;r.vod_name=xe(/\[阿里云盘](.*?) /,l),r.vod_remarks=this.getRemarks(xe(/【(.*?)】/,l),l);let i=e(n).find('[class="article_content"]');r.vod_pic=e(i).find("p>img")[0].attribs.src;let s=e(i).find("p"),a="";for(let f of s)a=a+e(f).text()+`
|
||||
`;let u=[],o=xe(uo,a).split(`
|
||||
`);for(let f of o){let m=f.match(uo);B.isEmpty(m)||u.push(m[1])}let c=await x3(u);return r.vod_play_url=c.vod_play_url,r.vod_play_from=c.vod_play_from,r.type_name=xe(/标签(.*?)\n/,a).replaceAll("\uFF1A",""),r.vod_content=xe(/描述(.*?)\n/,a).replaceAll("\uFF1A",""),r}async setClasses(){let e=await this.getHtml(),n=e("[id^='navbar-category']").find("a"),l=["\u5F71","\u5267","4K","\u89C6","\u97F3","\u6F14","\u52A8\u6F2B"];for(let r of n){let i=e(r).text(),s=r.attribs.href,a=!1;for(let u of l)i.indexOf(u)>-1&&(a=!0);a&&this.classes.push(this.getTypeDic(i,s))}}async setHomeVod(){let e=await this.getHtml();this.homeVodList=await this.parseVodShortListFromDoc(e)}async setCategory(e,n,l,r){let i=e.split(".html")[0]+"_"+n+".html",s=await this.getHtml(i);this.vodList=await this.parseVodShortListFromDocByCategory(s)}async setDetail(e){let n=await this.getHtml(e);this.vodDetail=await this.parseVodDetailFromDoc(n)}async setPlay(e,n,l){let r=await A3(e,n,l);this.playUrl=JSON.parse(r).url}async setSearch(e,n){let l=this.siteUrl+`/search.php?q=${e}`,r=await this.getHtml(l);this.vodList=await this.parseVodShortListFromDocByCategory(r)}},$n=new YS;var QS=class extends Ce{constructor(){super()}getName(){return $n.getName()}getAppName(){return $n.getAppName()}getJSName(){return $n.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await $n.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await $n.initCookie(e.server.config.bilicookie),await $n.spiderInit(e),$n.cfgObj.code=0,$n.catOpenStatus=!0,$n.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await $n.setClasses(),this.classes=$n.classes}async setFilterObj(){await $n.setFilterObj(),this.filterObj=$n.filterObj}async setHomeVod(){await $n.setHomeVod(),this.homeVodList=$n.homeVodList}async setCategory(e,n,l,r){await $n.setCategory(e,n,l,r),this.vodList=$n.vodList}async setDetail(e){await $n.setDetail(e),this.vodDetail=$n.vodDetail}async setPlay(e,n,l){await $n.setPlay(e,n,l),this.playUrl=$n.playUrl,this.result=$n.result}async setSearch(e,n,l){await $n.setSearch(e,n,l),this.vodList=$n.vodList,this.result=$n.result}async setProxy(e,n){return await $n.proxy(e,n)}},Ba=new QS;async function zY(t,e){return await Ba.init(t,e)}async function GY(t,e){return await Ba.home(t,e)}async function XAe(t,e){return await Ba.homeVod(t,e)}async function JY(t,e){return await Ba.category(t,e)}async function KY(t,e){return await Ba.detail(t,e)}async function XY(t,e){return await Ba.play(t,e)}async function WY(t,e){return await Ba.search(t,e)}async function WAe(t,e){return await Ba.proxy(t,e)}var YY={meta:{key:$n.getJSName(),name:$n.getName(),type:$n.getType()},api:async t=>{t.post("/init",zY),t.post("/home",GY),t.post("/category",JY),t.post("/detail",KY),t.post("/play",XY),t.post("/search",WY),t.get("/proxy/:what/:ids/:end",WAe)},spider:{init:zY,home:GY,homeVod:XAe,category:JY,detail:KY,play:XY,search:WY}};var QY=[19970,19972,19973,19974,19983,19986,19991,19999,2e4,20001,20003,20006,20009,20014,20015,20017,20019,20021,20023,20028,20032,20033,20034,20036,20038,20042,20049,20053,20055,20058,20059,20066,20067,20068,20069,20071,20072,20074,20075,20076,20077,20078,20079,20082,20084,20085,20086,20087,20088,20089,20090,20091,20092,20093,20095,20096,20097,20098,20099,20100,20101,20103,20106,null,20112,20118,20119,20121,20124,20125,20126,20131,20138,20143,20144,20145,20148,20150,20151,20152,20153,20156,20157,20158,20168,20172,20175,20176,20178,20186,20187,20188,20192,20194,20198,20199,20201,20205,20206,20207,20209,20212,20216,20217,20218,20220,20222,20224,20226,20227,20228,20229,20230,20231,20232,20235,20236,20242,20243,20244,20245,20246,20252,20253,20257,20259,20264,20265,20268,20269,20270,20273,20275,20277,20279,20281,20283,20286,20287,20288,20289,20290,20292,20293,20295,20296,20297,20298,20299,20300,20306,20308,20310,20321,20322,20326,20328,20330,20331,20333,20334,20337,20338,20341,20343,20344,20345,20346,20349,20352,20353,20354,20357,20358,20359,20362,20364,20366,20368,20370,20371,20373,20374,20376,20377,20378,20380,20382,20383,20385,20386,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,20388,20395,20397,20400,20401,20402,20403,20404,20406,20407,20408,20409,20410,20411,20412,20413,20414,20416,20417,20418,20422,20423,20424,20425,20427,20428,20429,20434,20435,20436,20437,20438,20441,20443,20448,20450,20452,20453,20455,20459,20460,20464,20466,20468,20469,20470,20471,20473,20475,20476,20477,20479,20480,20481,20482,20483,20484,20485,20486,20487,20488,20489,20490,null,20491,20494,20496,20497,20499,20501,20502,20503,20507,20509,20510,20512,20514,205
Line truncated
|
||||
`,""));let s=[],a=[],u=e('[class="playfrom tab8 clearfix"]'),o=e('[class="videourl clearfix"]');for(let f=0;f<u.length;f++){let m=u[f],d=e(e(m).find("li")).html();s.push(d.replaceAll('<i class="playerico ico-Azhan"></i> ',""));let y=[];for(let _ of e(o[f]).find("a")){let S=_.attribs.title,w=_.attribs.href;y.push(S+"$"+w)}a.push(y.join("#"))}let c=e(e(l).find("span")[0]).find("span");if(c.length>0){let f=e(c).html();s.push(xe(/【(.*?)】/,f.replaceAll("\u4E0B\u8F7D\u5730\u5740","\u78C1\u529B\u94FE\u63A5")));let m=[];for(let d of e(e(e(l).find("tbody")).find("tr")).find("a")){let y=e(d).html().replaceAll(".mp4",""),_=d.attribs.href;m.push(y+"$"+_)}a.push(m.join("#"))}return n.vod_play_from=s.join("$$$"),n.vod_play_url=a.join("$$$"),n}async setHomeVod(){let e=await this.getHtml();this.homeVodList=await this.parseVodShortListFromDoc(e)}async setCategory(e,n,l,r){let i=this.siteUrl+e;r.\u6309\u7C7B\u578B!==void 0&&r.\u6309\u7C7B\u578B!=="0"&&(i=i+`${r.\u6309\u7C7B\u578B}/`),parseInt(n)>1&&(i=i+`index_${n}.html`);let s=await this.getHtml(i);this.vodList=await this.parseVodShortListFromDocByCategory(s)}async setDetail(e){let n=await this.getHtml(e);this.vodDetail=await this.parseVodDetailFromDoc(n)}async setSearch(e,n){let l=this.siteUrl+"/e/search/index.php",r={keyboard:e,submit:"\u641C \u7D22",show:"title,zhuyan",tempid:"1"},i=await this.post(l,r,this.getHeader()),s=He(i);this.vodList=await this.parseVodShortListFromDocByCategory(s)}async setPlay(e,n,l){if(n.indexOf("http")>-1){let r=await this.getHtml(n),i=xe(/url: '(.*?)',/,r.html());if(B.isEmpty(i)){let s=r(r('[class="video"]')[0]).find("iframe")[0].attribs.src,a=await this.fetch(s,null,{"User-Agent":Jl});if(this.playUrl=xe(/url: '(.*?)',/,a),B.isEmpty(this.playUrl)){let u=tq(s);this.playUrl=u+xe(/var main = "(.*?)";/,a)}}else this.playUrl=i}else this.playUrl=n}},Mn=new WS;var YS=class extends Ce{constructor(){super()}getName(){return Mn.getName()}getAppName(){return Mn.getAppName()}getJSName(){return Mn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await Mn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await Mn.initCookie(e.server.config.bilicookie),await Mn.spiderInit(e),Mn.cfgObj.code=0,Mn.catOpenStatus=!0,Mn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await Mn.setClasses(),this.classes=Mn.classes}async setFilterObj(){await Mn.setFilterObj(),this.filterObj=Mn.filterObj}async setHomeVod(){await Mn.setHomeVod(),this.homeVodList=Mn.homeVodList}async setCategory(e,n,l,r){await Mn.setCategory(e,n,l,r),this.vodList=Mn.vodList}async setDetail(e){await Mn.setDetail(e),this.vodDetail=Mn.vodDetail}async setPlay(e,n,l){await Mn.setPlay(e,n,l),this.playUrl=Mn.playUrl,this.result=Mn.result}async setSearch(e,n,l){await Mn.setSearch(e,n,l),this.vodList=Mn.vodList,this.result=Mn.result}async setProxy(e,n){return await Mn.proxy(e,n)}},Ba=new YS;async function qY(t,e){return await Ba.init(t,e)}async function zY(t,e){return await Ba.home(t,e)}async function eOe(t,e){return await Ba.homeVod(t,e)}async function GY(t,e){return await Ba.category(t,e)}async function JY(t,e){return await Ba.detail(t,e)}async function KY(t,e){return await Ba.play(t,e)}async function XY(t,e){return await Ba.search(t,e)}async function tOe(t,e){return await Ba.proxy(t,e)}var WY={meta:{key:Mn.getJSName(),name:Mn.getName(),type:Mn.getType()},api:async t=>{t.post("/init",qY),t.post("/home",zY),t.post("/category",GY),t.post("/detail",JY),t.post("/play",KY),t.post("/search",XY),t.get("/proxy/:what/:ids/:end",tOe)},spider:{init:qY,home:zY,homeVod:eOe,category:GY,detail:JY,play:KY,search:XY}};function Af(t,e){let n=Of();return Af=function(l,r){return l=l-424,n[l]},Af(t,e)}function Of(){let t=["1580630GngmmA","117uvwflw","join","current_id","565448Apkhig","23092JwmytW","707152yowhOv","getElementById","855936CGaczt","length","2966831GCGpvn","611266nfcTEf","value","substring"];return Of=function(){return t},Of()}(function(t,e){let n=Af,l=t();for(;;)try{if(-parseInt(n(436))/1+parseInt(n(429))/2+-parseInt(n(433))/3*(-parseInt(n(437))/4)+-parseInt(n(432))/5+parseInt(n(426))/6+parseInt(n(428))/7+parseInt(n(424))/8===e)break;l.push(l.shift())}catch{l.push(l.shift())}})(Of,304089);function nOe(t,e){let n=Af,l=t,r=e;if(!l||!r)return;let i=l.length,s=l[n(431)](i-4,i),a=[];for(let u=0;u<s[n(427)];u++){let o=parseInt(s[u]),c=o%3+1;a[u]=r[n(431)](c,c+8),r=r[n(431)](c+8,r[n(427)])}return a[n(434)]("")}var QS=class extends Pe{constructor(){super(),this.siteUrl="https://v.ikanbot.com"}getName(){return"\u{1F916}\u2503\u7231\u770B\u673A\u5668\u4EBA\u2503\u{1F916}"}getAppName(){return"\u7231\u770B\u673A\u5668\u4EBA"}getJSName(){return"ikanbot"}getType(){return 3}async spiderInit(e=null){e!==null?this.jsBase=await js2Proxy(e,"img",this.getHeader()):this.jsBase=await js2Proxy(!0,this.siteType,this.siteKey,"img/",this.getHeader()
Line truncated
|
||||
`)),e.push(r)}return e}async parseVodShortListFromDocBySearch(t){let e=t('[class="show-list"]').find("li"),n=[];for(let l of e){let r=new Ne;r.vod_id=t(l).find("a")[0].attribs.href;let i=t(l).find("img")[0];r.vod_pic=i.attribs.src,r.vod_name=i.attribs.alt,r.vod_remarks=t(t(l).find('[class="type fn-left"]')).text().replace("\u7C7B\u578B\uFF1A",""),r.vod_remarks!=="\u793E\u5904\u7247"&&r.vod_remarks!=="\u793E\u4FDD\u7247"&&r.vod_remarks!=="\u64B8\u4E1D\u7247"&&r.vod_remarks!=="\u64B8\u4E1D\u52A8\u6F2B"&&n.push(r)}return n}async parseVodDetailFromDoc(t){let e=new Ue,n=t('[class="detail-pic fn-left"]').find("img")[0];e.vod_pic=n.attribs.src,e.vod_name=n.attribs.alt;let l=t('[class="info fn-clear"]');for(let o of t(l).find("dl")){let c=t(o).text();c.indexOf("\u4E3B\u6F14")>-1&&(e.vod_actor=c.replaceAll("\u4E3B\u6F14\uFF1A","").replaceAll(`
|
||||
`,"")),c.indexOf("\u72B6\u6001")>-1&&(e.vod_remarks=c.replaceAll("\u72B6\u6001\uFF1A","").replaceAll(`
|
||||
`,"")),c.indexOf("\u7C7B\u578B")>-1&&(e.type_name=c.replaceAll("\u7C7B\u578B\uFF1A","").replaceAll(`
|
||||
@@ -441,8 +436,19 @@ function print() { __p += __j.call(arguments, '') }
|
||||
`,"")),c.indexOf("\u5BFC\u6F14")>-1&&(e.vod_director=c.replaceAll("\u5BFC\u6F14\uFF1A","").replaceAll(`
|
||||
`,"")),c.indexOf("\u5E74\u4EFD")>-1&&(e.vod_year=c.replaceAll("\u5E74\u4EFD\uFF1A","").replaceAll(`
|
||||
`,"")),c.indexOf("\u5267\u60C5")>-1&&(e.vod_content=c.replaceAll("\u5267\u60C5\uFF1A","").replaceAll(`
|
||||
`,""))}let r={},i=t.html(),s=t('[class="play-list"]'),a=1;for(let o of s){let c=`\u64AD\u653E\u8FDE\u63A5-${a}`,f=[];for(let m of t(o).find("a")){let d=m.attribs.title,y=m.attribs.href;f.push(d+"$"+y)}r[c]=f.join("#"),a=a+1}a=1;let u=t('[class="con4"]');for(let o of u){let c=`\u78C1\u529B\u94FE\u63A5-${a}`,f=[],m=c,d=t(t(o).find("div")).find("a")[0].attribs.href;d!=="javascript:void(0);"&&(f.push(m+"$"+d),r[c]=f.join("#"),a=a+1)}return e.vod_play_url=B.values(r).join("$$$"),e.vod_play_from=B.keys(r).join("$$$"),e}async setHomeVod(){let t=await this.getHtml();this.homeVodList=await this.parseVodShortListFromDoc(t)}async setDetail(t){let e=await this.getHtml(this.siteUrl+t);this.vodDetail=await this.parseVodDetailFromDoc(e)}getExtend(t){if(t.class!==void 0&&t.class!=="\u5168\u90E8")return t.class}async setCategory(t,e,n,l){let r=this.getExtend(l)??t,i;r===t?i=this.siteUrl+r:parseInt(e)===1?i=this.siteUrl+r:i=this.siteUrl+r+`index${e}.html`;let s=await this.getHtml(i);this.vodList=await this.parseVodShortListFromDoc(s)}async setPlay(flag,id,flags){if(flag.indexOf("\u78C1\u529B")>-1)this.playUrl=id;else{let idSplitList=id.split("-"),flag_id=parseInt(idSplitList[1]),episode=parseInt(idSplitList[2].split(".")[0]),$=await this.getHtml(this.siteUrl+id),playJsUrl=xe(/<script type="text\/javascript" src="(.*?)">/,$.html()),playJsContent=await this.fetch(this.siteUrl+playJsUrl,null,this.getHeader()),playUrlListStr=xe(/var VideoListJson=(.*?),urlinfo=/,playJsContent),playDic=eval(playUrlListStr);if(this.playUrl=playDic[flag_id][1][episode].split("$")[1],this.playUrl.indexOf("m3u8")===-1){let t=await this.fetch(this.playUrl,null,this.getHeader());this.playUrl=xe(/url: '(.*?)'/,t)}}}GBKEncode(t){var e=33088;t+="";for(var n=[],l=63,r=0;r<t.length;r++){var i=t.charCodeAt(r);if(i<128)n.push(i);else{var s=QY.indexOf(i);~s?(s+=e,n.push(255&s>>8,255&s)):n.push(l)}}return n}encode(t){let e="";for(let n of t){let l=this.GBKEncode(n);for(let r=0;r<l.length;r++)l[r]="%"+("0"+l[r].toString(16)).substr(-2).toUpperCase();e=e+l.join("")}return e}async setSearch(t,e){let n={searchword:this.encode(t)},l=await this.post(this.siteUrl+"/search.asp",n,this.getHeader(),"form",1),r=He(hb(l,"gb2312"));this.vodList=await this.parseVodShortListFromDocBySearch(r)}},qt=new ZS;async function YAe(t){await qt.init(t)}async function QAe(t){return await qt.home(t)}async function ZAe(){return await qt.homeVod()}async function eOe(t,e,n,l){return await qt.category(t,e,n,l)}async function tOe(t){return await qt.detail(t)}async function nOe(t,e,n){return await qt.play(t,e,n)}async function lOe(t,e){return await qt.search(t,e)}function gVe(){return{init:YAe,home:QAe,homeVod:ZAe,category:eOe,detail:tOe,play:nOe,search:lOe}}var eT=class extends Ce{constructor(){super()}getName(){return qt.getName()}getAppName(){return qt.getAppName()}getJSName(){return qt.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await qt.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await qt.initCookie(e.server.config.bilicookie),await qt.spiderInit(e),qt.cfgObj.code=0,qt.catOpenStatus=!0,qt.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await qt.setClasses(),this.classes=qt.classes}async setFilterObj(){await qt.setFilterObj(),this.filterObj=qt.filterObj}async setHomeVod(){await qt.setHomeVod(),this.homeVodList=qt.homeVodList}async setCategory(e,n,l,r){await qt.setCategory(e,n,l,r),this.vodList=qt.vodList}async setDetail(e){await qt.setDetail(e),this.vodDetail=qt.vodDetail}async setPlay(e,n,l){await qt.setPlay(e,n,l),this.playUrl=qt.playUrl,this.result=qt.result}async setSearch(e,n,l){await qt.setSearch(e,n,l),this.vodList=qt.vodList,this.result=qt.result}async setProxy(e,n){return await qt.proxy(e,n)}},Ha=new eT;async function ZY(t,e){return await Ha.init(t,e)}async function eQ(t,e){return await Ha.home(t,e)}async function rOe(t,e){return await Ha.homeVod(t,e)}async function tQ(t,e){return await Ha.category(t,e)}async function nQ(t,e){return await Ha.detail(t,e)}async function lQ(t,e){return await Ha.play(t,e)}async function rQ(t,e){return await Ha.search(t,e)}async function iOe(t,e){return await Ha.proxy(t,e)}var iQ={meta:{key:qt.getJSName(),name:qt.getName(),type:qt.getType()},api:async t=>{t.post("/init",ZY),t.post("/home",eQ),t.post("/category",tQ),t.post("/detail",nQ),t.post("/play",lQ),t.post("/search",rQ),t.get("/proxy/:what/:ids/:end",iOe)},spider:{init:ZY,home:eQ,homeVod:rOe,category:tQ,detail:nQ,play:lQ,search:rQ}};var tT=class extends Pe{constructor(){super(),this.siteUrl="https://www.cilixiong.com",this.cateObj={"/movie/":"1","/drama/":"2"}}getAppName(){return"\u78C1\u529B\u718A"}getName(){return"\u{1F43B}\u2503\u78C1\u529B\u718A\u2503\u{1F43B}"}getJSName(){return"cilixiong"}getType(){return 3}async setClasses(){let e=await this.getHtml(),n=e('[class="nav col-12 col-lg-auto me-
Line truncated
|
||||
`,"").replaceAll(" ","").replaceAll(" ","")+"end";if(o.indexOf("\u5E74\u4EFD")>-1&&(e.vod_year=xe(/年份:(.*?)end/,o).replaceAll("/","")),o.indexOf("\u5907\u6CE8")>-1){let c=xe(/备注:(.*?)end/,o);e.vod_remarks=xe(/备注:\/(.*?)end/,o)}o.indexOf("\u6807\u7B7E")>-1&&(e.type_name=xe(/标签:(.*?)end/,o)),o.indexOf("\u5267\u60C5")>-1&&(e.vod_content=xe(/剧情:(.*?)end/,o))}let r=t('[class="module-tab-item tab-item"]'),i=t('[class="scroll-content"]'),s=[],a=[];for(let u=0;u<r.length;u++){let o=r[u];s.push(o.attribs["data-dropdown-value"]);let c=[];for(let f of t(i[u]).find("a")){let m=t(f).text(),d=f.attribs.href;c.push(m+"$"+d)}a.push(c.join("#"))}return e.vod_play_from=s.join("$$$"),e.vod_play_url=a.join("$$$"),e}async setHomeVod(){let t=await this.getHtml();this.homeVodList=await this.parseVodShortListFromDoc(t)}getExtendValue(t,e){return t[e]===void 0||t[e]==="0"?"":t[e]}async setCategory(t,e,n,l){await this.jadeLog.debug(`extend:${JSON.stringify(l)}`);let r=this.getExtendValue(l,"1"),i=this.getExtendValue(l,"2"),s=this.getExtendValue(l,"3"),a=this.getExtendValue(l,"4"),u=[t.toString(),"",a,r,"",s,"","",e.toString(),"","",i],o=this.siteUrl+"/show/"+u.join("-")+".html",c=await this.getHtml(o);this.vodList=await this.parseVodShortListFromDocByCategory(c)}async setDetail(t){let e=await this.getHtml(this.siteUrl+t);this.vodDetail=await this.parseVodDetailFromDoc(e)}async setSearch(t,e){let n=this.siteUrl+`/search/${t}-------------.html`,l=await this.getHtml(n);this.vodList=await this.parseVodShortListFromDocBySearch(l)}async setPlay(t,e,n){let l=await this.getHtml(this.siteUrl+e),i="https://danmu.yhdmjx.com/m3u8.php?url="+JSON.parse(xe(/var player_aaaa=(.*?)<\/script>/,l.html())).url,s=await await this.fetch(i,null,this.getHeader()),a=s.match(/"url": getVideoInfo\("(.*?)"\),/)[1],u=s.match(/<script>var bt_token = "(.*?)"/)[1],o=await await this.fetch("https://danmu.yhdmjx.com/js/play.js",null,this.getHeader());o=o.match(/var _token_key=CryptoJS\['enc'\]\['Utf8'\]\[_0x17f1\('67','qETJ'\)\]\((.*?\))/)[1],o=this.decrypt_token_key(o),this.playUrl=await this.getVideoInfo(a,o,u)}decrypt_token_key(toekn_key){var _0xod4="jsjiami.com.v6",_0x175e=[_0xod4,"JMOsw6omwoDCmw==","wp3DkSx5Eg==","HB7CscOJfS3DuUjDv2bDjsOmwr3Cm8KcwoI=","fR/Dqg==","ShRGTcKa","w5Y8VBs=","esKYKQ==","FgIdwrPDnMKOw7k=","HhXCmA==","woNrRsKSwpnDvcKfw4g=","ezBn","w43DkcK5w4MaJiE=","w44Ob8KjwrjCrMKtUA==","HwtswqI=","YsKnwrRawro=","Sm/CpQXCjz4RH8ORSXw=","IsO6w64=","T8OeAQ==","VcK4Hg==","csOmfBJ4","d8OAcA5L","Tn4RL2s=","w7goGizCmw==","w6XDlcOGwpoY","TsK7wpNPwrg=","w7J1CzLCnsO+HA==","w4XDkcK0w5YXPg==","S8KoCcKS","PcKWHcK/Eg==","Z2oMJ3rCiw==","YsKMG8KMwo0=","QsOecgRIwp4=","dFzDkUUxw48Qw7nCmX3CicODCMKnw74IOg==","acO2KU1B","wrAnw6DDrg==","w5MsScKwwoA=","wohZG8KhBg==","b8OieSpZ","w4ZmEsORw6I=","w7jDhxvCh8KY","w7wQa8KFwr0=","IMObw4E3wqU=","JsOjw5Erwrg=","w6MwcsKOwqU=","b8KIwqF0wrs=","XhXDvT52","wrDCmirChSE=","w5t1wpvDuwE=","XA7CtsKeEA==","wonCvVthw78=","U8KPP8KMwq4=","wp7DhCxjGTU=","woPDoBdiEQ==","HjzCrE/Dvg==","SsOQOWHCgg==","w6NdwoXCkMOx","w6shYWQ/","eE/Cgg==","XW/Csj7CmDoA","w680OynCgcK5BA8=","w4PDoMOTwrog","w5R7wqbCpMOPwrMxUcOiM8OuMVLCisKKFsOXAcOWY8O6w5hM","WwjDoht0","PzXCiHHDiA==","QMOFaMKcfQ==","bz9bVsK+","w7Npwp/DsB9ONw==","EcOPBQ3Cig==","woHDnzk=","DsKQLxtd","R8OCJmk=","wp55O8On","bkXCmhTCqg==","w7vDgx3Cg8KU","w6nDo8KdAn8=","O8KwP8KEDw==","wqzCtCHCtCg=","w5nDgmYhw5c=","wp0OZsK+w4A=","wrFxe8KFwp/DvcKew4EbN8K7BMORMx3DuxtOVELChsOEIQ==","BMKWRDc=","IS5dw6nDhQ==","w6geeG8t","SsK/wohywpc=","LBlnw7jDkA==","wodiLsOg","Ig5Ow7/Dlw==","TMOOewRZwoQ=","LjnClV7DvA==","woZsO8KcPQ==","eWvClMKeKQ==","wq1KWsKswr8=","w4p+AGFa","C8O7F8K2CQcKFxxgwo5sfh3DpAFV","w6XDqMKoCw==","w6Z8wqnCpMOe","w6x/CHRhXhV/w7I=","wrvClndGw5Y=","VsKcwo5RwoA=","ZcK2BMKmLQ==","BCcPwofDvQ==","eGEsF20=","eMOcUglq","w4U9XEAMw4/Dm3rCuzpxTg/DvyDDvMONH8OTwpTCtsKbw6k=","VwXDkTxG","CzHCrl3DkQ==","w7PDkVovw4o=","dsONYDdj","w79pwr3Duh4=","w55kwoLCpMOR","w6gbc8KGwpw=","bCnCtMKCCg==","Php5w64=","w7x8wpfDtiQ=","w4TDk2AB","w7lowoHDtgQ=","DB/CsnjDuQ==","woTDl8K3wp4S","wr0Ewq7Dq8Oh","GmHCpGxN","w5/Dm2XDpw==","w5bDpsOCwqoA","YMKowphwwqc=","ahFuVsK9","w57DtEsbw7k=","w6LDo8Kq","UsKzE8KO","w6xlBFl9","WMOgIXbCiw==","DBhjw5fDhQ==","w6pUwoHCnsOs","ZF7CtsKiHg==","wos4w7wCwr0c","JlXCjlpyw5pMw6s=","TcO1N8K4wqE=","SMOzTcKYRw==","w4HDosOzwrUc","wqxdwqE2wrY=","A8OPGQjChw==","wpkxasOxBQ==","wpIZSA==","VsOnEEvChg==","bMOSZy93","c8OwZsKnRQ==","SsK/wpBHwoQ=","ccOsHVFf","w6ZKYMO8w6rDr8OrCHxdwqtdwrDDksOMccKZwobDpQPDgsOrAMKXF8OMPcOySsKuL8KLwq8vwr/DkjbDqsOCbRrCkcOTTFfDlsKkw7PChCM1wqTDisKawpHDt8KCQRY3w6DDgMKVw6M=","w7hYwq3ClsOa","Fic5wqLDiw==","KcKqHCVV","wqvDucKSwrs/","YcOfQcKPSQ==","wpjClmNRw7U=","wpHClSnCizg=","w4PDh8Kw","JsOYGwnCpw==","w5vDksK8w6sl","U8ORCHt+Rw==","woVxO8OSJQ==","b37Chw/Clw==","w6ViBXZlQg==","UwPCucKQCgU=","UMOeZgs=","MTLCtW7Dq2o=","wqAQwr/DqcOi","DiLDtsOOZsKEbsOrGm03EcKEwr/CplQ=","dzPDnRhP","wplgT8KBwow=","XUzCg8KF","K8KTCcKrCQ==","w6ZKJMOw","LxTCmn/DsA==","wooObcKBw6g=","w5djwofDoTQ=","VMOHeAts","Kw96
Line truncated
|
||||
`,""))}let r={},i=t.html(),s=t('[class="play-list"]'),a=1;for(let o of s){let c=`\u64AD\u653E\u8FDE\u63A5-${a}`,f=[];for(let m of t(o).find("a")){let d=m.attribs.title,y=m.attribs.href;f.push(d+"$"+y)}r[c]=f.join("#"),a=a+1}a=1;let u=t('[class="con4"]');for(let o of u){let c=`\u78C1\u529B\u94FE\u63A5-${a}`,f=[],m=c,d=t(t(o).find("div")).find("a")[0].attribs.href;d!=="javascript:void(0);"&&(f.push(m+"$"+d),r[c]=f.join("#"),a=a+1)}return e.vod_play_url=B.values(r).join("$$$"),e.vod_play_from=B.keys(r).join("$$$"),e}async setHomeVod(){let t=await this.getHtml();this.homeVodList=await this.parseVodShortListFromDoc(t)}async setDetail(t){let e=await this.getHtml(this.siteUrl+t);this.vodDetail=await this.parseVodDetailFromDoc(e)}getExtend(t){if(t.class!==void 0&&t.class!=="\u5168\u90E8")return t.class}async setCategory(t,e,n,l){let r=this.getExtend(l)??t,i;r===t?i=this.siteUrl+r:parseInt(e)===1?i=this.siteUrl+r:i=this.siteUrl+r+`index${e}.html`;let s=await this.getHtml(i);this.vodList=await this.parseVodShortListFromDoc(s)}async setPlay(flag,id,flags){if(flag.indexOf("\u78C1\u529B")>-1)this.playUrl=id;else{let idSplitList=id.split("-"),flag_id=parseInt(idSplitList[1]),episode=parseInt(idSplitList[2].split(".")[0]),$=await this.getHtml(this.siteUrl+id),playJsUrl=xe(/<script type="text\/javascript" src="(.*?)">/,$.html()),playJsContent=await this.fetch(this.siteUrl+playJsUrl,null,this.getHeader()),playUrlListStr=xe(/var VideoListJson=(.*?),urlinfo=/,playJsContent),playDic=eval(playUrlListStr);if(this.playUrl=playDic[flag_id][1][episode].split("$")[1],this.playUrl.indexOf("m3u8")===-1){let t=await this.fetch(this.playUrl,null,this.getHeader());this.playUrl=xe(/url: '(.*?)'/,t)}}}GBKEncode(t){var e=33088;t+="";for(var n=[],l=63,r=0;r<t.length;r++){var i=t.charCodeAt(r);if(i<128)n.push(i);else{var s=pQ.indexOf(i);~s?(s+=e,n.push(255&s>>8,255&s)):n.push(l)}}return n}encode(t){let e="";for(let n of t){let l=this.GBKEncode(n);for(let r=0;r<l.length;r++)l[r]="%"+("0"+l[r].toString(16)).substr(-2).toUpperCase();e=e+l.join("")}return e}async setSearch(t,e){let n={searchword:this.encode(t)},l=await this.post(this.siteUrl+"/search.asp",n,this.getHeader(),"form",1),r=He(hb(l,"gb2312"));this.vodList=await this.parseVodShortListFromDocBySearch(r)}},qt=new nT;async function aOe(t){await qt.init(t)}async function uOe(t){return await qt.home(t)}async function oOe(){return await qt.homeVod()}async function cOe(t,e,n,l){return await qt.category(t,e,n,l)}async function pOe(t){return await qt.detail(t)}async function fOe(t,e,n){return await qt.play(t,e,n)}async function dOe(t,e){return await qt.search(t,e)}function CVe(){return{init:aOe,home:uOe,homeVod:oOe,category:cOe,detail:pOe,play:fOe,search:dOe}}var lT=class extends Ce{constructor(){super()}getName(){return qt.getName()}getAppName(){return qt.getAppName()}getJSName(){return qt.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await qt.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await qt.initCookie(e.server.config.bilicookie),await qt.spiderInit(e),qt.cfgObj.code=0,qt.catOpenStatus=!0,qt.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await qt.setClasses(),this.classes=qt.classes}async setFilterObj(){await qt.setFilterObj(),this.filterObj=qt.filterObj}async setHomeVod(){await qt.setHomeVod(),this.homeVodList=qt.homeVodList}async setCategory(e,n,l,r){await qt.setCategory(e,n,l,r),this.vodList=qt.vodList}async setDetail(e){await qt.setDetail(e),this.vodDetail=qt.vodDetail}async setPlay(e,n,l){await qt.setPlay(e,n,l),this.playUrl=qt.playUrl,this.result=qt.result}async setSearch(e,n,l){await qt.setSearch(e,n,l),this.vodList=qt.vodList,this.result=qt.result}async setProxy(e,n){return await qt.proxy(e,n)}},qa=new lT;async function fQ(t,e){return await qa.init(t,e)}async function dQ(t,e){return await qa.home(t,e)}async function hOe(t,e){return await qa.homeVod(t,e)}async function hQ(t,e){return await qa.category(t,e)}async function mQ(t,e){return await qa.detail(t,e)}async function yQ(t,e){return await qa.play(t,e)}async function gQ(t,e){return await qa.search(t,e)}async function mOe(t,e){return await qa.proxy(t,e)}var vQ={meta:{key:qt.getJSName(),name:qt.getName(),type:qt.getType()},api:async t=>{t.post("/init",fQ),t.post("/home",dQ),t.post("/category",hQ),t.post("/detail",mQ),t.post("/play",yQ),t.post("/search",gQ),t.get("/proxy/:what/:ids/:end",mOe)},spider:{init:fQ,home:dQ,homeVod:hOe,category:hQ,detail:mQ,play:yQ,search:gQ}};var rT=class extends Pe{constructor(){super(),this.siteUrl="https://ali.gitcafe.ink"}getName(){return"\u{1F98A}\u2503\u963F\u91CC\u7EB8\u6761\u2503\u{1F98A}"}getAppName(){return"\u963F\u91CC\u7EB8\u6761"}getJSName(){return"gitcafe"}getType(){return 3}async getApiUrl(){let e=await this.fetch(this.siteUrl,null,this.getHeader());if(!B.isEmpty(e)){let n=xe(/<script src='(.
Line truncated
|
||||
"type": "{{tid}}",
|
||||
"p": "{{pg}}",
|
||||
"area": "{{ext.area|default(0)}}",
|
||||
"year": "{{ext.year|default(0)}}",
|
||||
"sort": "{{ext.sort|default(0)}}",
|
||||
"class": "{{ext.class|default(0)}}"}`,{ext:r,tid:e,pg:n}));console.log(s);let a=await this.request(i,s);this.vodList=await this.parseVodShortListFromJson(a.data.data)}async setDetail(e){let n=await this.request(this.siteUrl+"/api.php/Video/getVideoInfo",{video_id:e});this.vodDetail=await this.parseVodDetailfromJson(n.data.video)}async setPlay(e,n,l){this.result.jx=0;try{if(n.indexOf("youku")>=0||n.indexOf("iqiyi")>=0||n.indexOf("v.qq.com")>=0||n.indexOf("pptv")>=0||n.indexOf("le.com")>=0||n.indexOf("1905.com")>=0||n.indexOf("mgtv")>=0){if(this.parse.length>0)for(let r=0;r<this.parse.length;r++)try{let i=this.parse[r],s=await req(i+n,{headers:{"user-agent":"okhttp/4.1.0"}});await this.jadeLog.debug(`\u89E3\u6790\u8FDE\u63A5\u7ED3\u679C\u4E3A:${JSON.stringify(s)}`);let a=AQ(n,JSON.parse(s.content).data);a.url&&(this.playUrl=a.url,this.danmuUrl=await this.danmuSpider.getVideoUrl(n,0),this.result.jx=1)}catch{}}else if(n.indexOf("jqq-")>=0){let r=await this.request(this.siteUrl+"/jqqheader.json",null,null,!0),i=n.split("-"),s=await req("https://api.juquanquanapp.com/app/drama/detail?dramaId="+i[1]+"&episodeSid="+i[2]+"&quality=LD",{headers:r}),a=JSON.parse(s.content);a.data.playInfo.url&&(this.playUrl=a.data.playInfo.url)}else if(n.startsWith("ftp"))this.playUrl=n;else{let r=await this.request(this.siteUrl+"/video.php",{url:n}),i=AQ(n,r.data);i.url&&(i.url.indexOf("filename=1.mp4")>-1?this.playUrl=i.url:this.playUrl=await js2Proxy(!0,this.siteType,this.siteKey,"lzm3u8/"+l2(i.url),{}))}}catch(r){await this.jadeLog.error(r)}}async setSearch(e,n){let l=await this.request(this.siteUrl+"/api.php/Search/getSearch",{key:e,type_id:0,p:1});this.vodList=await this.parseVodShortListFromJson(l.data.data)}async proxy(e,n){let l=e[0],r=E2(e[1]);if(l==="lzm3u8"){await this.jadeLog.debug(`\u4F7F\u7528\u4EE3\u7406\u64AD\u653E,\u64AD\u653E\u8FDE\u63A5\u4E3A:${r}`);let i=await req(r,{}),s=i.content,a=await js2Proxy(!1,this.siteType,this.siteKey,"lzm3u8/",{}),u=r.substr(0,r.lastIndexOf("/")+1);return await this.jadeLog.debug(s.length),s=s.replace(/#EXT-X-DISCONTINUITY\r*\n*#EXTINF:6.433333,[\s\S]*?#EXT-X-DISCONTINUITY/,""),await this.jadeLog.debug(s.length),s=s.replace(/(#EXT-X-KEY\S+URI=")(\S+)("\S+)/g,function(o,c,f,m){let d=(f.startsWith("http")?"":u)+f;return c+d+m}),s=s.replace(/(#EXT-X-STREAM-INF:.*\n)(.*)/g,function(o,c,f){let m=(f.startsWith("http")?"":u)+f;return c+a+E2(m)}),s=s.replace(/(#EXTINF:.*\n)(.*)/g,function(o,c,f){let m=(f.startsWith("http")?"":u)+f;return c+m}),JSON.stringify({code:i.code,content:s,headers:i.headers})}return JSON.stringify({code:500,content:""})}},Vn=new aT;var uT=class extends Ce{constructor(){super()}getName(){return Vn.getName()}getAppName(){return Vn.getAppName()}getJSName(){return Vn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await Vn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await Vn.initCookie(e.server.config.bilicookie),await Vn.spiderInit(e),Vn.cfgObj.code=0,Vn.catOpenStatus=!0,Vn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await Vn.setClasses(),this.classes=Vn.classes}async setFilterObj(){await Vn.setFilterObj(),this.filterObj=Vn.filterObj}async setHomeVod(){await Vn.setHomeVod(),this.homeVodList=Vn.homeVodList}async setCategory(e,n,l,r){await Vn.setCategory(e,n,l,r),this.vodList=Vn.vodList}async setDetail(e){await Vn.setDetail(e),this.vodDetail=Vn.vodDetail}async setPlay(e,n,l){await Vn.setPlay(e,n,l),this.playUrl=Vn.playUrl,this.result=Vn.result}async setSearch(e,n,l){await Vn.setSearch(e,n,l),this.vodList=Vn.vodList,this.result=Vn.result}async setProxy(e,n){return await Vn.proxy(e,n)}},Ga=new uT;async function OQ(t,e){return await Ga.init(t,e)}async function NQ(t,e){return await Ga.home(t,e)}async function EOe(t,e){return await Ga.homeVod(t,e)}async function CQ(t,e){return await Ga.category(t,e)}async function IQ(t,e){return await Ga.detail(t,e)}async function RQ(t,e){return await Ga.play(t,e)}async function kQ(t,e){return await Ga.search(t,e)}async function bOe(t,e){return await Ga.proxy(t,e)}var DQ={meta:{key:Vn.getJSName(),name:Vn.getName(),type:Vn.getType()},api:async t=>{t.post("/init",OQ),t.post("/home",NQ),t.post("/category",CQ),t.post("/detail",IQ),t.post("/play",RQ),t.post("/search",kQ),t.get("/proxy/:what/:ids/:end",bOe)},spider:{init:OQ,home:NQ,homeVod:EOe,category:CQ,detail:IQ,play:RQ,search:kQ}};var Sl=class{constructor(){this.book_id="",this.book_name="",this.book_pic="",this.book_remarks=""}to_dict(){return JSON.stringify(this)}load_dic(e){let n=JSON.parse(e);for(let l in n)this[l]=n[l]}},_i=class extends Sl{constructor(){super(),this.book_year="",this.book_director="",this.book_content="",this.volumes="",this.urls=""}to_short(){let e=new Sl;return e.load_dic(this.to_dict()),e.to_dict()}load_dic(e){let n=JSON.parse(e);for(let l in n)this[l]=n[l],console
Line truncated
|
||||
|
||||
`;for(;;){let s=await this.getHtml(this.siteUrl+n);if(i+=h4(s('[class="content"]').html().trim().replaceAll("<p>"," ").replaceAll("</p>",`
|
||||
`)),n=s('[id="next_url"]')[0].attribs.href,n.indexOf("_")<0)break}this.playUrl={content:i}}async setSearch(e,n){let l={searchkey:e,searchtype:"all",Submit:""},r=await this.fetch(this.siteUrl+"/search/",l,this.getHeader()),i=He(r);this.vodList=await this.parseVodShortListFromDocBySearch(i)}async proxy(e,n){await this.jadeLog.debug(`\u6B63\u5728\u8BBE\u7F6E\u53CD\u5411\u4EE3\u7406 segments = ${e.join(",")},headers = ${JSON.stringify(n)}`);let l=e[0],r=E2(e[1]);if(l==="img"){await this.jadeLog.debug(`\u53CD\u5411\u4EE3\u7406ID\u4E3A:${r}`);let i=await this.getHtml(this.siteUrl+r),s=await this.parseVodDetailFromDoc(i),a;return B.isEmpty(n)?a=await req(s.book_pic,{buffer:2,headers:{Referer:r,"User-Agent":Jl}}):a=await req(s.book_pic,{buffer:2,headers:n}),JSON.stringify({code:a.code,buffer:2,content:a.content,headers:a.headers})}return JSON.stringify({code:500,content:""})}},qn=new oT;var cT=class extends Ce{constructor(){super()}getName(){return qn.getName()}getAppName(){return qn.getAppName()}getJSName(){return qn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await qn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await qn.initCookie(e.server.config.bilicookie),await qn.spiderInit(e),qn.cfgObj.code=0,qn.catOpenStatus=!0,qn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await qn.setClasses(),this.classes=qn.classes}async setFilterObj(){await qn.setFilterObj(),this.filterObj=qn.filterObj}async setHomeVod(){await qn.setHomeVod(),this.homeVodList=qn.homeVodList}async setCategory(e,n,l,r){await qn.setCategory(e,n,l,r),this.vodList=qn.vodList}async setDetail(e){await qn.setDetail(e),this.vodDetail=qn.vodDetail}async setPlay(e,n,l){await qn.setPlay(e,n,l),this.playUrl=qn.playUrl,this.result=qn.result}async setSearch(e,n,l){await qn.setSearch(e,n,l),this.vodList=qn.vodList,this.result=qn.result}async setProxy(e,n){return await qn.proxy(e,n)}},Ja=new cT;async function PQ(t,e){return await Ja.init(t,e)}async function LQ(t,e){return await Ja.home(t,e)}async function wOe(t,e){return await Ja.homeVod(t,e)}async function FQ(t,e){return await Ja.category(t,e)}async function jQ(t,e){return await Ja.detail(t,e)}async function UQ(t,e){return await Ja.play(t,e)}async function MQ(t,e){return await Ja.search(t,e)}async function SOe(t,e){return await Ja.proxy(t,e)}var $Q={meta:{key:qn.getJSName(),name:qn.getName(),type:qn.getType()},api:async t=>{t.post("/init",PQ),t.post("/home",LQ),t.post("/category",FQ),t.post("/detail",jQ),t.post("/play",UQ),t.post("/search",MQ),t.get("/proxy/:what/:ids/:end",SOe)},spider:{init:PQ,home:LQ,homeVod:wOe,category:FQ,detail:jQ,play:UQ,search:MQ}};var pT=class extends Pe{constructor(){super(),this.siteUrl="http://m.dj0898.com"}getName(){return"\u{1F3B5}\u2503\u4E16\u7EAADJ\u97F3\u4E50\u7F51\u2503\u{1F3B5}"}getAppName(){return"\u4E16\u7EAADJ\u97F3\u4E50\u7F51"}getJSName(){return"dj0898_book_open"}getType(){return 10}async parseVodShortListFromDoc(e){let n=[],l=e("ul.djddv_djList > li");for(let r of l){let i=new Sl,s=e(r).find("a")[1];i.book_id=s.attribs.href,i.book_pic=e(r).find("img:first")[0].attribs.src;let a=e(r).find("strong:first")[0];i.book_name=a.children[0].data,i.book_remarks="\u{1F3B5}"+e(r).find("font")[5].children[0].data||"",n.push(i)}return n}async parseVodShortListFromDocByCategory(e){let n=e("ul.djddv_djList > li"),l=B.map(n,i=>{let s=e(i).find("a")[1],a=e(i).find("img:first")[0],u=e(i).find("strong:first")[0],o=e(i).find("font")[5];return{book_id:s.attribs.href,book_name:u.children[0].data,book_pic:a.attribs.src,book_remarks:"\u{1F3B5}"+o.children[0].data||""}}),r=e("ul.page_link > li > a:contains(\xA0)").length>0;return this.page=r?parseInt(this.page)+1:parseInt(this.page),l}async parseVodShortListFromDocBySearch(e){let n=e("ul.djddv_djList > li");return B.map(n,l=>{let r=e(l).find("a")[1],i=e(l).find("img:first")[0],s=e(l).find("strong:first")[0],a=e(l).find("font:first")[0];return{book_id:r.attribs.href,book_name:s.children[0].data,book_pic:i.attribs.src,book_remarks:"\u{1F3B5}"+a.children[0].data||""}})}async parseVodDetailFromDoc(e){let n={book_id:e,audio:1,type_name:"",book_year:"",book_area:"",book_remarks:"",book_actor:"",book_director:"",book_content:""},l=["\u70B9\u51FB\u64AD\u653E$"+n.book_id];return n.volumes="\u4E16\u7EAADJ\u97F3\u4E50\u7F51",n.urls=l.join("#"),n}async setClasses(){this.classes=[{type_id:1,type_name:"\u{1F3A7}\u4E32\u70E7\u821E\u66F2"},{type_id:2,type_name:"\u{1F3A7}\u5916\u6587\u821E\u66F2"},{type_id:3,type_name:"\u{1F3A7}\u65E9\u573A\u6696\u573A"},{type_id:4,type_name:"\u{1F3A7}\u4E2D\u6587\u821E\u66F2"},{type_id:5,type_name:"\u{1F3A7}\u5176\u4ED6\u821E\u66F2"},{type_id:6,type_name:"\u{1F3A7}\u56FD\u5916\u7535\u97F3"},{type_id:8,type_name:"\u{1F3A7}\u6162\u6B4C\u8FDE\u7248"},{type_id:9,type_name:"\u{1F3A7}\u9152\u5427\u6F6E\u6B4C"},{type_id:10,type_name:"\uLine truncated
|
||||
`).trim(),n=i("a.Readpage_down")[0].attribs.href,n.indexOf("_")<0)break}this.playUrl={content:r+`
|
||||
|
||||
`}}catch{this.playUrl={content:""}}}async search(e,n){let l=await req(`${this.siteUrl}/user/hm.html?q=${encodeURIComponent(e)}`,{headers:{accept:"application/json","User-Agent":Zs,Referer:`${this.siteUrl}/s?q=${encodeURIComponent(e)}`}}),i=(B.isArray(l.headers["set-cookie"])?l.headers["set-cookie"].join(";;;"):l.headers["set-cookie"]).split(";;;"),s={};for(let c of i){let f=c.trim(),m=f.indexOf("="),d=f.substr(0,m);s[d]=f.substr(m+1,f.indexOf(";")-m-1)}let a=await req(`${this.siteUrl}/user/search.html?q=${encodeURIComponent(e)}&so=undefined`,{headers:{accept:"application/json","User-Agent":Zs,cookie:"hm="+s.hm,Referer:`${this.siteUrl}/s?q=${encodeURIComponent(e)}`}}),u=JSON.parse(a.content),o=[];for(let c of u)o.push({book_id:c.url_list,book_name:c.articlename,book_pic:c.url_img,book_remarks:c.author});return{tline:2,list:o}}async proxy(e,n){await this.jadeLog.debug(`\u6B63\u5728\u8BBE\u7F6E\u53CD\u5411\u4EE3\u7406 segments = ${e.join(",")},headers = ${JSON.stringify(n)}`);let l=e[0],r=E2(e[1]);if(l==="img"){await this.jadeLog.debug(`\u53CD\u5411\u4EE3\u7406ID\u4E3A:${r}`);let i=await this.getHtml(this.siteUrl+r),s=await this.parseVodDetailFromDoc(i),a;return B.isEmpty(n)?a=await req(s.book_pic,{buffer:2,headers:{Referer:r,"User-Agent":Jl}}):a=await req(s.book_pic,{buffer:2,headers:n}),JSON.stringify({code:a.code,buffer:2,content:a.content,headers:a.headers})}return JSON.stringify({code:500,content:""})}},Gn=new dT;var hT=class extends Ce{constructor(){super()}getName(){return Gn.getName()}getAppName(){return Gn.getAppName()}getJSName(){return Gn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await Gn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await Gn.initCookie(e.server.config.bilicookie),await Gn.spiderInit(e),Gn.cfgObj.code=0,Gn.catOpenStatus=!0,Gn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await Gn.setClasses(),this.classes=Gn.classes}async setFilterObj(){await Gn.setFilterObj(),this.filterObj=Gn.filterObj}async setHomeVod(){await Gn.setHomeVod(),this.homeVodList=Gn.homeVodList}async setCategory(e,n,l,r){await Gn.setCategory(e,n,l,r),this.vodList=Gn.vodList}async setDetail(e){await Gn.setDetail(e),this.vodDetail=Gn.vodDetail}async setPlay(e,n,l){await Gn.setPlay(e,n,l),this.playUrl=Gn.playUrl,this.result=Gn.result}async setSearch(e,n,l){await Gn.setSearch(e,n,l),this.vodList=Gn.vodList,this.result=Gn.result}async setProxy(e,n){return await Gn.proxy(e,n)}},Xa=new hT;async function KQ(t,e){return await Xa.init(t,e)}async function XQ(t,e){return await Xa.home(t,e)}async function AOe(t,e){return await Xa.homeVod(t,e)}async function WQ(t,e){return await Xa.category(t,e)}async function YQ(t,e){return await Xa.detail(t,e)}async function QQ(t,e){return await Xa.play(t,e)}async function ZQ(t,e){return await Xa.search(t,e)}async function OOe(t,e){return await Xa.proxy(t,e)}var eZ={meta:{key:Gn.getJSName(),name:Gn.getName(),type:Gn.getType()},api:async t=>{t.post("/init",KQ),t.post("/home",XQ),t.post("/category",WQ),t.post("/detail",YQ),t.post("/play",QQ),t.post("/search",ZQ),t.get("/proxy/:what/:ids/:end",OOe)},spider:{init:KQ,home:XQ,homeVod:AOe,category:WQ,detail:YQ,play:QQ,search:ZQ}};function lZ(t){this._parameters={},this._loadParameters(t||{})}lZ.prototype={_loadParameters:function(t){t instanceof Array?this._loadParametersFromArray(t):typeof t=="object"&&this._loadParametersFromObject(t)},_loadParametersFromArray:function(t){var e;for(e=0;e<t.length;e++)this._loadParametersFromObject(t[e])},_loadParametersFromObject:function(t){var e;for(e in t)if(t.hasOwnProperty(e)){var n=this._getStringFromParameter(t[e]);this._loadParameterValue(e,n)}},_loadParameterValue:function(t,e){var n;if(e instanceof Array){for(n=0;n<e.length;n++){var l=this._getStringFromParameter(e[n]);this._addParameter(t,l)}e.length==0&&this._addParameter(t,"")}else this._addParameter(t,e)},_getStringFromParameter:function(t){var e=t||"";try{(typeof t=="number"||typeof t=="boolean")&&(e=t.toString())}catch{}return e},_addParameter:function(t,e){this._parameters[t]||(this._parameters[t]=[]),this._parameters[t].push(e)},get:function(){return this._parameters}};function NOe(t){return t?decodeURIComponent(t):""}function COe(t){let e=[],n=[];for(let a in t)e.push(W6(a));e.sort();for(let a=0;a<e.length;a++){let u=e[a];var l,r,i=NOe(u),s=t[i];for(s.sort(),l=0;l<s.length;l++)r=W6(s[l]),n.push(u+"="+r)}return n.join("&")}function tZ(t=10){let e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n="";for(let l=0;l<t;l++)n+=e.charAt(Math.floor(Math.random()*e.length));return n}function W6(t){return t?encodeURIComponent(t).replace(/[!'()]/g,escape).replace(/\*/g,"%2A"):""}function nZ(t,e,n,l="f3ac5b086f3eab260520d8e3049561e6"){e=e.split("?")[0],e=e.startsWith("http")?e:"https://api.audiomack.com/v1"+e;let r=new lZ(n).get(),i=t.toUpperC
Line truncated
|
||||
|
||||
`;for(;;){let s=await this.getHtml(this.siteUrl+n);if(i+=h4(s('[class="content"]').html().trim().replaceAll("<p>"," ").replaceAll("</p>",`
|
||||
`)),n=s('[id="next_url"]')[0].attribs.href,n.indexOf("_")<0)break}this.playUrl={content:i}}async setSearch(e,n){let l={q:encodeURIComponent(e)},r=await this.fetch(this.siteUrl+"/novel/search",l,this.getHeader()),i=He(r);this.vodList=await this.parseVodShortListFromDocBySearch(i);let s=0}async setPlay(e,n,l){let r=n.split("+");n=r[1];let i=r[0]+`
|
||||
@@ -450,13 +456,7 @@ function print() { __p += __j.call(arguments, '') }
|
||||
`,a=(await this.getHtml(this.siteUrl+"/novel/pagea/"+n))('[class="content"]').text().trim().replaceAll("\u7AE0\u8282\u62A5\u9519 \u5206\u4EAB\u7ED9\u670B\u53CB\uFF1A","").replaceAll(" ","").split(`
|
||||
`),u=[];for(let o of a)B.isEmpty(o.replaceAll(" ",""))||u.push(o.replaceAll(" "," "));i=i+" "+u.join(`
|
||||
|
||||
`),this.playUrl={content:i}}},zn=new pT;var fT=class extends Ce{constructor(){super()}getName(){return zn.getName()}getAppName(){return zn.getAppName()}getJSName(){return zn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await zn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await zn.initCookie(e.server.config.bilicookie),await zn.spiderInit(e),zn.cfgObj.code=0,zn.catOpenStatus=!0,zn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await zn.setClasses(),this.classes=zn.classes}async setFilterObj(){await zn.setFilterObj(),this.filterObj=zn.filterObj}async setHomeVod(){await zn.setHomeVod(),this.homeVodList=zn.homeVodList}async setCategory(e,n,l,r){await zn.setCategory(e,n,l,r),this.vodList=zn.vodList}async setDetail(e){await zn.setDetail(e),this.vodDetail=zn.vodDetail}async setPlay(e,n,l){await zn.setPlay(e,n,l),this.playUrl=zn.playUrl,this.result=zn.result}async setSearch(e,n,l){await zn.setSearch(e,n,l),this.vodList=zn.vodList,this.result=zn.result}async setProxy(e,n){return await zn.proxy(e,n)}},Ka=new fT;async function BQ(t,e){return await Ka.init(t,e)}async function HQ(t,e){return await Ka.home(t,e)}async function TOe(t,e){return await Ka.homeVod(t,e)}async function VQ(t,e){return await Ka.category(t,e)}async function qQ(t,e){return await Ka.detail(t,e)}async function zQ(t,e){return await Ka.play(t,e)}async function GQ(t,e){return await Ka.search(t,e)}async function xOe(t,e){return await Ka.proxy(t,e)}var JQ={meta:{key:zn.getJSName(),name:zn.getName(),type:zn.getType()},api:async t=>{t.post("/init",BQ),t.post("/home",HQ),t.post("/category",VQ),t.post("/detail",qQ),t.post("/play",zQ),t.post("/search",GQ),t.get("/proxy/:what/:ids/:end",xOe)},spider:{init:BQ,home:HQ,homeVod:TOe,category:VQ,detail:qQ,play:zQ,search:GQ}};function AOe(t){return t.trim().replace(/<|>|《|》/g,"").replace(/\$|#/g," ").trim()}var dT=class extends Pe{constructor(){super(),this.siteUrl="https://api.bookan.com.cn"}getName(){return"\u{1F3B5}\u2503\u770B\u4E66\u2503\u{1F3B5}"}getAppName(){return"\u770B\u4E66"}getJSName(){return"bookan"}getType(){return 10}async parseVodShortListFromJson(e){let n=[];for(let l of e.list)n.push({book_id:l.id,book_name:l.name,book_pic:l.cover,book_remarks:l.extra.author});return n}async setClasses(){this.classes=[{type_id:"1305",type_name:"\u5C11\u5E74\u8BFB\u7269"},{type_id:"1304",type_name:"\u513F\u7AE5\u6587\u5B66"},{type_id:"1320",type_name:"\u56FD\u5B66\u7ECF\u5178"},{type_id:"1306",type_name:"\u6587\u827A\u5C11\u5E74"},{type_id:"1309",type_name:"\u80B2\u513F\u5FC3\u7ECF"},{type_id:"1310",type_name:"\u5FC3\u7406\u54F2\u5B66"},{type_id:"1307",type_name:"\u9752\u6625\u52B1\u5FD7"},{type_id:"1312",type_name:"\u5386\u53F2\u5C0F\u8BF4"},{type_id:"1303",type_name:"\u6545\u4E8B\u4F1A"},{type_id:"1317",type_name:"\u97F3\u4E50\u620F\u5267"},{type_id:"1319",type_name:"\u76F8\u58F0\u8BC4\u4E66"}]}async setCategory(e,n,l,r){let i=await this.fetch(`${this.siteUrl}/voice/book/list?instance_id=25304&page=${n}&category_id=${e}&num=24`,null,this.getHeader()),s=JSON.parse(i).data;this.vodList=await this.parseVodShortListFromJson(s)}async parseVodDetailfromJson(e){let n={audio:1,type_name:"",book_year:"",book_area:"",book_remarks:"",book_actor:"",book_director:"",book_content:""},l=B.map(e.list,function(r){return AOe(r.title)+"$"+r.file}).join("#");return n.volumes="\u4E66\u5377",n.urls=l,n}async setDetail(e){let n=await this.fetch(`${this.siteUrl}/voice/album/units?album_id=${e}&page=1&num=200&order=1`,null,this.getHeader()),l=JSON.parse(n).data;this.vodDetail=await this.parseVodDetailfromJson(l),this.vodDetail.book_id=e}async play(e,n,l){return JSON.stringify({parse:0,url:n})}async setSearch(e,n){let l=await this.fetch(`https://es.bookan.com.cn/api/v3/voice/book?instanceId=25304&keyword=${e}&pageNum=1&limitNum=20`,null,this.getHeader()),r=JSON.parse(l).data;this.vodList=await this.parseVodShortListFromJson(r)}},Gn=new dT;var hT=class extends Ce{constructor(){super()}getName(){return Gn.getName()}getAppName(){return Gn.getAppName()}getJSName(){return Gn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await Gn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await Gn.initCookie(e.server.config.bilicookie),await Gn.spiderInit(e),Gn.cfgObj.code=0,Gn.catOpenStatus=!0,Gn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await Gn.setClasses(),this.classes=Gn.classes}async setFilterObj(){await Gn.setFilterObj(),this.filterObj=Gn.filterObj}async setHomeVod(){await Gn.setHomeVod(),this.homeVodList=Gn.homeVodList}async setCategory(e,n,l,r){await Gn.setCategory(e,n,l,r),this.vodList=Gn.vodList}async setDetail(e){await Gn.setDetail(e),this.vodDe
Line truncated
|
||||
`).trim(),n=i("a.Readpage_down")[0].attribs.href,n.indexOf("_")<0)break}this.playUrl={content:r+`
|
||||
|
||||
`}}catch{this.playUrl={content:""}}}async search(e,n){let l=await req(`${this.siteUrl}/user/hm.html?q=${encodeURIComponent(e)}`,{headers:{accept:"application/json","User-Agent":Zs,Referer:`${this.siteUrl}/s?q=${encodeURIComponent(e)}`}}),i=(B.isArray(l.headers["set-cookie"])?l.headers["set-cookie"].join(";;;"):l.headers["set-cookie"]).split(";;;"),s={};for(let c of i){let f=c.trim(),m=f.indexOf("="),d=f.substr(0,m);s[d]=f.substr(m+1,f.indexOf(";")-m-1)}let a=await req(`${this.siteUrl}/user/search.html?q=${encodeURIComponent(e)}&so=undefined`,{headers:{accept:"application/json","User-Agent":Zs,cookie:"hm="+s.hm,Referer:`${this.siteUrl}/s?q=${encodeURIComponent(e)}`}}),u=JSON.parse(a.content),o=[];for(let c of u)o.push({book_id:c.url_list,book_name:c.articlename,book_pic:c.url_img,book_remarks:c.author});return{tline:2,list:o}}async proxy(e,n){await this.jadeLog.debug(`\u6B63\u5728\u8BBE\u7F6E\u53CD\u5411\u4EE3\u7406 segments = ${e.join(",")},headers = ${JSON.stringify(n)}`);let l=e[0],r=E2(e[1]);if(l==="img"){await this.jadeLog.debug(`\u53CD\u5411\u4EE3\u7406ID\u4E3A:${r}`);let i=await this.getHtml(this.siteUrl+r),s=await this.parseVodDetailFromDoc(i),a;return B.isEmpty(n)?a=await req(s.book_pic,{buffer:2,headers:{Referer:r,"User-Agent":Jl}}):a=await req(s.book_pic,{buffer:2,headers:n}),JSON.stringify({code:a.code,buffer:2,content:a.content,headers:a.headers})}return JSON.stringify({code:500,content:""})}},Jn=new gT;var vT=class extends Ce{constructor(){super()}getName(){return Jn.getName()}getAppName(){return Jn.getAppName()}getJSName(){return Jn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await Jn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await Jn.initCookie(e.server.config.bilicookie),await Jn.spiderInit(e),Jn.cfgObj.code=0,Jn.catOpenStatus=!0,Jn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await Jn.setClasses(),this.classes=Jn.classes}async setFilterObj(){await Jn.setFilterObj(),this.filterObj=Jn.filterObj}async setHomeVod(){await Jn.setHomeVod(),this.homeVodList=Jn.homeVodList}async setCategory(e,n,l,r){await Jn.setCategory(e,n,l,r),this.vodList=Jn.vodList}async setDetail(e){await Jn.setDetail(e),this.vodDetail=Jn.vodDetail}async setPlay(e,n,l){await Jn.setPlay(e,n,l),this.playUrl=Jn.playUrl,this.result=Jn.result}async setSearch(e,n,l){await Jn.setSearch(e,n,l),this.vodList=Jn.vodList,this.result=Jn.result}async setProxy(e,n){return await Jn.proxy(e,n)}},Ya=new vT;async function uZ(t,e){return await Ya.init(t,e)}async function oZ(t,e){return await Ya.home(t,e)}async function UOe(t,e){return await Ya.homeVod(t,e)}async function cZ(t,e){return await Ya.category(t,e)}async function pZ(t,e){return await Ya.detail(t,e)}async function fZ(t,e){return await Ya.play(t,e)}async function dZ(t,e){return await Ya.search(t,e)}async function MOe(t,e){return await Ya.proxy(t,e)}var hZ={meta:{key:Jn.getJSName(),name:Jn.getName(),type:Jn.getType()},api:async t=>{t.post("/init",uZ),t.post("/home",oZ),t.post("/category",cZ),t.post("/detail",pZ),t.post("/play",fZ),t.post("/search",dZ),t.get("/proxy/:what/:ids/:end",MOe)},spider:{init:uZ,home:oZ,homeVod:UOe,category:cZ,detail:pZ,play:fZ,search:dZ}};var _T=class extends Pe{constructor(){super(),this.siteUrl="https://www.diyi69.com"}getAppName(){return"\u516D\u4E5D\u4E66\u5427"}getJSName(){return"liujiushu"}getType(){return 10}getName(){return"\u{1F4DA}\uFE0E\u2503\u516D\u4E5D\u4E66\u5427\u2503\u{1F4DA}\uFE0E"}async spiderInit(e=null){e!==null?this.jsBase=await js2Proxy(e,"img",this.getHeader()):this.jsBase=await js2Proxy(!0,this.siteType,this.siteKey,"img/",this.getHeader())}async init(e){await super.init(e),await this.spiderInit(null)}parseVodShortFromElement(e,n){let l=new Sl,r=e(n).find("a");return l.book_remarks=e(r[2]).text(),l.book_name=e(r[1]).text(),l.book_id=r[0].attribs.href,l.book_pic=e(n).find("img")[0].attribs.src,l}async parseVodShortListFromDoc(e){let n=[],l=e(e('[class="flex"]')[0]).find("li");for(let r of l){let i=this.parseVodShortFromElement(e,r);n.push(i)}return n}async parseVodShortListFromDocByCategory(e){let n=e("ul.flex > li"),l=[];for(let r of n){let i=new Sl;i.book_id=e(r).find("a:first")[0].attribs.href;let s=e(r).find("img:first")[0];i.book_name=s.attribs.title,i.book_pic=s.attribs["data-original"],i.book_remarks=e(e(r).find("em:first")).text(),l.push(i)}return l}async parseVodShortListFromDocBySearch(e){let n=[],l=e("li.searchresult");for(let r of l){let i=new Sl,s=e(r).find("a");i.book_remarks=e(s[2]).text(),i.book_name=e(s[1]).text(),i.book_id=s[0].attribs.href,i.book_pic=e(s[0]).find("img")[0].attribs["data-original"],n.push(i)}return n}async parseVodDetailFromDoc(e,n){let l=e.html(),r=new _i;r.book_name=e("[property$=title]")[0].attribs.content,r.book_year=e("[property$=update_time]")[0].attribs.content,r.book_director=e("[property$=autho
Line truncated
|
||||
|
||||
`;for(;;){let s=await this.getHtml(this.siteUrl+n);if(i+=h4(s('[class="content"]').html().trim().replaceAll("<p>"," ").replaceAll("</p>",`
|
||||
`)),n=s('[id="next_url"]')[0].attribs.href,n.indexOf("_")<0)break}this.playUrl={content:i}}async setSearch(e,n){let l={searchkey:e,searchtype:"all",Submit:""},r=await this.fetch(this.siteUrl+"/search/",l,this.getHeader()),i=He(r);this.vodList=await this.parseVodShortListFromDocBySearch(i)}async proxy(e,n){await this.jadeLog.debug(`\u6B63\u5728\u8BBE\u7F6E\u53CD\u5411\u4EE3\u7406 segments = ${e.join(",")},headers = ${JSON.stringify(n)}`);let l=e[0],r=E2(e[1]);if(l==="img"){await this.jadeLog.debug(`\u53CD\u5411\u4EE3\u7406ID\u4E3A:${r}`);let i=await this.getHtml(this.siteUrl+r),s=await this.parseVodDetailFromDoc(i),a;return B.isEmpty(n)?a=await req(s.book_pic,{buffer:2,headers:{Referer:r,"User-Agent":Jl}}):a=await req(s.book_pic,{buffer:2,headers:n}),JSON.stringify({code:a.code,buffer:2,content:a.content,headers:a.headers})}return JSON.stringify({code:500,content:""})}},Kn=new _T;var ET=class extends Ce{constructor(){super()}getName(){return Kn.getName()}getAppName(){return Kn.getAppName()}getJSName(){return Kn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await Kn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await Kn.initCookie(e.server.config.bilicookie),await Kn.spiderInit(e),Kn.cfgObj.code=0,Kn.catOpenStatus=!0,Kn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await Kn.setClasses(),this.classes=Kn.classes}async setFilterObj(){await Kn.setFilterObj(),this.filterObj=Kn.filterObj}async setHomeVod(){await Kn.setHomeVod(),this.homeVodList=Kn.homeVodList}async setCategory(e,n,l,r){await Kn.setCategory(e,n,l,r),this.vodList=Kn.vodList}async setDetail(e){await Kn.setDetail(e),this.vodDetail=Kn.vodDetail}async setPlay(e,n,l){await Kn.setPlay(e,n,l),this.playUrl=Kn.playUrl,this.result=Kn.result}async setSearch(e,n,l){await Kn.setSearch(e,n,l),this.vodList=Kn.vodList,this.result=Kn.result}async setProxy(e,n){return await Kn.proxy(e,n)}},Qa=new ET;async function mZ(t,e){return await Qa.init(t,e)}async function yZ(t,e){return await Qa.home(t,e)}async function $Oe(t,e){return await Qa.homeVod(t,e)}async function gZ(t,e){return await Qa.category(t,e)}async function vZ(t,e){return await Qa.detail(t,e)}async function _Z(t,e){return await Qa.play(t,e)}async function EZ(t,e){return await Qa.search(t,e)}async function BOe(t,e){return await Qa.proxy(t,e)}var bZ={meta:{key:Kn.getJSName(),name:Kn.getName(),type:Kn.getType()},api:async t=>{t.post("/init",mZ),t.post("/home",yZ),t.post("/category",gZ),t.post("/detail",vZ),t.post("/play",_Z),t.post("/search",EZ),t.get("/proxy/:what/:ids/:end",BOe)},spider:{init:mZ,home:yZ,homeVod:$Oe,category:gZ,detail:vZ,play:_Z,search:EZ}};function TZ(t){this._parameters={},this._loadParameters(t||{})}TZ.prototype={_loadParameters:function(t){t instanceof Array?this._loadParametersFromArray(t):typeof t=="object"&&this._loadParametersFromObject(t)},_loadParametersFromArray:function(t){var e;for(e=0;e<t.length;e++)this._loadParametersFromObject(t[e])},_loadParametersFromObject:function(t){var e;for(e in t)if(t.hasOwnProperty(e)){var n=this._getStringFromParameter(t[e]);this._loadParameterValue(e,n)}},_loadParameterValue:function(t,e){var n;if(e instanceof Array){for(n=0;n<e.length;n++){var l=this._getStringFromParameter(e[n]);this._addParameter(t,l)}e.length==0&&this._addParameter(t,"")}else this._addParameter(t,e)},_getStringFromParameter:function(t){var e=t||"";try{(typeof t=="number"||typeof t=="boolean")&&(e=t.toString())}catch{}return e},_addParameter:function(t,e){this._parameters[t]||(this._parameters[t]=[]),this._parameters[t].push(e)},get:function(){return this._parameters}};function HOe(t){return t?decodeURIComponent(t):""}function VOe(t){let e=[],n=[];for(let a in t)e.push(W6(a));e.sort();for(let a=0;a<e.length;a++){let u=e[a];var l,r,i=HOe(u),s=t[i];for(s.sort(),l=0;l<s.length;l++)r=W6(s[l]),n.push(u+"="+r)}return n.join("&")}function wZ(t=10){let e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n="";for(let l=0;l<t;l++)n+=e.charAt(Math.floor(Math.random()*e.length));return n}function W6(t){return t?encodeURIComponent(t).replace(/[!'()]/g,escape).replace(/\*/g,"%2A"):""}function SZ(t,e,n,l="f3ac5b086f3eab260520d8e3049561e6"){e=e.split("?")[0],e=e.startsWith("http")?e:"https://api.audiomack.com/v1"+e;let r=new TZ(n).get(),i=t.toUpperCase(),s=VOe(r),a=W6(i)+"&"+W6(e)+"&"+W6(s);return Ke.HmacSHA1(a,l+"&").toString(Ke.enc.Base64)}var bT=class extends Pe{constructor(){super(),this.siteUrl="https://api.audiomack.com/v1"}getName(){return"\u{1F3B5}\u2503\u97F3\u58F0\u2503\u{1F3B5}"}getAppName(){return"\u97F3\u58F0"}getJSName(){return"audiomack"}getType(){return 10}async parseVodShortListFromJson(e){let n=[];for(let l of e.results.playlists){let r=new Sl;r.book_id=l.id,r.book_pic=l.image,r.book_name=l.title,r.book_remarks=l.description,n.push(r)}return n}async setClasses(){this.
Line truncated
|
||||
`),this.playUrl={content:i}}},Xn=new bT;var wT=class extends Ce{constructor(){super()}getName(){return Xn.getName()}getAppName(){return Xn.getAppName()}getJSName(){return Xn.getJSName()}async init(e,n){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await Xn.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await Xn.initCookie(e.server.config.bilicookie),await Xn.spiderInit(e),Xn.cfgObj.code=0,Xn.catOpenStatus=!0,Xn.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,n)}async setClasses(){await Xn.setClasses(),this.classes=Xn.classes}async setFilterObj(){await Xn.setFilterObj(),this.filterObj=Xn.filterObj}async setHomeVod(){await Xn.setHomeVod(),this.homeVodList=Xn.homeVodList}async setCategory(e,n,l,r){await Xn.setCategory(e,n,l,r),this.vodList=Xn.vodList}async setDetail(e){await Xn.setDetail(e),this.vodDetail=Xn.vodDetail}async setPlay(e,n,l){await Xn.setPlay(e,n,l),this.playUrl=Xn.playUrl,this.result=Xn.result}async setSearch(e,n,l){await Xn.setSearch(e,n,l),this.vodList=Xn.vodList,this.result=Xn.result}async setProxy(e,n){return await Xn.proxy(e,n)}},Za=new wT;async function xZ(t,e){return await Za.init(t,e)}async function AZ(t,e){return await Za.home(t,e)}async function qOe(t,e){return await Za.homeVod(t,e)}async function OZ(t,e){return await Za.category(t,e)}async function NZ(t,e){return await Za.detail(t,e)}async function CZ(t,e){return await Za.play(t,e)}async function IZ(t,e){return await Za.search(t,e)}async function zOe(t,e){return await Za.proxy(t,e)}var RZ={meta:{key:Xn.getJSName(),name:Xn.getName(),type:Xn.getType()},api:async t=>{t.post("/init",xZ),t.post("/home",AZ),t.post("/category",OZ),t.post("/detail",NZ),t.post("/play",CZ),t.post("/search",IZ),t.get("/proxy/:what/:ids/:end",zOe)},spider:{init:xZ,home:AZ,homeVod:qOe,category:OZ,detail:NZ,play:CZ,search:IZ}};var TT=new pa("\u7F51\u76D8","DEBUG"),eu=async function(t,e={}){e.method=="POST"&&e.data&&(e.body=JSON.stringify(e.data),e.headers=Object.assign({"content-type":"application/json"},e.headers));let n=await req(t,e);return n.json=()=>{try{return JSON.parse(n.content)}catch{return{}}},n.text=()=>n.content,n};["get","post"].forEach(t=>{eu[t]=function(e,n={}){return eu(e,Object.assign(n,{method:t.toUpperCase()}))}});var Q6={},Y6={};async function ST(t){let e=t.indexOf("/",1),n=t.substring(1,e),l=t.substring(e);return{drives:await GOe(n),path:l}}async function GOe(t){let{settings:e,api:n,server:l}=Q6[t];if(e.v3==null){e.v3=!1;let r=(await eu.get(l+"/api/public/settings")).content,i=(await eu.get(l+"/api/public/settings")).json().data;Array.isArray(i)?(e.title=i.find(s=>s.key=="title")?.value,e.v3=!1,e.version=i.find(s=>s.key=="version")?.value,e.enableSearch=i.find(s=>s.key=="enable search")?.value=="true"):(e.title=i.title,e.v3=!0,e.version=i.version,e.enableSearch=!1),n.path=e.v3?"/api/fs/list":"/api/public/path",n.file=e.v3?"/api/fs/get":"/api/public/path",n.search=(e.v3,"/api/public/search"),n.other=e.v3?"/api/fs/other":null}return Q6[t]}async function kZ(t,e){return await TT.info(`\u7F51\u76D8\u521D\u59CB\u5316:${JSON.stringify(t.server.config.alist)}`),t.server.config.alist.forEach(n=>Q6[n.name]={name:n.name,server:n.server.endsWith("/")?n.server.substring(0,n.server.length-1):n.server,startPage:n.startPage||"/",showAll:n.showAll??!0,params:n.params||{},_path_param:n.params?Object.keys(n.params).sort(function(l,r){return r.length-l.length}):[],settings:{},api:{},getParams(l){let r=this._path_param.find(i=>l.startsWith(i));return Object.assign({},this.params[r],{path:l})},async getPath(l){let r=(await eu.post(this.server+this.api.path,{data:this.getParams(l)})).json();return this.settings.v3?r.data.content:r.data.files},async getFile(l){let r=(await eu.post(this.server+this.api.file,{data:this.getParams(l)})).json(),i=this.settings.v3?r.data:r.data.files[0];return this.settings.v3||(i.raw_url=i.url),i},async getOther(l,r){let i=this.getParams(r);return i.method=l,(await eu.post(this.server+this.api.other,{data:i})).json()},isFolder(l){return l.type==1},isVideo(l){return this.settings.v3?l.type==2||l.type===3:l.type==3},isSubtitle(l){return l.type==1?!1:[".srt",".ass",".scc",".stl",".ttml"].some(i=>l.name.endsWith(i))},getType(l){let r=this.isVideo(l);return this.isFolder(l)?0:r?10:1},getPic(l){return(this.settings.v3?l.thumb:l.thumbnail)||(this.isFolder(l)?"http://img1.3png.com/281e284a670865a71d91515866552b5f172b.png":"")},getSize(l){let r=l.size||0;if(r<=0)return"";let i="";return r>1024*1024*1024*1024?(r/=1024*1024*1024*1024,i="TB"):r>1024*1024*1024?(r/=1024*1024*1024,i="GB"):r>1024*1024?(r/=1024*1024,i="MB"):(r/=1024,i="KB"),r.toFixed(2)+i},getRemark(l){return""}}),{}}async function DZ(t,e){await TT.info(`\u7F51\u76D8\u5730\u5740\u4E3A:${t.body.path},\u9875\u6570\u4E3A:${t.body.page}`);let n=t.body.path,l=t.body.page||1;for(let f in Y6)delete Y6[f];if(l=l||1,l==0&&l==1,n==="/"||n===""){let f=Ob
Line truncated
|
||||
/*! Bundled license information:
|
||||
|
||||
uri-js/dist/es5/uri.all.js:
|
||||
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
e43e31c341faadffaf32e9291de6f60a
|
||||
6e80e0949dda51aad7ff06320e9a01f6
|
||||
+40
-40
@@ -2,31 +2,9 @@
|
||||
"video": {
|
||||
"sites": [
|
||||
{
|
||||
"key": "hanxiucao",
|
||||
"name": "🔞┃含羞草┃🔞",
|
||||
"api": "./js/hanxiucao.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "liangzi18",
|
||||
"name": "🔞┃量子资源18+┃🔞",
|
||||
"api": "./js/liangzi18.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "doll",
|
||||
"name": "🔞┃玩偶姐姐┃🔞",
|
||||
"api": "./js/doll.js",
|
||||
"key": "feifan18",
|
||||
"name": "🔞┃非凡资源18+┃🔞",
|
||||
"api": "./js/feifan18.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
@@ -46,9 +24,9 @@
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "jiujiuliu",
|
||||
"name": "🔞┃九九六影视┃🔞",
|
||||
"api": "./js/jiujiuliu.js",
|
||||
"key": "liangzi18",
|
||||
"name": "🔞┃量子资源18+┃🔞",
|
||||
"api": "./js/liangzi18.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
@@ -68,9 +46,9 @@
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "hscangku",
|
||||
"name": "🔞┃黄色仓库┃🔞",
|
||||
"api": "./js/hscangku.js",
|
||||
"key": "hanxiucao",
|
||||
"name": "🔞┃含羞草┃🔞",
|
||||
"api": "./js/hanxiucao.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
@@ -90,9 +68,20 @@
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "lovemovie18",
|
||||
"name": "🔞┃爱情电影网18+┃🔞",
|
||||
"api": "./js/lovemovie18.js",
|
||||
"key": "nivod_18",
|
||||
"name": "🔞┃泥视频18+┃🔞",
|
||||
"api": "./js/nivod_18.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "jiujiuliu",
|
||||
"name": "🔞┃九九六影视┃🔞",
|
||||
"api": "./js/jiujiuliu.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
@@ -112,9 +101,9 @@
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "nivod_18",
|
||||
"name": "🔞┃泥视频18+┃🔞",
|
||||
"api": "./js/nivod_18.js",
|
||||
"key": "hscangku",
|
||||
"name": "🔞┃黄色仓库┃🔞",
|
||||
"api": "./js/hscangku.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
@@ -123,9 +112,20 @@
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "feifan18",
|
||||
"name": "🔞┃非凡资源18+┃🔞",
|
||||
"api": "./js/feifan18.js",
|
||||
"key": "doll",
|
||||
"name": "🔞┃玩偶姐姐┃🔞",
|
||||
"api": "./js/doll.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "lovemovie18",
|
||||
"name": "🔞┃爱情电影网18+┃🔞",
|
||||
"api": "./js/lovemovie18.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
|
||||
+40
-40
@@ -1,31 +1,9 @@
|
||||
{
|
||||
"sites": [
|
||||
{
|
||||
"key": "hanxiucao",
|
||||
"name": "🔞┃含羞草┃🔞",
|
||||
"api": "./js/hanxiucao.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "liangzi18",
|
||||
"name": "🔞┃量子资源18+┃🔞",
|
||||
"api": "./js/liangzi18.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "doll",
|
||||
"name": "🔞┃玩偶姐姐┃🔞",
|
||||
"api": "./js/doll.js",
|
||||
"key": "feifan18",
|
||||
"name": "🔞┃非凡资源18+┃🔞",
|
||||
"api": "./js/feifan18.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
@@ -45,9 +23,9 @@
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "jiujiuliu",
|
||||
"name": "🔞┃九九六影视┃🔞",
|
||||
"api": "./js/jiujiuliu.js",
|
||||
"key": "liangzi18",
|
||||
"name": "🔞┃量子资源18+┃🔞",
|
||||
"api": "./js/liangzi18.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
@@ -67,9 +45,9 @@
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "hscangku",
|
||||
"name": "🔞┃黄色仓库┃🔞",
|
||||
"api": "./js/hscangku.js",
|
||||
"key": "hanxiucao",
|
||||
"name": "🔞┃含羞草┃🔞",
|
||||
"api": "./js/hanxiucao.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
@@ -89,9 +67,20 @@
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "lovemovie18",
|
||||
"name": "🔞┃爱情电影网18+┃🔞",
|
||||
"api": "./js/lovemovie18.js",
|
||||
"key": "nivod_18",
|
||||
"name": "🔞┃泥视频18+┃🔞",
|
||||
"api": "./js/nivod_18.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "jiujiuliu",
|
||||
"name": "🔞┃九九六影视┃🔞",
|
||||
"api": "./js/jiujiuliu.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
@@ -111,9 +100,9 @@
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "nivod_18",
|
||||
"name": "🔞┃泥视频18+┃🔞",
|
||||
"api": "./js/nivod_18.js",
|
||||
"key": "hscangku",
|
||||
"name": "🔞┃黄色仓库┃🔞",
|
||||
"api": "./js/hscangku.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
@@ -122,9 +111,20 @@
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "feifan18",
|
||||
"name": "🔞┃非凡资源18+┃🔞",
|
||||
"api": "./js/feifan18.js",
|
||||
"key": "doll",
|
||||
"name": "🔞┃玩偶姐姐┃🔞",
|
||||
"api": "./js/doll.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "lovemovie18",
|
||||
"name": "🔞┃爱情电影网18+┃🔞",
|
||||
"api": "./js/lovemovie18.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ import {Spider} from "./spider.js";
|
||||
class WoggSpider extends Spider {
|
||||
constructor() {
|
||||
super();
|
||||
this.siteUrl = 'https://www.wogg.xyz';
|
||||
this.siteUrl = 'https://www.wogg.net';
|
||||
this.woggTypeObj = {"玩偶电影":"电影","玩偶剧集":"电视剧"}
|
||||
}
|
||||
|
||||
|
||||
+242
-242
@@ -2,65 +2,9 @@
|
||||
"video": {
|
||||
"sites": [
|
||||
{
|
||||
"key": "haiwaikan",
|
||||
"name": "☕┃海外看┃☕墙",
|
||||
"api": "./js/haiwaikan.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "ikanbot",
|
||||
"name": "🤖┃爱看机器人┃🤖",
|
||||
"api": "./js/ikanbot.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "gitcafe",
|
||||
"name": "🦊┃阿里纸条┃🦊",
|
||||
"api": "./js/gitcafe.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen",
|
||||
"token": "51427b95ab9d47a6921a27951ebd3f1e"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "tiantian",
|
||||
"name": "⛄┃天天影视┃⛄",
|
||||
"api": "./js/tiantian.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "cntv",
|
||||
"name": "🤵♂️┃中央影视┃🤵♂️",
|
||||
"api": "./js/cntv.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "kuaikan",
|
||||
"name": "🛥︎┃快看视频┃🛥︎",
|
||||
"api": "./js/kuaikan.js",
|
||||
"key": "newvision",
|
||||
"name": "🐼┃新视觉影院┃🐼",
|
||||
"api": "./js/newvision.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
@@ -80,37 +24,12 @@
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "liangzi",
|
||||
"name": "🐝┃量子资源┃🐝",
|
||||
"api": "./js/liangzi.js",
|
||||
"key": "tiantian",
|
||||
"name": "⛄┃天天影视┃⛄",
|
||||
"api": "./js/tiantian.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen",
|
||||
"code": 0
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "changzhang",
|
||||
"name": "🏭️┃厂长直连┃🏭️",
|
||||
"api": "./js/changzhang.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen",
|
||||
"token": "51427b95ab9d47a6921a27951ebd3f1e"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "bilibili",
|
||||
"name": "🏰┃哔哩哔哩┃🏰",
|
||||
"api": "./js/bilibili.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen",
|
||||
"cookie": "buvid3=02675249-8ED3-C418-87F5-59E18316459714816infoc; b_nut=1704421014; _uuid=5D435F74-F574-D9AB-62C1-B9294DE465D913102infoc; buvid_fp=e8c5650c749398e9b5cad3f3ddb5081e; buvid4=007E85D1-52C1-7E6E-07CF-837FFBC9349516677-024010502-J5vTDSZDCw4fNnXRejbSVg%3D%3D; rpdid=|()kYJmulRu0J'u~|RRJl)JR; PVID=1; SESSDATA=3be091d3%2C1720332009%2C699ed%2A11CjAcCdwXG5kY1umhCOpQHOn_WP7L9xFBfWO7KKd4BPweodpR6VyIfeNyPiRmkr5jCqsSVjg0R0dZOVVHRUo3RnhPRTZFc3JPbGdiUjFCdHpiRDhiTkticmdKTjVyS1VhbDdvNjFMSDJlbUJydUlRdjFUNGFBNkJlV2ZTa0N1Q1BEVi1QYTQzTUh3IIEC; bili_jct=b0ee7b5d3f27df893545d811d95506d4; DedeUserID=78014638; DedeUserID__ckMd5=4c8c5d65065e468a; enable_web_push=DISABLE; header_theme_version=CLOSE; home_feed_column=5; CURRENT_BLACKGAP=0; CURRENT_FNVAL=4048; b_lsid=75E916AA_18EA1A8D995; bsource=search_baidu; FEED_LIVE_VERSION=V_HEADER_LIVE_NO_POP; browser_resolution=1507-691; bili_ticket=eyJhbGciOiJIUzI1NiIsImtpZCI6InMwMyIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MTIzNjk5MTMsImlhdCI6MTcxMjExMDY1MywicGx0IjotMX0.8zQW_fNTCSBlK_JkHnzu3gDw62wuTK1qgKcbGec3swM; bili_ticket_expires=171236985"
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
@@ -126,6 +45,28 @@
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "mp4movie",
|
||||
"name": "🍚┃Mp4电影┃🍚",
|
||||
"api": "./js/mp4movie.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "jianpian",
|
||||
"name": "🌼┃荐片┃🌼",
|
||||
"api": "./js/jianpian.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "alipansou",
|
||||
"name": "😸┃阿里猫狸┃😸",
|
||||
@@ -138,61 +79,6 @@
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "sp360",
|
||||
"name": "🥎┃360影视┃🥎",
|
||||
"api": "./js/sp360.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "mp4movie",
|
||||
"name": "🍚┃Mp4电影┃🍚",
|
||||
"api": "./js/mp4movie.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "douban",
|
||||
"name": "🍥┃豆瓣┃🍥",
|
||||
"api": "./js/douban.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "newvision",
|
||||
"name": "🐼┃新视觉影院┃🐼",
|
||||
"api": "./js/newvision.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "nangua",
|
||||
"name": "🎃┃南瓜影视┃🎃",
|
||||
"api": "./js/nangua.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "feifan",
|
||||
"name": "🥗┃非凡资源┃🥗",
|
||||
@@ -205,9 +91,9 @@
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "jianpian",
|
||||
"name": "🌼┃荐片┃🌼",
|
||||
"api": "./js/jianpian.js",
|
||||
"key": "huya",
|
||||
"name": "🐯┃虎牙直播┃🐯",
|
||||
"api": "./js/huya.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
@@ -216,9 +102,9 @@
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "aiyingshi",
|
||||
"name": "🚀┃爱影视┃🚀",
|
||||
"api": "./js/aiyingshi.js",
|
||||
"key": "star",
|
||||
"name": "☄️┃星视界┃墙☄️",
|
||||
"api": "./js/star.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
@@ -239,9 +125,9 @@
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "huya",
|
||||
"name": "🐯┃虎牙直播┃🐯",
|
||||
"api": "./js/huya.js",
|
||||
"key": "aiyingshi",
|
||||
"name": "🚀┃爱影视┃🚀",
|
||||
"api": "./js/aiyingshi.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
@@ -250,67 +136,9 @@
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "dygangs",
|
||||
"name": "🏖️┃电影港┃🏖️",
|
||||
"api": "./js/dygangs.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "wogg",
|
||||
"name": "💂┃阿里玩偶┃💂",
|
||||
"api": "./js/wogg.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen",
|
||||
"token": "51427b95ab9d47a6921a27951ebd3f1e"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "pan_search",
|
||||
"name": "🗂️┃阿里盘搜┃🗂️",
|
||||
"api": "./js/pan_search.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen",
|
||||
"token": "51427b95ab9d47a6921a27951ebd3f1e"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "aliyunpanshare",
|
||||
"name": "🥏┃阿里云盘分享┃🥏",
|
||||
"api": "./js/aliyunpanshare.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen",
|
||||
"token": "51427b95ab9d47a6921a27951ebd3f1e"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "lovemovie",
|
||||
"name": "💕┃爱情电影网┃💕",
|
||||
"api": "./js/lovemovie.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "cilixiong",
|
||||
"name": "🐻┃磁力熊┃🐻",
|
||||
"api": "./js/cilixiong.js",
|
||||
"key": "sp360",
|
||||
"name": "🥎┃360影视┃🥎",
|
||||
"api": "./js/sp360.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
@@ -329,6 +157,111 @@
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "cntv",
|
||||
"name": "🤵♂️┃中央影视┃🤵♂️",
|
||||
"api": "./js/cntv.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "douban",
|
||||
"name": "🍥┃豆瓣┃🍥",
|
||||
"api": "./js/douban.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "pan_search",
|
||||
"name": "🗂️┃阿里盘搜┃🗂️",
|
||||
"api": "./js/pan_search.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen",
|
||||
"token": "51427b95ab9d47a6921a27951ebd3f1e"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "liangzi",
|
||||
"name": "🐝┃量子资源┃🐝",
|
||||
"api": "./js/liangzi.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen",
|
||||
"code": 0
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "bilibili",
|
||||
"name": "🏰┃哔哩哔哩┃🏰",
|
||||
"api": "./js/bilibili.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen",
|
||||
"cookie": "buvid3=02675249-8ED3-C418-87F5-59E18316459714816infoc; b_nut=1704421014; _uuid=5D435F74-F574-D9AB-62C1-B9294DE465D913102infoc; buvid_fp=e8c5650c749398e9b5cad3f3ddb5081e; buvid4=007E85D1-52C1-7E6E-07CF-837FFBC9349516677-024010502-J5vTDSZDCw4fNnXRejbSVg%3D%3D; rpdid=|()kYJmulRu0J'u~|RRJl)JR; PVID=1; SESSDATA=3be091d3%2C1720332009%2C699ed%2A11CjAcCdwXG5kY1umhCOpQHOn_WP7L9xFBfWO7KKd4BPweodpR6VyIfeNyPiRmkr5jCqsSVjg0R0dZOVVHRUo3RnhPRTZFc3JPbGdiUjFCdHpiRDhiTkticmdKTjVyS1VhbDdvNjFMSDJlbUJydUlRdjFUNGFBNkJlV2ZTa0N1Q1BEVi1QYTQzTUh3IIEC; bili_jct=b0ee7b5d3f27df893545d811d95506d4; DedeUserID=78014638; DedeUserID__ckMd5=4c8c5d65065e468a; enable_web_push=DISABLE; header_theme_version=CLOSE; home_feed_column=5; CURRENT_BLACKGAP=0; CURRENT_FNVAL=4048; b_lsid=75E916AA_18EA1A8D995; bsource=search_baidu; FEED_LIVE_VERSION=V_HEADER_LIVE_NO_POP; browser_resolution=1507-691; bili_ticket=eyJhbGciOiJIUzI1NiIsImtpZCI6InMwMyIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MTIzNjk5MTMsImlhdCI6MTcxMjExMDY1MywicGx0IjotMX0.8zQW_fNTCSBlK_JkHnzu3gDw62wuTK1qgKcbGec3swM; bili_ticket_expires=171236985"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "changzhang",
|
||||
"name": "🏭️┃厂长直连┃🏭️",
|
||||
"api": "./js/changzhang.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen",
|
||||
"token": "51427b95ab9d47a6921a27951ebd3f1e"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "wogg",
|
||||
"name": "💂┃阿里玩偶┃💂",
|
||||
"api": "./js/wogg.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen",
|
||||
"token": "51427b95ab9d47a6921a27951ebd3f1e"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "nangua",
|
||||
"name": "🎃┃南瓜影视┃🎃",
|
||||
"api": "./js/nangua.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "aliyunpanshare",
|
||||
"name": "🥏┃阿里云盘分享┃🥏",
|
||||
"api": "./js/aliyunpanshare.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen",
|
||||
"token": "51427b95ab9d47a6921a27951ebd3f1e"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "dubo",
|
||||
"name": "🛶┃独播影视┃🛶",
|
||||
@@ -341,9 +274,76 @@
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "star",
|
||||
"name": "☄️┃星视界┃墙☄️",
|
||||
"api": "./js/star.js",
|
||||
"key": "haiwaikan",
|
||||
"name": "☕┃海外看┃☕墙",
|
||||
"api": "./js/haiwaikan.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "dygangs",
|
||||
"name": "🏖️┃电影港┃🏖️",
|
||||
"api": "./js/dygangs.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "ikanbot",
|
||||
"name": "🤖┃爱看机器人┃🤖",
|
||||
"api": "./js/ikanbot.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "cilixiong",
|
||||
"name": "🐻┃磁力熊┃🐻",
|
||||
"api": "./js/cilixiong.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "lovemovie",
|
||||
"name": "💕┃爱情电影网┃💕",
|
||||
"api": "./js/lovemovie.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "gitcafe",
|
||||
"name": "🦊┃阿里纸条┃🦊",
|
||||
"api": "./js/gitcafe.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen",
|
||||
"token": "51427b95ab9d47a6921a27951ebd3f1e"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "kuaikan",
|
||||
"name": "🛥︎┃快看视频┃🛥︎",
|
||||
"api": "./js/kuaikan.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
@@ -355,6 +355,16 @@
|
||||
},
|
||||
"read": {
|
||||
"sites": [
|
||||
{
|
||||
"key": "liujiushu",
|
||||
"name": "📚︎┃六九书吧┃📚︎",
|
||||
"api": "./js/liujiushu.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"type": 10
|
||||
},
|
||||
{
|
||||
"key": "dj0898_book_open",
|
||||
"name": "🎵┃世纪DJ音乐网┃🎵",
|
||||
@@ -365,26 +375,6 @@
|
||||
},
|
||||
"type": 10
|
||||
},
|
||||
{
|
||||
"key": "ttkan",
|
||||
"name": "📚︎┃天天看小说┃📚︎",
|
||||
"api": "./js/ttkan.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"type": 10
|
||||
},
|
||||
{
|
||||
"key": "bookan",
|
||||
"name": "🎵┃看书┃🎵",
|
||||
"api": "./js/bookan.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"type": 10
|
||||
},
|
||||
{
|
||||
"key": "bqg_open",
|
||||
"name": "📚︎┃笔趣阁┃📚︎",
|
||||
@@ -396,9 +386,9 @@
|
||||
"type": 10
|
||||
},
|
||||
{
|
||||
"key": "liujiushu",
|
||||
"name": "📚︎┃六九书吧┃📚︎",
|
||||
"api": "./js/liujiushu.js",
|
||||
"key": "audiomack",
|
||||
"name": "🎵┃音声┃🎵",
|
||||
"api": "./js/audiomack.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
@@ -406,9 +396,19 @@
|
||||
"type": 10
|
||||
},
|
||||
{
|
||||
"key": "audiomack",
|
||||
"name": "🎵┃音声┃🎵",
|
||||
"api": "./js/audiomack.js",
|
||||
"key": "bookan",
|
||||
"name": "🎵┃看书┃🎵",
|
||||
"api": "./js/bookan.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
},
|
||||
"type": 10
|
||||
},
|
||||
{
|
||||
"key": "ttkan",
|
||||
"name": "📚︎┃天天看小说┃📚︎",
|
||||
"api": "./js/ttkan.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "CatOpen"
|
||||
|
||||
+216
-216
@@ -1,65 +1,9 @@
|
||||
{
|
||||
"sites": [
|
||||
{
|
||||
"key": "haiwaikan",
|
||||
"name": "☕┃海外看┃☕墙",
|
||||
"api": "./js/haiwaikan.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "ikanbot",
|
||||
"name": "🤖┃爱看机器人┃🤖",
|
||||
"api": "./js/ikanbot.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "gitcafe",
|
||||
"name": "🦊┃阿里纸条┃🦊",
|
||||
"api": "./js/gitcafe.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox",
|
||||
"token": "51427b95ab9d47a6921a27951ebd3f1e"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "tiantian",
|
||||
"name": "⛄┃天天影视┃⛄",
|
||||
"api": "./js/tiantian.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "cntv",
|
||||
"name": "🤵♂️┃中央影视┃🤵♂️",
|
||||
"api": "./js/cntv.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "kuaikan",
|
||||
"name": "🛥︎┃快看视频┃🛥︎",
|
||||
"api": "./js/kuaikan.js",
|
||||
"key": "newvision",
|
||||
"name": "🐼┃新视觉影院┃🐼",
|
||||
"api": "./js/newvision.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
@@ -79,37 +23,12 @@
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "liangzi",
|
||||
"name": "🐝┃量子资源┃🐝",
|
||||
"api": "./js/liangzi.js",
|
||||
"key": "tiantian",
|
||||
"name": "⛄┃天天影视┃⛄",
|
||||
"api": "./js/tiantian.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox",
|
||||
"code": 0
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "changzhang",
|
||||
"name": "🏭️┃厂长直连┃🏭️",
|
||||
"api": "./js/changzhang.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox",
|
||||
"token": "51427b95ab9d47a6921a27951ebd3f1e"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "bilibili",
|
||||
"name": "🏰┃哔哩哔哩┃🏰",
|
||||
"api": "./js/bilibili.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox",
|
||||
"cookie": "buvid3=02675249-8ED3-C418-87F5-59E18316459714816infoc; b_nut=1704421014; _uuid=5D435F74-F574-D9AB-62C1-B9294DE465D913102infoc; buvid_fp=e8c5650c749398e9b5cad3f3ddb5081e; buvid4=007E85D1-52C1-7E6E-07CF-837FFBC9349516677-024010502-J5vTDSZDCw4fNnXRejbSVg%3D%3D; rpdid=|()kYJmulRu0J'u~|RRJl)JR; PVID=1; SESSDATA=3be091d3%2C1720332009%2C699ed%2A11CjAcCdwXG5kY1umhCOpQHOn_WP7L9xFBfWO7KKd4BPweodpR6VyIfeNyPiRmkr5jCqsSVjg0R0dZOVVHRUo3RnhPRTZFc3JPbGdiUjFCdHpiRDhiTkticmdKTjVyS1VhbDdvNjFMSDJlbUJydUlRdjFUNGFBNkJlV2ZTa0N1Q1BEVi1QYTQzTUh3IIEC; bili_jct=b0ee7b5d3f27df893545d811d95506d4; DedeUserID=78014638; DedeUserID__ckMd5=4c8c5d65065e468a; enable_web_push=DISABLE; header_theme_version=CLOSE; home_feed_column=5; CURRENT_BLACKGAP=0; CURRENT_FNVAL=4048; b_lsid=75E916AA_18EA1A8D995; bsource=search_baidu; FEED_LIVE_VERSION=V_HEADER_LIVE_NO_POP; browser_resolution=1507-691; bili_ticket=eyJhbGciOiJIUzI1NiIsImtpZCI6InMwMyIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MTIzNjk5MTMsImlhdCI6MTcxMjExMDY1MywicGx0IjotMX0.8zQW_fNTCSBlK_JkHnzu3gDw62wuTK1qgKcbGec3swM; bili_ticket_expires=171236985"
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
@@ -125,6 +44,28 @@
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "mp4movie",
|
||||
"name": "🍚┃Mp4电影┃🍚",
|
||||
"api": "./js/mp4movie.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "jianpian",
|
||||
"name": "🌼┃荐片┃🌼",
|
||||
"api": "./js/jianpian.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "alipansou",
|
||||
"name": "😸┃阿里猫狸┃😸",
|
||||
@@ -137,61 +78,6 @@
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "sp360",
|
||||
"name": "🥎┃360影视┃🥎",
|
||||
"api": "./js/sp360.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "mp4movie",
|
||||
"name": "🍚┃Mp4电影┃🍚",
|
||||
"api": "./js/mp4movie.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "douban",
|
||||
"name": "🍥┃豆瓣┃🍥",
|
||||
"api": "./js/douban.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "newvision",
|
||||
"name": "🐼┃新视觉影院┃🐼",
|
||||
"api": "./js/newvision.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "nangua",
|
||||
"name": "🎃┃南瓜影视┃🎃",
|
||||
"api": "./js/nangua.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "feifan",
|
||||
"name": "🥗┃非凡资源┃🥗",
|
||||
@@ -204,9 +90,9 @@
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "jianpian",
|
||||
"name": "🌼┃荐片┃🌼",
|
||||
"api": "./js/jianpian.js",
|
||||
"key": "huya",
|
||||
"name": "🐯┃虎牙直播┃🐯",
|
||||
"api": "./js/huya.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
@@ -215,9 +101,9 @@
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "aiyingshi",
|
||||
"name": "🚀┃爱影视┃🚀",
|
||||
"api": "./js/aiyingshi.js",
|
||||
"key": "star",
|
||||
"name": "☄️┃星视界┃墙☄️",
|
||||
"api": "./js/star.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
@@ -238,9 +124,9 @@
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "huya",
|
||||
"name": "🐯┃虎牙直播┃🐯",
|
||||
"api": "./js/huya.js",
|
||||
"key": "aiyingshi",
|
||||
"name": "🚀┃爱影视┃🚀",
|
||||
"api": "./js/aiyingshi.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
@@ -249,67 +135,9 @@
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "dygangs",
|
||||
"name": "🏖️┃电影港┃🏖️",
|
||||
"api": "./js/dygangs.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "wogg",
|
||||
"name": "💂┃阿里玩偶┃💂",
|
||||
"api": "./js/wogg.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox",
|
||||
"token": "51427b95ab9d47a6921a27951ebd3f1e"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "pan_search",
|
||||
"name": "🗂️┃阿里盘搜┃🗂️",
|
||||
"api": "./js/pan_search.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox",
|
||||
"token": "51427b95ab9d47a6921a27951ebd3f1e"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "aliyunpanshare",
|
||||
"name": "🥏┃阿里云盘分享┃🥏",
|
||||
"api": "./js/aliyunpanshare.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox",
|
||||
"token": "51427b95ab9d47a6921a27951ebd3f1e"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "lovemovie",
|
||||
"name": "💕┃爱情电影网┃💕",
|
||||
"api": "./js/lovemovie.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "cilixiong",
|
||||
"name": "🐻┃磁力熊┃🐻",
|
||||
"api": "./js/cilixiong.js",
|
||||
"key": "sp360",
|
||||
"name": "🥎┃360影视┃🥎",
|
||||
"api": "./js/sp360.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
@@ -328,6 +156,111 @@
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "cntv",
|
||||
"name": "🤵♂️┃中央影视┃🤵♂️",
|
||||
"api": "./js/cntv.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "douban",
|
||||
"name": "🍥┃豆瓣┃🍥",
|
||||
"api": "./js/douban.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "pan_search",
|
||||
"name": "🗂️┃阿里盘搜┃🗂️",
|
||||
"api": "./js/pan_search.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox",
|
||||
"token": "51427b95ab9d47a6921a27951ebd3f1e"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "liangzi",
|
||||
"name": "🐝┃量子资源┃🐝",
|
||||
"api": "./js/liangzi.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox",
|
||||
"code": 0
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "bilibili",
|
||||
"name": "🏰┃哔哩哔哩┃🏰",
|
||||
"api": "./js/bilibili.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox",
|
||||
"cookie": "buvid3=02675249-8ED3-C418-87F5-59E18316459714816infoc; b_nut=1704421014; _uuid=5D435F74-F574-D9AB-62C1-B9294DE465D913102infoc; buvid_fp=e8c5650c749398e9b5cad3f3ddb5081e; buvid4=007E85D1-52C1-7E6E-07CF-837FFBC9349516677-024010502-J5vTDSZDCw4fNnXRejbSVg%3D%3D; rpdid=|()kYJmulRu0J'u~|RRJl)JR; PVID=1; SESSDATA=3be091d3%2C1720332009%2C699ed%2A11CjAcCdwXG5kY1umhCOpQHOn_WP7L9xFBfWO7KKd4BPweodpR6VyIfeNyPiRmkr5jCqsSVjg0R0dZOVVHRUo3RnhPRTZFc3JPbGdiUjFCdHpiRDhiTkticmdKTjVyS1VhbDdvNjFMSDJlbUJydUlRdjFUNGFBNkJlV2ZTa0N1Q1BEVi1QYTQzTUh3IIEC; bili_jct=b0ee7b5d3f27df893545d811d95506d4; DedeUserID=78014638; DedeUserID__ckMd5=4c8c5d65065e468a; enable_web_push=DISABLE; header_theme_version=CLOSE; home_feed_column=5; CURRENT_BLACKGAP=0; CURRENT_FNVAL=4048; b_lsid=75E916AA_18EA1A8D995; bsource=search_baidu; FEED_LIVE_VERSION=V_HEADER_LIVE_NO_POP; browser_resolution=1507-691; bili_ticket=eyJhbGciOiJIUzI1NiIsImtpZCI6InMwMyIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MTIzNjk5MTMsImlhdCI6MTcxMjExMDY1MywicGx0IjotMX0.8zQW_fNTCSBlK_JkHnzu3gDw62wuTK1qgKcbGec3swM; bili_ticket_expires=171236985"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "changzhang",
|
||||
"name": "🏭️┃厂长直连┃🏭️",
|
||||
"api": "./js/changzhang.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox",
|
||||
"token": "51427b95ab9d47a6921a27951ebd3f1e"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "wogg",
|
||||
"name": "💂┃阿里玩偶┃💂",
|
||||
"api": "./js/wogg.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox",
|
||||
"token": "51427b95ab9d47a6921a27951ebd3f1e"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "nangua",
|
||||
"name": "🎃┃南瓜影视┃🎃",
|
||||
"api": "./js/nangua.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "aliyunpanshare",
|
||||
"name": "🥏┃阿里云盘分享┃🥏",
|
||||
"api": "./js/aliyunpanshare.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox",
|
||||
"token": "51427b95ab9d47a6921a27951ebd3f1e"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "dubo",
|
||||
"name": "🛶┃独播影视┃🛶",
|
||||
@@ -340,9 +273,76 @@
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "star",
|
||||
"name": "☄️┃星视界┃墙☄️",
|
||||
"api": "./js/star.js",
|
||||
"key": "haiwaikan",
|
||||
"name": "☕┃海外看┃☕墙",
|
||||
"api": "./js/haiwaikan.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "dygangs",
|
||||
"name": "🏖️┃电影港┃🏖️",
|
||||
"api": "./js/dygangs.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "ikanbot",
|
||||
"name": "🤖┃爱看机器人┃🤖",
|
||||
"api": "./js/ikanbot.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "cilixiong",
|
||||
"name": "🐻┃磁力熊┃🐻",
|
||||
"api": "./js/cilixiong.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "lovemovie",
|
||||
"name": "💕┃爱情电影网┃💕",
|
||||
"api": "./js/lovemovie.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "gitcafe",
|
||||
"name": "🦊┃阿里纸条┃🦊",
|
||||
"api": "./js/gitcafe.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox",
|
||||
"token": "51427b95ab9d47a6921a27951ebd3f1e"
|
||||
},
|
||||
"playerType": 0,
|
||||
"type": 3
|
||||
},
|
||||
{
|
||||
"key": "kuaikan",
|
||||
"name": "🛥︎┃快看视频┃🛥︎",
|
||||
"api": "./js/kuaikan.js",
|
||||
"timeout": 30,
|
||||
"ext": {
|
||||
"box": "TVBox"
|
||||
|
||||
+3
-3
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"spider":"./jar/fan.txt;md5;a4def97541fafa5558b6182c1326c9b0",
|
||||
"spider":"./jar/fan.txt;md5;f4a9956bae884c4a952da9152c0ed446",
|
||||
"lives":[{"name":"live","type":0,"url":"./tv.txt","playerType":1,"ua":"okhttp/3.15","timeout":20,"epg":"https://epg.112114.xyz/?ch={name}&date={date}","logo":"https://logo.tycng.com/{name}.png"}],
|
||||
"wallpaper":"https://qist.cc/api/api.php",
|
||||
"sites":[
|
||||
@@ -14,7 +14,7 @@
|
||||
{"key":"视觉","name":"👓视觉┃多线","type":3,"api":"csp_Xinsj","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://www.80yy3.com/"},
|
||||
{"key":"南瓜","name":"🎃南瓜┃多线","type":3,"api":"csp_NanGua","timeout":15,"playerType":2,"searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"苹果","name":"🍎苹果┃不卡","type":3,"api":"csp_LiteApple","searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"原创","name":"☀原创┃无广","type":3,"api":"csp_YCyz","timeout":15,"searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"原创","name":"☀原创┃不卡","type":3,"api":"csp_YCyz","timeout":15,"searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"厂长","name":"📔厂长┃不卡","type":3,"api":"csp_NewCz","timeout":15,"playerType":2,"searchable":1,"quickSearch":1,"changeable":1,"ext": "https://www.czys.top/"},
|
||||
{"key":"糯米","name":"🍙糯米┃秒播","type":3,"api":"csp_Nmys","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"./FTY/nmys.json"},
|
||||
{"key":"小点","name":"💥小点┃多线","type":3,"api":"csp_Xdys","searchable":1,"quickSearch":1,"filterable":1,"changeable":0},
|
||||
@@ -25,7 +25,7 @@
|
||||
{"key":"低端","name":"⏮️低端┃外剧","type":3,"api":"csp_Ddrk","playerType":"2","searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"毛驴","name":"🍓毛驴┃多线","type":3,"api":"csp_MLYS","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://www.maolvys.com/"},
|
||||
{"key":"比特","name":"🍄比特┃秒播","type":3,"api":"csp_Bttwoo","searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"Lib","name": "🌟立播┃无广","type": 3,"api": "csp_Libvio","timeout":15,"searchable": 1,"quickSearch": 1,"changeable":1,"ext":"https://www.libvio.pw/"},
|
||||
{"key":"Lib","name": "🌟立播┃不卡","type": 3,"api": "csp_Libvio","timeout":15,"searchable": 1,"quickSearch": 1,"changeable":1,"ext":"https://www.libvio.pw/"},
|
||||
{"key":"Auete","name":"🏝奥特┃无广","type": 3,"api":"csp_Auete","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://auete.pro/"},
|
||||
{"key":"新6V","name":"🧲新6V┃磁力","type":3,"api":"csp_SixV","searchable":1,"quickSearch":1,"changeable":0,"ext": "http://www.xb6v.com/"},
|
||||
{"key":"Dm84","name":"🚌巴士┃动漫","type":3,"api":"csp_Dm84","searchable":1,"quickSearch":1,"changeable":1},
|
||||
|
||||
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"spider":"./jar/pg.jar;md5;8ac13fa2b75afe3efe5092bcbdf9dd14",
|
||||
"spider":"./jar/pg.jar;md5;14e387f88dc499eb4bf3a0d68ac373c6",
|
||||
"lives":[
|
||||
{"name":"live","type":0,"url":"./tvlive.txt","playerType":1,"ua":"okhttp/3.15","epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo":"https://epg.112114.xyz/logo/{name}.png"},
|
||||
{"name":"Ray","type":0,"url":"https://github.moeyy.xyz/https://raw.githubusercontent.com/dxawi/0/main/tvlive.txt","playerType":1,"ua":"okhttp/3.15","epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo":"https://epg.112114.xyz/logo/{name}.png"}
|
||||
@@ -50,6 +50,7 @@
|
||||
{"key":"Wo4k","name":"弹幕 | 玩偶4k[jar]","type":3,"api":"csp_Wo4k","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.wo4k.com/$$$proxy$$$1$$$./wogg.json"},
|
||||
{"key":"Xpanpan","name":"弹幕 | 小盘盘[jar]","type":3,"api":"csp_Xpanpan","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://xpanpan.site$$$null$$$1"},
|
||||
{"key":"Gaoqing","name":"弹幕 | 高清网[jar]","type":3,"api":"csp_Gaoqing","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"./lib/tokenm.json$$$https://gaoqing.la/$$$proxy$$$1"},
|
||||
{"key":"音范丝","name":"弹幕 | 音范丝[jar]","type":3,"api":"csp_Gaoqing","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$https://www.yinfans.me/$$$proxy$$$1"},
|
||||
|
||||
{"key":"YingSo","name":"磁力 | 影搜[jar]","type":3,"api":"csp_YingSo","timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json$$$1"},
|
||||
{"key":"盘友圈","name":"网盘 | 盘友圈","type":3,"api":"csp_Panyq","timeout":60, "ext":"http://127.0.0.1:9978/file/TV/token.json"},
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"spider":"./jar/fan.txt;md5;a4def97541fafa5558b6182c1326c9b0",
|
||||
"spider":"./jar/fan.txt;md5;f4a9956bae884c4a952da9152c0ed446",
|
||||
"lives":[
|
||||
{"name":"live","type":0,"url":"https://epg.pw/test_channels.m3u","playerType":1,"ua":"okhttp/3.15","timeout":20,"epg":"https://epg.112114.xyz/?ch={name}&date={date}","logo":"https://epg.112114.xyz/logo/{name}.png"},
|
||||
{"name":"ipv6","type":0,"url":"./tvboxtv.txt","playerType":1,"ua":"okhttp/3.15","timeout":20,"epg":"https://epg.112114.xyz/?ch={name}&date={date}","logo":"https://epg.112114.xyz/logo/{name}.png"}
|
||||
@@ -17,7 +17,7 @@
|
||||
{"key":"视觉","name":"👓视觉┃多线","type":3,"api":"csp_Xinsj","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://www.80yy3.com/"},
|
||||
{"key":"南瓜","name":"🎃南瓜┃多线","type":3,"api":"csp_NanGua","timeout":15,"playerType":2,"searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"苹果","name":"🍎苹果┃不卡","type":3,"api":"csp_LiteApple","searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"原创","name":"☀原创┃无广","type":3,"api":"csp_YCyz","timeout":15,"searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"原创","name":"☀原创┃不卡","type":3,"api":"csp_YCyz","timeout":15,"searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"厂长","name":"📔厂长┃不卡","type":3,"api":"csp_NewCz","timeout":15,"playerType":2,"searchable":1,"quickSearch":1,"changeable":1,"ext": "https://www.czys.top/"},
|
||||
{"key":"糯米","name":"🍙糯米┃秒播","type":3,"api":"csp_Nmys","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"./FTY/nmys.json"},
|
||||
{"key":"小点","name":"💥小点┃多线","type":3,"api":"csp_Xdys","searchable":1,"quickSearch":1,"filterable":1,"changeable":0},
|
||||
@@ -28,7 +28,7 @@
|
||||
{"key":"低端","name":"⏮️低端┃外剧","type":3,"api":"csp_Ddrk","playerType":"2","searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"毛驴","name":"🍓毛驴┃多线","type":3,"api":"csp_MLYS","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://www.maolvys.com/"},
|
||||
{"key":"比特","name":"🍄比特┃秒播","type":3,"api":"csp_Bttwoo","searchable":1,"quickSearch":1,"changeable":1},
|
||||
{"key":"Lib","name": "🌟立播┃无广","type": 3,"api": "csp_Libvio","timeout":15,"searchable": 1,"quickSearch": 1,"changeable":1,"ext":"https://www.libvio.pw/"},
|
||||
{"key":"Lib","name": "🌟立播┃不卡","type": 3,"api": "csp_Libvio","timeout":15,"searchable": 1,"quickSearch": 1,"changeable":1,"ext":"https://www.libvio.pw/"},
|
||||
{"key":"Auete","name":"🏝奥特┃无广","type": 3,"api":"csp_Auete","timeout":15,"searchable":1,"quickSearch":1,"changeable":1,"ext":"https://auete.pro/"},
|
||||
{"key":"新6V","name":"🧲新6V┃磁力","type":3,"api":"csp_SixV","searchable":1,"quickSearch":1,"changeable":0,"ext": "http://www.xb6v.com/"},
|
||||
{"key":"Dm84","name":"🚌巴士┃动漫","type":3,"api":"csp_Dm84","searchable":1,"quickSearch":1,"changeable":1},
|
||||
|
||||
Reference in new issue
Block a user