diff --git a/0821.json b/0821.json index eb0e75b1..264e7af4 100644 --- a/0821.json +++ b/0821.json @@ -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"}, diff --git a/0825.json b/0825.json index 0a568b8c..43fdd07c 100644 --- a/0825.json +++ b/0825.json @@ -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}, @@ -165,4 +166,4 @@ {"name":"毛驢點擊","hosts":["www.maolvys.com"],"script":["document.getElementsByClassName('swal-buttonswal-button--confirm')[0].click()"]} ], "ads":["static-mozai.4gtv.tv","s3t3d2y8.afcdn.net"] -} +} \ No newline at end of file diff --git a/0826.json b/0826.json index 62f64d6a..432deb03 100644 --- a/0826.json +++ b/0826.json @@ -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/"}, diff --git a/0827.json b/0827.json index e5586322..d4dc56bd 100644 --- a/0827.json +++ b/0827.json @@ -1,5 +1,5 @@ { - "spider": "./jar/custom_spider.jar;md5;2dd1047cb29daf7d351201a1cca49ae5", + "spider": "./jar/custom_spider.jar;md5;ab9462dae7ab186527c41a163641cf14", "wallpaper": "http://饭太硬.top/深色壁纸/api.php", "sites": [ { diff --git a/9918.json b/9918.json index 5680b170..da1482f2 100644 --- a/9918.json +++ b/9918.json @@ -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,7 +28,9 @@ {"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": "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": "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"}, {"key":"泥巴","name":"泥巴","type":3,"api":"csp_NiNi","searchable":1,"ext":"1"}, diff --git a/cat/18_dist/index.js b/cat/18_dist/index.js index eb881b65..f8350f60 100644 --- a/cat/18_dist/index.js +++ b/cat/18_dist/index.js @@ -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{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:async function(n,e,l){await sEe(n,e,l)}};async function iEe(n,e){let l="/js_"+n+`/${e}/`;return await dataBase.getObjectDefault(l,{})}async function sEe(n,e,l){let t="/js_"+n;zb=await dataBase.getObjectDefault(t,{}),zb[e]=l,n==="log"&&await req("http://127.0.0.1:8099/upload",{data:{log:l+` `},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.length0?!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.messageToDart({action:"sniff",opt:{url:r,timeout:6e4,rule:"http((?!http).){12,}?\\.m3u8?"}});if(u&&u.url){let a={};u.headers&&(u.headers["user-agent"]&&(a["User-Agent"]=u.headers["user-agent"]),u.headers.referer&&(a.Referer=u.headers.referer)),await this.jadeLog.debug(`\u55C5\u63A2\u6210\u529F,\u64AD\u653E\u8FDE\u63A5\u4E3A:${u.url}`),s=JSON.stringify({parse:0,url:u.url,header:u.headers,jx:"0"})}else await this.jadeLog.error("\u89E3\u6790\u5931\u8D25,\u65E0\u6CD5\u55C5\u63A2\u5230\u64AD\u653E\u8FDE\u63A5"),s=JSON.stringify({parse:0,url:"",jx:"0"})}else s=this.result.play(this.playUrl);return await this.jadeLog.info("\u64AD\u653E\u9875\u9762\u89E3\u6790\u5B8C\u6210",!0),await this.jadeLog.debug(`\u64AD\u653E\u9875\u9762\u5185\u5BB9\u4E3A:${s}`),s}catch(s){await this.jadeLog.error("\u89E3\u6790\u64AD\u653E\u9875\u9762\u51FA\u9519,\u5931\u8D25\u539F\u56E0\u4E3A:"+s)}}async search(e,l){let t=e.body.page,r=e.body.wd,i=!0;return this.vodList=[],await this.jadeLog.info(`\u6B63\u5728\u89E3\u6790\u641C\u7D22\u9875\u9762,\u5173\u952E\u8BCD\u4E3A = ${r},quick = ${i},pg = ${t}`),await this.setSearch(r,i,t),this.vodList.length===0&&r.indexOf(" ")>-1&&(await this.jadeLog.debug(`\u641C\u7D22\u5173\u952E\u8BCD\u4E3A:${r},\u5176\u4E2D\u6709\u7A7A\u683C,\u53BB\u9664\u7A7A\u683C\u5728\u641C\u7D22\u4E00\u6B21`),await this.search(r.replaceAll(" ","").replaceAll("?",""),i)),await this.jadeLog.debug(`\u641C\u7D22\u9875\u9762\u5185\u5BB9\u4E3A:${this.result.search(this.vodList)}`),await this.jadeLog.info("\u641C\u7D22\u9875\u9762\u89E3\u6790\u5B8C\u6210",!0),this.result.search(this.vodList)}async proxy(e,l){try{let t=e.params.what,r={};try{r=JSON.parse(e.params.ids)}catch{}let i=decodeURIComponent(e.params.end),s=JSON.parse(await this.setProxy([t,i],r));return t==="dash"?(await this.jadeLog.debug(`dash:${JSON.stringify(s)}`),l.code(s.code).headers(s.headers),s.content):s.code===200?(l.code(s.code).headers(s.headers),Buffer.from(s.content,"base64")):(l.code(500),"")}catch(t){await this.jadeLog.error(`\u4EE3\u7406\u56DE\u8C03\u5931\u8D25,\u5931\u8D25\u539F\u56E0\u4E3A:${t}`)}}};function OG(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 pEe(){let n=new Date;return OG(parseInt(n.getTime()/1e3)+n.getTimezoneOffset()*60+-1)}function dEe(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 Gb=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){await super.init(e),this.danmuStaus=!0,await this.spiderInit(null)}getAppName(){return"\u542B\u7F9E\u8349"}getName(){return"\u{1F51E}\u2503\u542B\u7F9E\u8349\u2503\u{1F51E}"}getJSName(){return"hanxiucao"}getType(){return 3}getParams(e){return{endata:OG(JSON.stringify(e)),ents:pEe()}}async setClasses(){let e=this.getParams({channel:"pc"}),l=await this.post(this.siteUrl+"/panel/list",e,this.getHeader(),""),t=JSON.parse(l);for(let r of t.data.list){let i=r.panelId,s=r.panelName;s!=="\u9996\u9875"&&this.classes.push(this.getTypeDic(s,i))}}async getFilter(e){let l=[];for(let t of e){let r=JSON.parse(t.layoutContent);for(let i of r.sortKeys){let s={};i.label!=="\u7EFC\u5408\u6392\u5E8F"?(s={key:"sorts",name:i.label.toString(),value:[]},s.value.push({n:"\u5347\u5E8F",v:i.value.toString()+"-\u5347\u5E8F"}),s.value.push({n:"\u964D\u5E8F",v:i.value.toString()+"-\u964D\u5E8F"})):(s={key:"sorts",name:"\u6392\u5E8F",value:[]},s.value.push({n:i.label.toString(),v:i.value.toString()})),l.push(s)}}return l}async getNvYouFilter(e){let l=[],t={uids:[],page:1,length:20};for(let i=0;i174&&t<181){let p=JSON.parse(a.data.info.Layouts[0].layoutContent);t=t+"$"+JSON.stringify(p),i=await this.getFilter(c)}else switch(t){case 172:i=await this.getHeJiFilter(c),t=t+"$"+i[0].value[0].v;break;case 173:i=await this.getChuanMeiFilter(c),t=t+"$"+JSON.stringify(f);break;case 182:i=await this.getNvYouFilter(c),t=t+"$"+i[0].value[0].v;break;case 209:i=await this.getZhuanTiFilter(c),t=t+"$"+i[0].value[0].v;break;default:break}this.classes[e]=this.getTypeDic(r,t),this.filterObj[t]=i}}}async parseVodShortListFromJson(e){let l=[];for(let t of e){let r=new Cn;r.vod_id=t.id,r.vod_name=t.name,r.vod_pic=this.jsBase+Ri(t.coverImgUrl),t.hot===void 0?r.vod_remarks="\u89C2\u770B:"+(t.seeCount/1e4).toFixed(1).toString()+"W":r.vod_remarks="\u70ED\u5EA6:"+(t.hot/1e3).toFixed(1).toString()+"K",l.push(r)}return l}async parseVodShortListFromGatherJson(e){let l=[];for(let t of e){let r=new Cn;r.vod_id=t.gatherId,r.vod_name=t.name,r.vod_pic=this.jsBase+Ri(t.coverImgUrl),l.push(r)}return l}async parseVodDetailFromDoc(e){let l=new Jn;l.vod_name=e.name,l.vod_year=e.addTime,l.vod_pic=this.jsBase+Ri(e.coverImgUrl),l.type_name=e.typeName,l.vod_content=e.tags;let t=[],r={videoId:e.id},s=JSON.parse(await this.post(this.siteUrl+"/videos/getPreUrl",this.getParams(r),this.getHeader(),"")).data.url.split("?"),u=s[0]+"?sign"+s[1].split("&sign").slice(-1)[0];t.push(l.vod_name+"$"+u);let a={\u7EBF\u8DEF1:t.join("#")};return l.vod_play_url=_e.values(a).join("$$$"),l.vod_play_from=_e.keys(a).join("$$$"),l}async getHomeVod(e){let l=this.getParams(e),t=await this.post(this.siteUrl+"/videos/getList",l,this.getHeader(),"");return await this.parseVodShortListFromJson(JSON.parse(t).data.list)}async setHomeVod(){let e=await this.getHomeVod({page:1,length:16,offset:0,typeIds:[],orderType:1,payType:[3,4]}),l=await this.getHomeVod({page:1,length:16,offset:0,typeIds:[],orderType:3,payType:[1]}),t=await this.getHomeVod({page:1,length:32,offset:0,typeIds:[],orderType:1,payType:[3]});this.homeVodList=[...e,...l,...t]}getSortParams(e,l){let t=l.sorts??"";if(!_e.isEmpty(t)){let r=t.split("-")[0];e.orderType=parseInt(r);let i=t.split("-")[1],s=0;i==="\u5347\u5E8F"?s="1":s="0",e.orderMode=parseInt(s)}return e}getTopParams(e,l,t,r){let i;e===180?i="1":i="7";let s="1",u,a=r.sorts??i,c=!1;a.indexOf("-")>-1?(u=a.split("-")[0],a.split("-")[1]==="\u5347\u5E8F"?s="1":s="0",c=!0):u=i;let f={orderType:parseInt(u),tags:[],length:11,page:parseInt(t),typeIds:l.classs,payType:l.payType};return c&&(f.orderMode=parseInt(s)),f}getChuanMeiParams(e,l,t){let r;_e.isEmpty(t.tags)?r=e:r=JSON.parse(t.tags);let i={page:parseInt(l),length:32,offset:32*parseInt(l-1),tag:r.videoLables.join(","),typeIds:r.classs,orderType:r.orderType,payType:r.payType};return i=this.getSortParams(i,t),i}getNvYouParams(e,l,t){let r;_e.isEmpty(t.tags)?r=e:r=JSON.parse(t.tags);let i={videoSort:1,touid:r.id,page:parseInt(l),length:12,orderType:1};return i=this.getSortParams(i,t),i}getZhuantiParams(e,l,t){let r;_e.isEmpty(t.tags)?r=e:r=JSON.parse(t.tags);let i=t.sorts??"8";return{page:parseInt(l),length:12,offset:12*(parseInt(l)-1),orderType:parseInt(i),subjectId:r.id}}async setCategory(e,l,t,r){let i=e.split("$"),s=parseInt(i[0]),u=JSON.parse(i[1]),a={},c="/videos/getList";if(s>174&&s<181)a=this.getTopParams(s,u,l,r);else switch(s){case 173:a=this.getChuanMeiParams(u,l,r);break;case 182:a=this.getNvYouParams(u,l,r),c="/user/getSpaceVideo";break;case 209:a=this.getZhuantiParams(u,l,r);break;case 172:let p=r.tags??u;a={gatherId:parseInt(p)},c="/gather/getDetail";break;default:break}let f=JSON.parse(await this.post(this.siteUrl+c,this.getParams(a),this.getHeader(),""));s===172?this.vodList=await this.parseVodShortListFromJson(f.data.info.videos):this.vodList=await this.parseVodShortListFromJson(f.data.list)}async setDetail(e){let l={videoId:parseInt(e),videoSort:1},t=JSON.parse(await this.post(this.siteUrl+"/videos/getInfo",this.getParams(l),this.getHeader(),""));this.vodDetail=await this.parseVodDetailFromDoc(t.data.info)}async proxy(e,l){let t=e[0],r=R3(e[1]);if(t==="imgBt"){let i=await req(r,{buffer:0});return JSON.stringify({code:200,buffer:2,content:dEe(i.content).replaceAll("data:image/jpeg;base64,","").replaceAll("data:image/jpg;base64,","").replaceAll("data:image/png;base64",""),headers:l})}}async setSearch(e,l,t){let r={page:parseInt(t),length:12,type:1,key:e},i=JSON.parse(await this.post(this.siteUrl+"/base/globalSearch",this.getParams(r),this.getHeader(),""));this.vodList=await this.parseVodShortListFromJson(i.data.infos),this.result.setPage(parseInt(t),i.data.count/12,12,i.data.count)}},ol=new Gb;var Xb=class extends al{constructor(){super()}getName(){return ol.getName()}getAppName(){return ol.getAppName()}getJSName(){return ol.getJSName()}async init(e,l){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await ol.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await ol.initCookie(e.server.config.bilicookie),await ol.spiderInit(e),ol.cfgObj.code=0,ol.catOpenStatus=!0,ol.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,l)}async setClasses(){await ol.setClasses(),this.classes=ol.classes}async setFilterObj(){await ol.setFilterObj(),this.filterObj=ol.filterObj}async setHomeVod(){await ol.setHomeVod(),this.homeVodList=ol.homeVodList}async setCategory(e,l,t,r){await ol.setCategory(e,l,t,r),this.vodList=ol.vodList}async setDetail(e){await ol.setDetail(e),this.vodDetail=ol.vodDetail}async setPlay(e,l,t){await ol.setPlay(e,l,t),this.playUrl=ol.playUrl,this.result=ol.result}async setSearch(e,l,t){await ol.setSearch(e,l,t),this.vodList=ol.vodList,this.result=ol.result}async setProxy(e,l){return await ol.proxy(e,l)}},Ps=new Xb;async function NG(n,e){return await Ps.init(n,e)}async function RG(n,e){return await Ps.home(n,e)}async function hEe(n,e){return await Ps.homeVod(n,e)}async function IG(n,e){return await Ps.category(n,e)}async function CG(n,e){return await Ps.detail(n,e)}async function kG(n,e){return await Ps.play(n,e)}async function PG(n,e){return await Ps.search(n,e)}async function mEe(n,e){return await Ps.proxy(n,e)}var DG={meta:{key:ol.getJSName(),name:ol.getName(),type:ol.getType()},api:async n=>{n.post("/init",NG),n.post("/home",RG),n.post("/category",IG),n.post("/detail",CG),n.post("/play",kG),n.post("/search",PG),n.get("/proxy/:what/:ids/:end",mEe)},spider:{init:NG,home:RG,homeVod:hEe,category:IG,detail:CG,play:kG,search:PG}};var L4=class extends wl{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,l=!1){let t=[],r;for(let i of e.list)l?(r=new Cn,r.vod_pic=this.detailProxy+Ri(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&&t.push(r),!this.remove18&&i.type_id===this.type_id_18&&t.push(r);return t}parseVodDetail(e){let l=new Jn;l.vod_id=e.vod_id,l.vod_name=e.vod_name,l.vod_pic=e.vod_pic,l.vod_remarks=e.vod_remarks,l.vod_area=e.vod_area,l.vod_year=e.vod_year,l.vod_actor=e.vod_actor,l.vod_director=e.vod_director;let t=ul(e.vod_content);return l.vod_content=t.text(),e.vod_down_url!==void 0&&e.vod_down_url.length>0&&(l.vod_play_from="\u76F4\u94FE\u64AD\u653E$$$",l.vod_play_url=e.vod_down_url+"$$$"),l.vod_play_from=l.vod_play_from+e.vod_play_from,l.vod_play_url=l.vod_play_url+e.vod_play_url,l.type_name=e.type_name,l}async parseVodDetailfromJson(e){let l,t=e.list;if(t.length>0){let r=t[0];l=this.parseVodDetail(r)}return l}async setClasses(){let e=await this.fetch(this.siteUrl+"/api.php/provide/vod/from",{ac:"list"},this.getHeader()),l=JSON.parse(e);for(let t of l.class)t.type_pid!==0&&this.classes.push(this.getTypeDic(t.type_name,t.type_id))}async setFilterObj(){let e=await this.fetch(this.siteUrl+"/api.php/provide/vod/from",{ac:"list"},this.getHeader()),l=JSON.parse(e);for(let t of this.classes){let r=t.type_id.toString();if(r!=="\u6700\u8FD1\u66F4\u65B0"){let i={key:"1",name:"\u5206\u7C7B",value:[{n:"\u5168\u90E8",v:r}]};for(let s of l.class){let u=s.type_name;u===this.type_name_18&&(this.type_id_18=s.type_id.toString()),this.remove18?s.type_pid===t.type_id&&u!==this.type_name_18&&i.value.push({n:u,v:s.type_id.toString()}):s.type_pid===t.type_id&&u===this.type_name_18&&i.value.push({n:u,v:s.type_id.toString()})}this.remove18?this.filterObj[r]=[i]:this.classes=[this.getTypeDic("\u6700\u8FD1\u66F4\u65B0","\u6700\u8FD1\u66F4\u65B0"),this.getTypeDic(this.type_name_18,this.type_id_18)]}}}async setHomeVod(){let e=await this.fetch(this.siteUrl+"/index.php/ajax/data",{mid:"1"},this.getHeader());this.homeVodList=await this.parseVodShortListFromJson(JSON.parse(e))}async setDetail(e){let l=await this.fetch(this.siteUrl+"/api.php/provide/vod",{ac:"detail",ids:e},this.getHeader());this.vodDetail=await this.parseVodDetailfromJson(JSON.parse(l))}async setCategory(e,l,t,r){e=r[1]??e;let i=this.siteUrl+`/index.php/ajax/data?mid=1&tid=${e}&page=${l}&limit=20`;await this.jadeLog.debug(`\u5206\u7C7BURL:${i}`);let s=await this.fetch(i,null,this.getHeader());await this.jadeLog.debug(`\u5206\u7C7B\u5185\u5BB9\u4E3A:${s}`),this.vodList=await this.parseVodShortListFromJson(JSON.parse(s))}async setSearch(e,l){let t=await this.fetch(this.siteUrl+"/api.php/provide/vod/",{wd:e},this.getHeader());this.vodList=await this.parseVodShortListFromJson(JSON.parse(t),!0)}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(await this.jadeLog.debug(`\u53CD\u5411\u4EE3\u7406\u53C2\u6570\u4E3A:${r}`),t==="detail"){let i=await this.fetch(this.siteUrl+"/api.php/provide/vod",{ac:"detail",ids:r},this.getHeader()),s=await this.parseVodDetailfromJson(JSON.parse(i)),u=await this.fetch(s.vod_pic,null,this.getHeader(),!1,!1,2);return _e.isEmpty(u)?JSON.stringify({code:500,buffer:2,content:"",headers:{}}):JSON.stringify({code:200,buffer:2,content:u,headers:{}})}}};var Wb=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(e),await this.spiderInit(null)}},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 LG(n,e){return await Ds.init(n,e)}async function FG(n,e){return await Ds.home(n,e)}async function gEe(n,e){return await Ds.homeVod(n,e)}async function MG(n,e){return await Ds.category(n,e)}async function $G(n,e){return await Ds.detail(n,e)}async function jG(n,e){return await Ds.play(n,e)}async function UG(n,e){return await Ds.search(n,e)}async function yEe(n,e){return await Ds.proxy(n,e)}var BG={meta:{key:cl.getJSName(),name:cl.getName(),type:cl.getType()},api:async n=>{n.post("/init",LG),n.post("/home",FG),n.post("/category",MG),n.post("/detail",$G),n.post("/play",jG),n.post("/search",UG),n.get("/proxy/:what/:ids/:end",yEe)},spider:{init:LG,home:FG,homeVod:gEe,category:MG,detail:$G,play:jG,search:UG}};var Yb=class extends wl{constructor(){super(),this.siteUrl="https://hongkongdollvideo.com"}getImgHeader(){let e=this.getHeader();return e.Proxy=!0,e}async spiderInit(e=null){e!==null?this.jsBase=await js2Proxy(e,"img",this.getImgHeader()):this.jsBase=await js2Proxy(!0,this.siteType,this.siteKey,"img/",this.getImgHeader())}async init(e){await super.init(e),await this.spiderInit(null)}async getHtml(e=this.siteUrl,l=!1,t=this.getHeader()){return super.getHtml(e,!0,t)}getName(){return"\u{1F51E}\u2503\u73A9\u5076\u59D0\u59D0\u2503\u{1F51E}"}getAppName(){return"\u73A9\u5076\u59D0\u59D0"}getJSName(){return"doll"}getType(){return 3}async parseVodShortListFromDoc(e){let l=[],t=e('[class="row"]').find('[class="video-detail"]');for(let r of t){let i=new Cn;i.vod_id=e(r).find("a")[0].attribs.href;let s=e(e(r).find('[class="video-info"]')).find("a");i.vod_name=s[0].attribs.title,i.vod_remarks=e(s[1]).text();let u=e(r).find("img")[0].attribs["data-src"];i.vod_pic=u,l.push(i)}return l}async parseVodDetailFromDoc(e,l){let t=new Jn,r=e('[class="container-fluid"]');t.vod_name=e(e(r).find('[class="page-title"]')[0]).text(),t.vod_remarks=e(r).find('[class="tag my-1 text-center"]')[0].attribs.href.replaceAll("/","");let i=e(r).find("video")[0].attribs.poster;t.vod_pic=i;let s=e.html(),u=Tl(/var voteTag="(.*?)";/g,s);u=Bn.enc.Utf8.stringify(Bn.enc.Base64.parse(u));let a=[];for(let f=0;fp!==""),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 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.messageToDart({action:"sniff",opt:{url:r,timeout:6e4,rule:"http((?!http).){12,}?\\.m3u8?"}});if(u&&u.url){let a={};u.headers&&(u.headers["user-agent"]&&(a["User-Agent"]=u.headers["user-agent"]),u.headers.referer&&(a.Referer=u.headers.referer)),await this.jadeLog.debug(`\u55C5\u63A2\u6210\u529F,\u64AD\u653E\u8FDE\u63A5\u4E3A:${u.url}`),s=JSON.stringify({parse:0,url:u.url,header:u.headers,jx:"0"})}else await this.jadeLog.error("\u89E3\u6790\u5931\u8D25,\u65E0\u6CD5\u55C5\u63A2\u5230\u64AD\u653E\u8FDE\u63A5"),s=JSON.stringify({parse:0,url:"",jx:"0"})}else s=this.result.play(this.playUrl);return await this.jadeLog.info("\u64AD\u653E\u9875\u9762\u89E3\u6790\u5B8C\u6210",!0),await this.jadeLog.debug(`\u64AD\u653E\u9875\u9762\u5185\u5BB9\u4E3A:${s}`),s}catch(s){await this.jadeLog.error("\u89E3\u6790\u64AD\u653E\u9875\u9762\u51FA\u9519,\u5931\u8D25\u539F\u56E0\u4E3A:"+s)}}async search(e,l){let t=e.body.page,r=e.body.wd,i=!0;return this.vodList=[],await this.jadeLog.info(`\u6B63\u5728\u89E3\u6790\u641C\u7D22\u9875\u9762,\u5173\u952E\u8BCD\u4E3A = ${r},quick = ${i},pg = ${t}`),await this.setSearch(r,i,t),this.vodList.length===0&&r.indexOf(" ")>-1&&(await this.jadeLog.debug(`\u641C\u7D22\u5173\u952E\u8BCD\u4E3A:${r},\u5176\u4E2D\u6709\u7A7A\u683C,\u53BB\u9664\u7A7A\u683C\u5728\u641C\u7D22\u4E00\u6B21`),await this.search(r.replaceAll(" ","").replaceAll("?",""),i)),await this.jadeLog.debug(`\u641C\u7D22\u9875\u9762\u5185\u5BB9\u4E3A:${this.result.search(this.vodList)}`),await this.jadeLog.info("\u641C\u7D22\u9875\u9762\u89E3\u6790\u5B8C\u6210",!0),this.result.search(this.vodList)}async proxy(e,l){try{let t=e.params.what,r={};try{r=JSON.parse(e.params.ids)}catch{}let i=decodeURIComponent(e.params.end),s=JSON.parse(await this.setProxy([t,i],r));return t==="dash"?(await this.jadeLog.debug(`dash:${JSON.stringify(s)}`),l.code(s.code).headers(s.headers),s.content):s.code===200?(l.code(s.code).headers(s.headers),Buffer.from(s.content,"base64")):(l.code(500),"")}catch(t){await this.jadeLog.error(`\u4EE3\u7406\u56DE\u8C03\u5931\u8D25,\u5931\u8D25\u539F\u56E0\u4E3A:${t}`)}}};var L4=class extends wl{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,l=!1){let t=[],r;for(let i of e.list)l?(r=new Cn,r.vod_pic=this.detailProxy+Ri(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&&t.push(r),!this.remove18&&i.type_id===this.type_id_18&&t.push(r);return t}parseVodDetail(e){let l=new Jn;l.vod_id=e.vod_id,l.vod_name=e.vod_name,l.vod_pic=e.vod_pic,l.vod_remarks=e.vod_remarks,l.vod_area=e.vod_area,l.vod_year=e.vod_year,l.vod_actor=e.vod_actor,l.vod_director=e.vod_director;let t=ul(e.vod_content);return l.vod_content=t.text(),e.vod_down_url!==void 0&&e.vod_down_url.length>0&&(l.vod_play_from="\u76F4\u94FE\u64AD\u653E$$$",l.vod_play_url=e.vod_down_url+"$$$"),l.vod_play_from=l.vod_play_from+e.vod_play_from,l.vod_play_url=l.vod_play_url+e.vod_play_url,l.type_name=e.type_name,l}async parseVodDetailfromJson(e){let l,t=e.list;if(t.length>0){let r=t[0];l=this.parseVodDetail(r)}return l}async setClasses(){let e=await this.fetch(this.siteUrl+"/api.php/provide/vod/from",{ac:"list"},this.getHeader()),l=JSON.parse(e);for(let t of l.class)t.type_pid!==0&&this.classes.push(this.getTypeDic(t.type_name,t.type_id))}async setFilterObj(){let e=await this.fetch(this.siteUrl+"/api.php/provide/vod/from",{ac:"list"},this.getHeader()),l=JSON.parse(e);for(let t of this.classes){let r=t.type_id.toString();if(r!=="\u6700\u8FD1\u66F4\u65B0"){let i={key:"1",name:"\u5206\u7C7B",value:[{n:"\u5168\u90E8",v:r}]};for(let s of l.class){let u=s.type_name;u===this.type_name_18&&(this.type_id_18=s.type_id.toString()),this.remove18?s.type_pid===t.type_id&&u!==this.type_name_18&&i.value.push({n:u,v:s.type_id.toString()}):s.type_pid===t.type_id&&u===this.type_name_18&&i.value.push({n:u,v:s.type_id.toString()})}this.remove18?this.filterObj[r]=[i]:this.classes=[this.getTypeDic("\u6700\u8FD1\u66F4\u65B0","\u6700\u8FD1\u66F4\u65B0"),this.getTypeDic(this.type_name_18,this.type_id_18)]}}}async setHomeVod(){let e=await this.fetch(this.siteUrl+"/index.php/ajax/data",{mid:"1"},this.getHeader());this.homeVodList=await this.parseVodShortListFromJson(JSON.parse(e))}async setDetail(e){let l=await this.fetch(this.siteUrl+"/api.php/provide/vod",{ac:"detail",ids:e},this.getHeader());this.vodDetail=await this.parseVodDetailfromJson(JSON.parse(l))}async setCategory(e,l,t,r){e=r[1]??e;let i=this.siteUrl+`/index.php/ajax/data?mid=1&tid=${e}&page=${l}&limit=20`;await this.jadeLog.debug(`\u5206\u7C7BURL:${i}`);let s=await this.fetch(i,null,this.getHeader());await this.jadeLog.debug(`\u5206\u7C7B\u5185\u5BB9\u4E3A:${s}`),this.vodList=await this.parseVodShortListFromJson(JSON.parse(s))}async setSearch(e,l){let t=await this.fetch(this.siteUrl+"/api.php/provide/vod/",{wd:e},this.getHeader());this.vodList=await this.parseVodShortListFromJson(JSON.parse(t),!0)}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(await this.jadeLog.debug(`\u53CD\u5411\u4EE3\u7406\u53C2\u6570\u4E3A:${r}`),t==="detail"){let i=await this.fetch(this.siteUrl+"/api.php/provide/vod",{ac:"detail",ids:r},this.getHeader()),s=await this.parseVodDetailfromJson(JSON.parse(i)),u=await this.fetch(s.vod_pic,null,this.getHeader(),!1,!1,2);return _e.isEmpty(u)?JSON.stringify({code:500,buffer:2,content:"",headers:{}}):JSON.stringify({code:200,buffer:2,content:u,headers:{}})}}};var Gb=class extends L4{constructor(){super(),this.siteUrl="http://cj.ffzyapi.com",this.remove18=!1,this.type_id_18=34}getAppName(){return"\u975E\u51E1\u8D44\u6E9018+"}getName(){return"\u{1F51E}\u2503\u975E\u51E1\u8D44\u6E9018+\u2503\u{1F51E}"}getJSName(){return"feifan18"}getType(){return 3}async spiderInit(e){await super.spiderInit(e)}async init(e){await super.init(e),await this.spiderInit(null)}},ol=new Gb;var Xb=class extends al{constructor(){super()}getName(){return ol.getName()}getAppName(){return ol.getAppName()}getJSName(){return ol.getJSName()}async init(e,l){dataBase=e.server.db,this.getAppName().indexOf("\u963F\u91CC")>-1||this.getAppName()==="push_agent"?await ol.initAli(e.server.config.alitoken):this.getAppName()==="\u54D4\u54E9\u54D4\u54E9"&&await ol.initCookie(e.server.config.bilicookie),await ol.spiderInit(e),ol.cfgObj.code=0,ol.catOpenStatus=!0,ol.classes.push({type_name:"\u6700\u8FD1\u66F4\u65B0",type_id:"\u6700\u8FD1\u66F4\u65B0"}),await super.init(e,l)}async setClasses(){await ol.setClasses(),this.classes=ol.classes}async setFilterObj(){await ol.setFilterObj(),this.filterObj=ol.filterObj}async setHomeVod(){await ol.setHomeVod(),this.homeVodList=ol.homeVodList}async setCategory(e,l,t,r){await ol.setCategory(e,l,t,r),this.vodList=ol.vodList}async setDetail(e){await ol.setDetail(e),this.vodDetail=ol.vodDetail}async setPlay(e,l,t){await ol.setPlay(e,l,t),this.playUrl=ol.playUrl,this.result=ol.result}async setSearch(e,l,t){await ol.setSearch(e,l,t),this.vodList=ol.vodList,this.result=ol.result}async setProxy(e,l){return await ol.proxy(e,l)}},Ps=new Xb;async function OG(n,e){return await Ps.init(n,e)}async function NG(n,e){return await Ps.home(n,e)}async function pEe(n,e){return await Ps.homeVod(n,e)}async function RG(n,e){return await Ps.category(n,e)}async function IG(n,e){return await Ps.detail(n,e)}async function CG(n,e){return await Ps.play(n,e)}async function kG(n,e){return await Ps.search(n,e)}async function dEe(n,e){return await Ps.proxy(n,e)}var PG={meta:{key:ol.getJSName(),name:ol.getName(),type:ol.getType()},api:async n=>{n.post("/init",OG),n.post("/home",NG),n.post("/category",RG),n.post("/detail",IG),n.post("/play",CG),n.post("/search",kG),n.get("/proxy/:what/:ids/:end",dEe)},spider:{init:OG,home:NG,homeVod:pEe,category:RG,detail:IG,play:CG,search:kG}};var Wb=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 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(` `,"").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-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;t1&&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(/