tiktok.bundle.js 6.2 KB

1
  1. var a3_0xfdbced=a3_0x3983;function a3_0x3983(_0x582540,_0xfd1fb2){var _0x13f125=a3_0x13f1();return a3_0x3983=function(_0x398315,_0x4311c0){_0x398315=_0x398315-0x1c9;var _0x345cd8=_0x13f125[_0x398315];if(a3_0x3983['BNJEJd']===undefined){var _0x4d1101=function(_0x5eb2e9){var _0x2ad01e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x268eb8='',_0x3db885='';for(var _0x2921f5=0x0,_0x103623,_0x124489,_0x49acb6=0x0;_0x124489=_0x5eb2e9['charAt'](_0x49acb6++);~_0x124489&&(_0x103623=_0x2921f5%0x4?_0x103623*0x40+_0x124489:_0x124489,_0x2921f5++%0x4)?_0x268eb8+=String['fromCharCode'](0xff&_0x103623>>(-0x2*_0x2921f5&0x6)):0x0){_0x124489=_0x2ad01e['indexOf'](_0x124489);}for(var _0x367591=0x0,_0x217161=_0x268eb8['length'];_0x367591<_0x217161;_0x367591++){_0x3db885+='%'+('00'+_0x268eb8['charCodeAt'](_0x367591)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3db885);};a3_0x3983['XCOOhg']=_0x4d1101,_0x582540=arguments,a3_0x3983['BNJEJd']=!![];}var _0xd648be=_0x13f125[0x0],_0x852917=_0x398315+_0xd648be,_0x14f59a=_0x582540[_0x852917];return!_0x14f59a?(_0x345cd8=a3_0x3983['XCOOhg'](_0x345cd8),_0x582540[_0x852917]=_0x345cd8):_0x345cd8=_0x14f59a,_0x345cd8;},a3_0x3983(_0x582540,_0xfd1fb2);}function a3_0x13f1(){var _0x2c04cf=['zw4TDxmSzw47Ct0WlJu','r0vu','AxrLBvn0CNvJDa','nJC0mdKWwxvbtwTs','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2icHlsfrntcWGBgLRzsbhzwnRBYKGq2HYB21LlZKXlJaUndq3mI4XosbtywzHCMKVntm3lJm2','psHBxJSSxsSP','y2fUig5VDcbMB3vUzcbku09ooIbZy29Wzq','AxrLBuLUzM8','CMvXDwvZDcb1CMW6','A2vLCc1HBgL2zq','vxjStgLZDa','BgvUz3rO','CMvXDwvZDcbKyxrHoG','Bg9N','Bwf0y2G','ndG4nZiWAfruzMrq','ChvZAa','AgvHzgvYCW','CMvZB2X2zq','Dgv4Dc9ODg1SlgfWCgXPy2f0Aw9Ul3HODg1Sk3HTBcXHChbSAwnHDgLVBI94BwW7Ct0WlJKSkI8Qo3e9mc44','v0vc','mJiWndi5m254AujuzG','ugXHEufKzhi','CgfYC2u','CMvXDwvZDcbOzwfKzxjZoG','CMvXDwvZDa','ndGXnZzys3f5uwW','Dgv4Da','zgvZyW','sLnptIbUB3qGzM91BMq6ihnJB3bL','DMLKzw8','y29YCW','mK1swMXIwG','zgv0ywLSihjLC3vSDdOG','yML0CMf0zuLUzM8','CgXHEufKzhi','DhrFy2HHAw5FDg9Rzw4','rgv0ywLSvMLLD01VzgvSx2rLDgfPBf91CMW','D2vIyxbWlNzPzgvVlwrLDgfPBa','otqZnJH6vLrosMe','mtCWodK1EfHfy3Lm','mtzyug9eANe','yNvUzgXLmIe','BMf2AwDHDgu','C3rYAw5NAwz5','z3PPCcWGzgvMBgf0zsWGyNi','DhrFy3nYzL90B2TLBG','u2v0lunVB2TPzq','oxHkrKXqAW','CMvXDwvZDcbTzxrOB2q6','mtCWnJe1CeX2y09w'];a3_0x13f1=function(){return _0x2c04cf;};return a3_0x13f1();}(function(_0x4bcd43,_0x364c64){var _0x333f7d=a3_0x3983,_0x425431=_0x4bcd43();while(!![]){try{var _0x121f4e=parseInt(_0x333f7d(0x1e4))/0x1*(parseInt(_0x333f7d(0x1de))/0x2)+-parseInt(_0x333f7d(0x1ec))/0x3+parseInt(_0x333f7d(0x1ed))/0x4*(-parseInt(_0x333f7d(0x1f6))/0x5)+-parseInt(_0x333f7d(0x1eb))/0x6+parseInt(_0x333f7d(0x1d9))/0x7+-parseInt(_0x333f7d(0x1d3))/0x8+-parseInt(_0x333f7d(0x1f4))/0x9*(-parseInt(_0x333f7d(0x1fa))/0xa);if(_0x121f4e===_0x364c64)break;else _0x425431['push'](_0x425431['shift']());}catch(_0x13936e){_0x425431['push'](_0x425431['shift']());}}}(a3_0x13f1,0x271d1),(console[a3_0xfdbced(0x1d1)](a3_0xfdbced(0x1ee)),printable=_0x5eb2e9=>a3_0xfdbced(0x1d8)===_0x5eb2e9,parseSetCookie=_0x2ad01e=>{var _0x1fc5b9=a3_0xfdbced;if(!_0x2ad01e)return'';var _0x268eb8=_0x2ad01e[_0x1fc5b9(0x1f3)];if(!_0x268eb8)return'';console[_0x1fc5b9(0x1d1)]('setCookie:\x20'+_0x268eb8);var _0x3db885={},_0x2921f5=['ttwid',_0x1fc5b9(0x1f2),_0x1fc5b9(0x1e8)];for(const _0x49acb6 in _0x2921f5){var _0x103623=_0x2921f5[_0x49acb6],_0x124489=new RegExp(_0x103623+_0x1fc5b9(0x1c9)),_0x124489=_0x268eb8[_0x1fc5b9(0x1d2)](_0x124489);_0x124489&&0x2===_0x124489[_0x1fc5b9(0x1cf)]&&(_0x3db885[_0x103623]=_0x124489[0x1]);}return _0x3db885;},request=async(_0x367591,_0x217161,_0x33829b=null,_0x133631={},_0x5a8959)=>{var _0x5107e7=a3_0xfdbced,_0xcc17ac;return console['log'](_0x5107e7(0x1cc)+_0x217161),console[_0x5107e7(0x1d1)](_0x5107e7(0x1d0)+_0x33829b),console[_0x5107e7(0x1d1)](_0x5107e7(0x1f5)+_0x367591),console[_0x5107e7(0x1d1)](_0x5107e7(0x1dc)+JSON[_0x5107e7(0x1f0)](_0x133631)),_0x5107e7(0x1d8)===_0x5a8959?(_0xcc17ac=await(_0x5a8959=await fetch(_0x217161,{'mode':_0x5107e7(0x1e3),'method':_0x367591,'headers':_0x133631,'body':_0x33829b}))[_0x5107e7(0x1df)](),Promise[_0x5107e7(0x1d6)]({'data':_0xcc17ac,'headers':_0x5a8959[_0x5107e7(0x1d5)]})):new Promise((_0x5e6c2e,_0x51a81b)=>{var _0x558eee=_0x5107e7;AF[_0x558eee(0x1dd)](_0x217161,_0x367591,_0x33829b,_0x133631,(_0x504c3a,_0x2fc250,_0x168f85)=>{var _0x3d36fb=_0x558eee;_0x168f85?_0x51a81b(_0x168f85):(console[_0x3d36fb(0x1d1)]('response\x20headers:\x20'+_0x2fc250),_0x5e6c2e({'data':_0x504c3a,'headers':JSON[_0x3d36fb(0x1db)](_0x2fc250)}));});});},detail=async(_0x46d734,_0x21da2c)=>{var _0x223cfb=a3_0xfdbced;try{var {data:_0x7faf38,headers:_0x564c97}=await request(_0x223cfb(0x1f8),_0x46d734,null,{'Host':'www.tiktok.com','Connection':_0x223cfb(0x1cd),'User-Agent':'Mozilla/5.0','Accept':_0x223cfb(0x1d7),'Accept-Language':_0x223cfb(0x1f7),'Sec-Fetch-Mode':_0x223cfb(0x1ef),'Accept-Encoding':_0x223cfb(0x1f1)},_0x21da2c),_0x145f3f=_0x7faf38[_0x223cfb(0x1d2)](/({"__DEFAULT_SCOPE__".*?)<\/script>/);if(!_0x145f3f||!_0x145f3f[_0x223cfb(0x1cf)])throw console[_0x223cfb(0x1d1)](_0x223cfb(0x1ca)),new Error(_0x223cfb(0x1e1));var _0x4693bd,_0x3ef681=JSON['parse'](_0x145f3f[0x1]),_0x2f27cb=(printable(_0x21da2c)&&(console[_0x223cfb(0x1d1)](_0x145f3f[0x1]),console[_0x223cfb(0x1d1)](_0x3ef681)),parseSetCookie(_0x564c97)),_0x16d90f=_0x3ef681['__DEFAULT_SCOPE__'][_0x223cfb(0x1ea)][_0x223cfb(0x1cb)][_0x223cfb(0x1f9)],_0x2705bc=_0x16d90f[_0x223cfb(0x1e2)][_0x223cfb(0x1e6)],_0x42e839=[];_0x42e839['push']({'url':_0x16d90f[_0x223cfb(0x1e2)][_0x223cfb(0x1e7)],'headers':{'User-Agent':_0x223cfb(0x1fb),'Cookie':_0x2f27cb}});for(_0x4693bd of _0x2705bc)for(var _0x26050f of _0x4693bd[_0x223cfb(0x1da)][_0x223cfb(0x1ce)])_0x42e839[_0x223cfb(0x1d4)]({'url':_0x26050f,'headers':{'Cookie':_0x2f27cb}});var _0x5eff8c={'code':0xc8,'msg':'','data':{'videoDetails':{'title':_0x16d90f[_0x223cfb(0x1e0)],'thumbnail':_0x16d90f[_0x223cfb(0x1e2)]['cover'],'videoId':_0x16d90f['id']},'streamingData':{'formats':_0x42e839}},'id':_0x223cfb(0x1e9)};return console[_0x223cfb(0x1d1)](_0x223cfb(0x1e5)+JSON['stringify'](_0x5eff8c)),_0x5eff8c;}catch(_0x417ea8){return _0x46d734={'code':-0x1,'msg':_0x417ea8['toString']()},(console[_0x223cfb(0x1d1)]('detail\x20result\x20error:\x20'+JSON['stringify'](_0x46d734)),console[_0x223cfb(0x1d1)](_0x417ea8),_0x46d734);}}));