N3RD/JN/EXT/JS/lf_ikanbot_min.js
2024-02-12 21:02:51 +08:00

1 line
12 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

const _0x37e580=_0x9c12;(function(_0x26da71,_0x2466d6){const _0x55c70f=_0x9c12,_0xc67639=_0x26da71();while(!![]){try{const _0x337f56=parseInt(_0x55c70f(0x11e))/0x1+parseInt(_0x55c70f(0xba))/0x2*(parseInt(_0x55c70f(0x118))/0x3)+-parseInt(_0x55c70f(0x116))/0x4+parseInt(_0x55c70f(0x10b))/0x5+-parseInt(_0x55c70f(0xe4))/0x6*(parseInt(_0x55c70f(0xd5))/0x7)+parseInt(_0x55c70f(0xe8))/0x8+-parseInt(_0x55c70f(0xf9))/0x9*(-parseInt(_0x55c70f(0x115))/0xa);if(_0x337f56===_0x2466d6)break;else _0xc67639['push'](_0xc67639['shift']());}catch(_0x22911b){_0xc67639['push'](_0xc67639['shift']());}}}(_0x4cab,0xb95d7));function _0x4cab(){const _0x13fd3d=['CgfYC2u','lNjLC3u','BgLZDc0','C3bSAxq','BhqTAw4','ChvZAa','lNrPDgW','B250zw4','AwTLieC','yNjPDhK','y29TlW','lM1LzgK','6k+v5lQg77Yb77Yb77Yb','yxr0CG','ntm0nJe4nun4vK1jDG','C3q+lNi','zwfJAa','oI8VD3C','Dhj5','6lgg55oJ6AUy5yIg','ic5JB24','6lgg55oJvg9W','ys10B3a','Adu+yq','mtbuvNvNuLu','ntG0ndKXnMnbqMDRwa','y29Tl2e','mtvKDLbxr3i','z2LMEq','B3qVAw4','DM9Kx3a','DY5KB3u','ntm3lJm','mJGXndCYrxntvvHi','AM9PBG','icHlsfq','Bg9N','Bgf5x3u','AhjLzG','zxHLyW','BgeVns4','B0LKpq','jM10Exa','l3bSyxK','lNjVDY4','mJuW','Bg9Hza','Aw5KzxG','BhqTBgK','DgvUDca','zMLSDgu','mJa5ntu4quvbExn3','C3jJ','BgvUz3q','mZCUmZy','DY5PA2e','p3e9','y2XHC3m','57QQ5B2v54Mh','zM8GAw0','ie5uide','BgfZDeK','D3aGyq','y29UDgu','igLTzW','mY4WlJa','mcaOv2K','yMfUlMm','zMfYAs8','oYb4nJq','zwnRBYK','BMrLEa','p3zPzgu','5yA36zEO5l2Z54Mh','y29Tl3a','5PU05PAW77YA56YS','y29Tl2G','Aw1N','mtmZD0zry1rO','BMjVDc4','5zU95lQN5yMN','jcqK','lM1LDge','zwfYy2G','ksbbCha','Ahr0Chm','C3rYAw4','Bgf5x2y','lNLLyxi','B20VC2u','6lEV6AoE5BYa5AEl6lcd','AgvHzgu','Bw92Awu','nJiZntHZwhrot2C','5PEL5PYS5yQO55s7','zgv4lq','BMrVD3m','mtG5ntq0AwHUDejY','lMnLBgu','DfjLC04','zt0X','tuWSigW','CM9T','y29Tl3m','BgLZDa','Bgvxzwi','zgf0yq','s2L0lZu','Bgf5lW','v2LUnJq','Dgv4Da','CMvZrge','DM9Kx2m','lJaGu2e','ndy3nJG4nM5nvufiva','CgKVz2u','CMvWBge','DM9Kx3i'];_0x4cab=function(){return _0x13fd3d;};return _0x4cab();}import _0x3f4ec1 from'assets://js/lib/cheerio.min.js';function _0x9c12(_0x41752a,_0x6494b8){const _0x4cab9d=_0x4cab();return _0x9c12=function(_0x9c1231,_0x2dd275){_0x9c1231=_0x9c1231-0xba;let _0x2cf04c=_0x4cab9d[_0x9c1231];if(_0x9c12['CnOsia']===undefined){var _0x21ed81=function(_0x3f4ec1){const _0x990f96='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5d2170='',_0x1cdbf4='';for(let _0x1fbb94=0x0,_0xfd21a5,_0x4112f3,_0x1e08ec=0x0;_0x4112f3=_0x3f4ec1['charAt'](_0x1e08ec++);~_0x4112f3&&(_0xfd21a5=_0x1fbb94%0x4?_0xfd21a5*0x40+_0x4112f3:_0x4112f3,_0x1fbb94++%0x4)?_0x5d2170+=String['fromCharCode'](0xff&_0xfd21a5>>(-0x2*_0x1fbb94&0x6)):0x0){_0x4112f3=_0x990f96['indexOf'](_0x4112f3);}for(let _0x406df5=0x0,_0x522b4d=_0x5d2170['length'];_0x406df5<_0x522b4d;_0x406df5++){_0x1cdbf4+='%'+('00'+_0x5d2170['charCodeAt'](_0x406df5)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1cdbf4);};_0x9c12['nlGglC']=_0x21ed81,_0x41752a=arguments,_0x9c12['CnOsia']=!![];}const _0x2d0531=_0x4cab9d[0x0],_0x472957=_0x9c1231+_0x2d0531,_0x244998=_0x41752a[_0x472957];return!_0x244998?(_0x2cf04c=_0x9c12['nlGglC'](_0x2cf04c),_0x41752a[_0x472957]=_0x2cf04c):_0x2cf04c=_0x244998,_0x2cf04c;},_0x9c12(_0x41752a,_0x6494b8);}import'assets://js/lib/crypto-js.js';const config={'headers':{'user-agent':'Mozil'+_0x37e580(0x125)+_0x37e580(0xc9)+_0x37e580(0xe7)+_0x37e580(0xc3)+'0.0;\x20'+_0x37e580(0xf4)+_0x37e580(0xcc)+_0x37e580(0xdb)+_0x37e580(0xf0)+_0x37e580(0xf2)+_0x37e580(0xbd)+_0x37e580(0x120)+_0x37e580(0xec)+_0x37e580(0x105)+_0x37e580(0xcd)+'\x20Chro'+'me/11'+_0x37e580(0xc8)+_0x37e580(0xf8)+_0x37e580(0xcb)+_0x37e580(0x11d)+'6'},'player':{},'filter':{'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':_0x37e580(0x110),'v':_0x37e580(0x110)},{'n':_0x37e580(0x112)+_0x37e580(0x12a),'v':_0x37e580(0x112)+_0x37e580(0x12a)},{'n':'冷门佳片','v':_0x37e580(0xd0)}]}],'tv':[{'key':0x1,'name':'类别','value':[{'n':'热门','v':'热门'},{'n':'美剧','v':'美剧'},{'n':'英剧','v':'英剧'},{'n':'韩剧','v':'韩剧'},{'n':'日剧','v':'日剧'},{'n':'国产剧','v':_0x37e580(0xd7)},{'n':'港剧','v':'港剧'},{'n':'动画','v':_0x37e580(0xe5)},{'n':'综艺','v':'综艺'},{'n':_0x37e580(0xc1),'v':'纪录片'}]}]}};function init(_0x990f96){const _0x4e991e=_0x37e580;console[_0x4e991e(0x121)](_0x4e991e(0xe1)+_0x4e991e(0x109));}function home(_0x5d2170){const _0x41ed81=_0x37e580;let _0x1cdbf4=[],_0x1fbb94={};_0x5d2170&&(_0x1fbb94[_0x41ed81(0x12f)+'rs']=config['filte'+'r']);let _0xfd21a5={'电影':_0x41ed81(0xe3),'剧集':'tv'};for(let _0x4112f3 in _0xfd21a5){_0x1cdbf4['push']({'type_id':_0xfd21a5[_0x4112f3],'type_name':_0x4112f3});}return _0x1fbb94[_0x41ed81(0xc0)]=_0x1cdbf4,JSON[_0x41ed81(0xdd)+_0x41ed81(0x119)](_0x1fbb94);}function homeVod(){const _0x25f7de=_0x37e580;let _0x1e08ec={},_0x406df5=[],_0x522b4d=req(_0x25f7de(0xdc)+_0x25f7de(0x10e)+'w.ika'+_0x25f7de(0xd6)+_0x25f7de(0x107),{'headers':config[_0x25f7de(0xe2)+'rs']})[_0x25f7de(0xc6)+'nt'],_0x305ff0=_0x3f4ec1[_0x25f7de(0x12b)](_0x522b4d),_0x339e7e=_0x305ff0('.row.'+_0x25f7de(0xff)+'wp\x20a');return _0x339e7e[_0x25f7de(0x10d)](function(_0xc31610){const _0x3b7e45=_0x25f7de;_0x406df5[_0x3b7e45(0x102)]({'vod_id':_0x305ff0(this)[_0x3b7e45(0x10a)](_0x3b7e45(0x123))[_0x3b7e45(0xfb)+'ce'](_0x3b7e45(0x128)+'/',''),'vod_name':_0x305ff0('p',this)[_0x3b7e45(0xf5)](),'vod_pic':_0x305ff0(_0x3b7e45(0xd4),this)['attr'](_0x3b7e45(0xbb)),'vod_remarks':''});}),_0x1e08ec={'list':_0x406df5},JSON[_0x25f7de(0xdd)+_0x25f7de(0x119)](_0x1e08ec);}function category(_0x2b3e73,_0x12eebf,_0x5d69fa,_0x199f01){const _0x48405e=_0x37e580;let _0x441ed9={},_0x343788=[],_0x2ba452='',_0x254172='';_0x12eebf=parseInt(_0x12eebf);JSON['strin'+_0x48405e(0x119)](_0x199f01)!='{}'?_0x2ba452=_0x199f01['1']:_0x2ba452='热门';_0x12eebf==0x1?_0x254172='':_0x254172='-p-'+_0x12eebf;let _0x600bf6=_0x48405e(0xdc)+_0x48405e(0x10e)+_0x48405e(0xbe)+_0x48405e(0xd6)+_0x48405e(0xd3)+_0x48405e(0x11a)+_0x48405e(0xe6)+_0x2b3e73+'-'+_0x2ba452+_0x254172+'.html',_0x3dd7dc=req(_0x600bf6,{'headers':config[_0x48405e(0xe2)+'rs']})[_0x48405e(0xc6)+'nt'],_0x2c9a10=_0x3f4ec1['load'](_0x3dd7dc),_0x39ed49=_0x2c9a10(_0x48405e(0x129)+_0x48405e(0xff)+_0x48405e(0xc5));return _0x39ed49[_0x48405e(0x10d)](function(_0x439fb8){const _0x37bb3a=_0x48405e;_0x343788[_0x37bb3a(0x102)]({'vod_id':_0x2c9a10(this)[_0x37bb3a(0x10a)](_0x37bb3a(0x123))[_0x37bb3a(0xfb)+'ce']('/play'+'/',''),'vod_name':_0x2c9a10('p',this)[_0x37bb3a(0xf5)](),'vod_pic':_0x2c9a10('img',this)[_0x37bb3a(0x10a)](_0x37bb3a(0xbb)),'vod_remarks':''});}),_0x441ed9={'list':_0x343788,'page':parseInt(_0x12eebf),'pagecount':0x3e7,'limit':0x14,'total':0x3e7},JSON[_0x48405e(0xdd)+_0x48405e(0x119)](_0x441ed9);}function search(_0x5053c1,_0x2ffac5){const _0x5351dd=_0x37e580;let _0x5151ec={},_0x2ba5ff=[],_0xbd42b9=req(_0x5351dd(0xdc)+_0x5351dd(0x10e)+'w.ika'+_0x5351dd(0xd6)+_0x5351dd(0xee)+_0x5351dd(0xda)+_0x5351dd(0xbf)+_0x5053c1,{'headers':config[_0x5351dd(0xe2)+'rs']})[_0x5351dd(0xc6)+'nt'],_0x1d0118=_0x3f4ec1[_0x5351dd(0x12b)](_0xbd42b9),_0x5c5707=_0x1d0118(_0x5351dd(0x108)+'a');return _0x5c5707[_0x5351dd(0x10d)](function(_0x12e41d){const _0x5a4e79=_0x5351dd;let _0x11511f=_0x1d0118(_0x5a4e79(0x114),this)['attr']('href')['repla'+'ce'](_0x5a4e79(0x128)+'/','');_0xbd42b9=req(_0x5a4e79(0xdc)+_0x5a4e79(0x10e)+_0x5a4e79(0xbe)+_0x5a4e79(0xd6)+_0x5a4e79(0x117)+'pi/ge'+'tResN'+_0x5a4e79(0xcf)+_0x5a4e79(0x126)+_0x11511f+(_0x5a4e79(0x127)+_0x5a4e79(0xeb)),{'headers':config['heade'+'rs']})[_0x5a4e79(0xc6)+'nt'],_0x2ba5ff['push']({'vod_id':_0x11511f,'vod_name':_0x1d0118('h5>a',this)['text'](),'vod_pic':_0x1d0118(_0x5a4e79(0x108)+_0x5a4e79(0x113)+_0x5a4e79(0xc7),this)[_0x5a4e79(0x10a)](_0x5a4e79(0xbb)),'vod_content':'','vod_remarks':get_latest_episode(_0xbd42b9)[_0x5a4e79(0xfb)+'ce']('','至')[_0x5a4e79(0xfb)+'ce']('第','')});}),_0x5151ec={'list':_0x2ba5ff},JSON['strin'+'gify'](_0x5151ec);}function detail(_0x52e628){const _0x4a5091=_0x37e580;let _0x34f652={},_0xbd8132=[],_0x3d51b2=[],_0x83860d=req('https'+_0x4a5091(0x10e)+_0x4a5091(0xbe)+_0x4a5091(0xd6)+_0x4a5091(0xd1)+_0x4a5091(0xf3)+_0x52e628,{'headers':config[_0x4a5091(0xe2)+'rs']})['conte'+'nt'],_0x787ff3=_0x3f4ec1[_0x4a5091(0x12b)](_0x83860d),_0x1e35b2={'vod_id':_0x52e628,'vod_name':_0x787ff3('.meta'+_0x4a5091(0x103)+'e')['text'](),'vod_pic':_0x787ff3('.resu'+_0x4a5091(0x101)+_0x4a5091(0xc2)+'g')[_0x4a5091(0x10a)](_0x4a5091(0xbb)),'type_name':'','vod_year':_0x787ff3(_0x4a5091(0xd9)+_0x4a5091(0xdf))[_0x4a5091(0xf5)](),'vod_area':_0x787ff3(_0x4a5091(0xd9)+'.coun'+_0x4a5091(0x10f))[_0x4a5091(0xf5)](),'vod_remarks':'','vod_actor':_0x787ff3(_0x4a5091(0xd9)+_0x4a5091(0xe9)+_0x4a5091(0x106))[_0x4a5091(0xf5)]()['split']('/')[0x1],'vod_director':_0x787ff3(_0x4a5091(0xd9)+'.cele'+_0x4a5091(0x106))['text']()[_0x4a5091(0x100)]('/')[0x0],'vod_content':'','vod_play_from':'','vod_play_url':''};_0x83860d=JSON[_0x4a5091(0xfd)](req(_0x4a5091(0xdc)+_0x4a5091(0x10e)+_0x4a5091(0xbe)+_0x4a5091(0xd6)+_0x4a5091(0x117)+_0x4a5091(0xfa)+_0x4a5091(0xea)+_0x4a5091(0xcf)+_0x4a5091(0x126)+_0x52e628+('&mtyp'+_0x4a5091(0xeb)),{'headers':config[_0x4a5091(0xe2)+'rs']})[_0x4a5091(0xc6)+'nt']);for(let _0x583c2f=0x0;_0x583c2f<_0x83860d[_0x4a5091(0xf1)][_0x4a5091(0xef)][_0x4a5091(0xbc)+'h'];_0x583c2f++){_0xbd8132[_0x4a5091(0x102)]('线路'+(_0x583c2f+0x1));}for(let _0x63991=0x0;_0x63991<_0x83860d[_0x4a5091(0xf1)]['list'][_0x4a5091(0xbc)+'h'];_0x63991++){let _0x2057fc=[],_0x3f86f5=JSON[_0x4a5091(0xfd)](_0x83860d[_0x4a5091(0xf1)][_0x4a5091(0xef)][_0x63991][_0x4a5091(0xf6)+'ta']);for(let _0x15ecff=0x0;_0x15ecff<_0x3f86f5[_0x4a5091(0xbc)+'h'];_0x15ecff++){_0x2057fc[_0x4a5091(0x102)](_0x3f86f5[_0x15ecff]['url']);}let _0x47efc2='#';_0x47efc2=_0x2057fc[_0x4a5091(0x11f)](_0x47efc2),_0x3d51b2['push'](_0x47efc2);}let _0x19f149=_0x3d51b2[_0x4a5091(0x11f)](_0x4a5091(0xd8)),_0x1411f5=_0xbd8132['join'](_0x4a5091(0xd8));_0x1e35b2[_0x4a5091(0x11b)+_0x4a5091(0xde)+_0x4a5091(0xed)]=_0x1411f5,_0x1e35b2[_0x4a5091(0x11b)+_0x4a5091(0x122)+'rl']=_0x19f149,_0x1e35b2[_0x4a5091(0xfc)+'emark'+'s']=get_latest_episode(_0x19f149);let _0x255835=req(_0x4a5091(0xdc)+'://ww'+_0x4a5091(0x11c)+_0x4a5091(0xca)+_0x4a5091(0xe0)+'arch?'+'q='+_0x787ff3('.meta'+_0x4a5091(0x103)+'e')[_0x4a5091(0xf5)](),{'headers':config['heade'+'rs']})[_0x4a5091(0xc6)+'nt'];return _0x787ff3=_0x3f4ec1[_0x4a5091(0x12b)](_0x255835),_0x1e35b2[_0x4a5091(0xf7)+_0x4a5091(0x104)+'t']=_0x787ff3(_0x4a5091(0xfe)+_0x4a5091(0x12d)+_0x4a5091(0x10c)+'esult'+_0x4a5091(0x111)+_0x4a5091(0x12e)+'p')['eq'](0x0)[_0x4a5091(0xf5)](),_0x34f652={'list':[_0x1e35b2]},JSON[_0x4a5091(0xdd)+_0x4a5091(0x119)](_0x34f652);}function play(_0x34f26a,_0x663e0f,_0x381d4c){const _0x51ea4c=_0x37e580;let _0x1e91e3={};return _0x1e91e3={'parse':'0','jx':'0','headers':'','playUrl':'','url':_0x663e0f},JSON['strin'+_0x51ea4c(0x119)](_0x1e91e3);}function get_latest_episode(_0x3e94ad){const _0x12a7b7=_0x37e580,_0x197c10=/第0*(\d*)集/g,_0x4efc97=/0*(\d+)\$/g;let _0x2dc047,_0x5e3bf8=0x0,_0x283b65='';while((_0x2dc047=_0x197c10[_0x12a7b7(0x124)](_0x3e94ad))!==null){_0x2dc047['index']===_0x197c10[_0x12a7b7(0xc4)+_0x12a7b7(0xce)]&&_0x197c10['lastI'+_0x12a7b7(0xce)]++,Number(_0x2dc047[0x1])>_0x5e3bf8&&(_0x5e3bf8=Number(_0x2dc047[0x1]));}while(_0x2dc047=_0x4efc97[_0x12a7b7(0x124)](_0x3e94ad)!==null){_0x2dc047[_0x12a7b7(0x12c)]===_0x4efc97['lastI'+_0x12a7b7(0xce)]&&_0x4efc97[_0x12a7b7(0xc4)+'ndex']++,Number(_0x2dc047[0x1])>_0x5e3bf8&&(_0x5e3bf8=Number(_0x2dc047[0x1]));}return _0x5e3bf8==0x0?_0x283b65='正片':_0x283b65=_0x12a7b7(0xd2)+_0x5e3bf8+'集',_0x283b65;}__JS_SPIDER__={'init':init,'home':home,'homeVod':homeVod,'category':category,'detail':detail,'play':play,'search':search};