mirror of
https://github.com/qist/tvbox.git
synced 2025-01-24 11:24:52 +08:00
1 line
16 KiB
JavaScript
1 line
16 KiB
JavaScript
|
const _0x3a7059=_0x1a1a;(function(_0x4bf566,_0x571414){const _0x48f348=_0x1a1a,_0xad4a7d=_0x4bf566();while(!![]){try{const _0x47cad6=parseInt(_0x48f348(0x7b))/0x1+parseInt(_0x48f348(0x88))/0x2+parseInt(_0x48f348(0x98))/0x3*(-parseInt(_0x48f348(0x7e))/0x4)+parseInt(_0x48f348(0xa5))/0x5*(-parseInt(_0x48f348(0x82))/0x6)+-parseInt(_0x48f348(0xb1))/0x7*(-parseInt(_0x48f348(0x8f))/0x8)+parseInt(_0x48f348(0x9f))/0x9*(-parseInt(_0x48f348(0x84))/0xa)+-parseInt(_0x48f348(0x81))/0xb;if(_0x47cad6===_0x571414)break;else _0xad4a7d['push'](_0xad4a7d['shift']());}catch(_0x4e3b90){_0xad4a7d['push'](_0xad4a7d['shift']());}}}(_0x4756,0x32df5));import _0x5be245 from'assets://js/lib/cheerio.min.js';import'assets://js/lib/crypto-js.js';var m_js_1='',m_hken='',m_hkens='',m_token='';const config={'picUrl':_0x3a7059(0x91),'classes':[],'headers':{'user-agent':_0x3a7059(0x9c)},'headers2':{'user-agent':_0x3a7059(0x71)},'player':{},'filter':{'myIPTV':[{'key':0x1,'name':'类别','value':[{'n':'央视','v':'ys'},{'n':'体育','v':'ty'},{'n':'卫视','v':'ws'},{'n':'港澳','v':'gt'},{'n':'其他','v':_0x3a7059(0xae)},{'n':'电影','v':'movie'},{'n':_0x3a7059(0x87),'v':_0x3a7059(0xbe)},{'n':'北方IPTV','v':_0x3a7059(0x8c)},{'n':_0x3a7059(0xc2),'v':_0x3a7059(0x76)},{'n':'北京教育网IPTV','v':_0x3a7059(0x8a)},{'n':_0x3a7059(0xb6),'v':_0x3a7059(0x7a)},{'n':_0x3a7059(0x6e),'v':_0x3a7059(0x9e)},{'n':'IPv6网络电视(限IP6)','v':'ipv6'}]}],'movie':[{'key':0x1,'name':'类别','value':[{'n':'热门','v':'热门'},{'n':'最新','v':'最新'},{'n':'经典','v':'经典'},{'n':'华语','v':'华语'},{'n':'欧美','v':'欧美'},{'n':'韩国','v':'韩国'},{'n':'日本','v':'日本'},{'n':'动作','v':'动作'},{'n':'喜剧','v':'喜剧'},{'n':'爱情','v':'爱情'},{'n':'科幻','v':'科幻'},{'n':'悬疑','v':'悬疑'},{'n':'恐怖','v':'恐怖'},{'n':'成长','v':'成长'},{'n':_0x3a7059(0xa2),'v':_0x3a7059(0xa2)},{'n':_0x3a7059(0x7d),'v':_0x3a7059(0x7d)},{'n':'冷门佳片','v':_0x3a7059(0xb2)}]}],'tv':[{'key':0x1,'name':'类别','value':[{'n':'热门','v':'热门'},{'n':'美剧','v':'美剧'},{'n':'英剧','v':'英剧'},{'n':'韩剧','v':'韩剧'},{'n':'日剧','v':'日剧'},{'n':_0x3a7059(0xc0),'v':_0x3a7059(0xc0)},{'n':'港剧','v':'港剧'},{'n':'动画','v':'日本动画'},{'n':'综艺','v':'综艺'},{'n':_0x3a7059(0x86),'v':_0x3a7059(0x86)}]}]}};function parseSub(_0x3024da){const _0x58f8f9=_0x3a7059,_0x2cf10c=/^#([^#\n]*?)\n([^#\n]+)/gm;let _0x3bd40b='',_0x31c2fb=req(_0x3024da,{'headers':config['headers']})[_0x58f8f9(0x95)];while((_0x3bd40b=_0x2cf10c['exec'](_0x31c2fb))!==null){_0x3bd40b[_0x58f8f9(0x6f)]===_0x2cf10c[_0x58f8f9(0x83)]&&_0x2cf10c['lastIndex']++;if(_0x3bd40b[0x1]==_0x58f8f9(0xa3))continue;if(_0x3bd40b[0x2][_0x58f8f9(0x8d)](/^(\.)/)){let _0x4b39b9=_0x3024da[_0x58f8f9(0xb4)](0x0,_0x3024da[_0x58f8f9(0xb0)]('/'));_0x3bd40b[0x2]=_0x4b39b9+_0x3bd40b[0x2][_0x58f8f9(0xa7)](/^\./,'');}_0x3bd40b[0x2]['match'](/^(\/)/)&&(_0x3bd40b[0x2]=_0x58f8f9(0xc4)+_0x3bd40b[0x2]),config['classes'][_0x58f8f9(0x9a)]({'type_id':_0x3bd40b[0x2],'type_name':_0x3bd40b[0x1]});}}function init(_0x1eae1a){const _0x309a47=_0x3a7059;console[_0x309a47(0x80)](_0x1eae1a),parseSub(_0x1eae1a);}function home(_0x5ae46e){const _0x481c24=_0x3a7059;let _0x1fba39={};return _0x5ae46e&&(_0x1fba39[_0x481c24(0xaa)]=config['filter']),_0x1fba39['class']=config[_0x481c24(0x96)],JSON[_0x481c24(0xab)](_0x1fba39);}function homeVod(){let _0x26fc78={},_0x4409cf=[];return JSON['stringify'](_0x26fc78);}function category(_0x3fa136,_0x28f8f7,_0x59eda9,_0x546e45){const _0x5f1054=_0x3a7059;let _0x141889={},_0x5af821=[],_0x5bbed4='',_0x32b076=[],_0x18b8ca=[];_0x28f8f7=parseInt(_0x28f8f7);if(_0x28f8f7>=0x2)return JSON[_0x5f1054(0xab)]({});if(_0x3fa136==_0x5f1054(0xad)){JSON[_0x5f1054(0xab)](_0x546e45)!='{}'?_0x5bbed4=_0x546e45['1']:_0x5bbed4='ys';let _0x199477=req(_0x5f1054(0x90)+_0x5bbed4,{'headers':config[_0x5f1054(0x9d)]})[_0x5f1054(0x95)],_0x5b9042=_0x5be245[_0x5f1054(0xb5)](_0x199477),_0x451cc0=_0x5b9042(_0x5f1054(0xac));_0x451cc0[_0x5f1054(0xbc)](function(_0x27e3aa){const _0x3def56=_0x5f1054;_0x5
|