almtools 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/tools.js +1 -1
- package/package.json +2 -3
package/lib/tools.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x5d7cd0,_0x357585){const _0x4579a1=_0x1808,_0x1c318a=_0x5d7cd0();while(!![]){try{const _0x1070e8=-parseInt(_0x4579a1(0x206))/0x1+parseInt(_0x4579a1(0x249))/0x2+-parseInt(_0x4579a1(0x233))/0x3*(parseInt(_0x4579a1(0x245))/0x4)+parseInt(_0x4579a1(0x218))/0x5*(-parseInt(_0x4579a1(0x20b))/0x6)+parseInt(_0x4579a1(0x1f4))/0x7+-parseInt(_0x4579a1(0x23d))/0x8+parseInt(_0x4579a1(0x229))/0x9*(parseInt(_0x4579a1(0x1ff))/0xa);if(_0x1070e8===_0x357585)break;else _0x1c318a['push'](_0x1c318a['shift']());}catch(_0x1493da){_0x1c318a['push'](_0x1c318a['shift']());}}}(_0x451b,0xe66dc));function _0x1808(_0x3b91a8,_0x3a578f){const _0x451be7=_0x451b();return _0x1808=function(_0x1808fb,_0x328e57){_0x1808fb=_0x1808fb-0x1e9;let _0x428efd=_0x451be7[_0x1808fb];return _0x428efd;},_0x1808(_0x3b91a8,_0x3a578f);}const _0x101594=_0x40c8;(function(_0x31c71f,_0x218d7a){const _0x53b8bc=_0x1808,_0x383800=_0x40c8,_0x3d982c=_0x31c71f();while(!![]){try{const _0x14203f=parseInt(_0x383800(0xdf))/0x1+parseInt(_0x383800(0xf2))/0x2*(parseInt(_0x383800(0x105))/0x3)+parseInt(_0x383800(0x100))/0x4*(-parseInt(_0x383800(0xc8))/0x5)+parseInt(_0x383800(0xc6))/0x6+parseInt(_0x383800(0xd0))/0x7*(parseInt(_0x383800(0xf1))/0x8)+-parseInt(_0x383800(0xf8))/0x9+parseInt(_0x383800(0xb5))/0xa;if(_0x14203f===_0x218d7a)break;else _0x3d982c[_0x53b8bc(0x217)](_0x3d982c['shift']());}catch(_0x4ff255){_0x3d982c[_0x53b8bc(0x217)](_0x3d982c[_0x53b8bc(0x23a)]());}}}(_0x49c4,0xa491a));const cheerio=require('cheerio'),axios=require(_0x101594(0xe5)),fetch=require(_0x101594(0xff));function tiktok(_0x590922){return new Promise(async(_0xdaa3cc,_0x22dd20)=>{const _0x3f8dd1=_0x1808,_0x1456a5=_0x40c8;try{const _0x8a37dd=new URLSearchParams();_0x8a37dd[_0x1456a5(0xc0)](_0x3f8dd1(0x209),_0x590922),_0x8a37dd[_0x1456a5(0xc0)]('hd','1');const _0x15a96a=await axios({'method':_0x1456a5(0xf3),'url':_0x1456a5(0xc4),'headers':{'Content-Type':_0x1456a5(0x102),'Cookie':_0x1456a5(0xbc),'User-Agent':_0x1456a5(0xe6)},'data':_0x8a37dd}),_0x27a737=await axios[_0x3f8dd1(0x205)](_0x1456a5(0xeb)+_0x590922+_0x3f8dd1(0x1fa)),_0x3c8e6c=cheerio[_0x1456a5(0xe9)](_0x27a737[_0x3f8dd1(0x24e)]);let _0x340ec8=[],_0xeded8e=[];_0x3c8e6c(_0x3f8dd1(0x248))[_0x1456a5(0xf0)]((_0x5daef4,_0x3b6a1c)=>{const _0x16c816=_0x3f8dd1,_0x354dde=_0x1456a5;_0x340ec8[_0x354dde(0xfc)](_0x3c8e6c(_0x3b6a1c)[_0x354dde(0xd3)](_0x16c816(0x215)));}),_0xeded8e[_0x1456a5(0xfc)]({'img':_0x340ec8});let _0x2c5104=_0x340ec8[_0x1456a5(0xe0)]((_0x40efe1,_0x4dab6b)=>{return _0x40efe1;});const _0x2c7560=_0x15a96a[_0x1456a5(0xfb)][_0x1456a5(0xfb)];let _0x36fe5c;_0x2c5104[_0x1456a5(0x106)]===0x0?_0x36fe5c={'author':_0x3f8dd1(0x220),'result':{'title':_0x2c7560[_0x1456a5(0xfd)],'mediatype':_0x1456a5(0xd7),'media':_0x2c7560[_0x1456a5(0xee)],'audio':_0x2c7560[_0x1456a5(0xf4)]}}:_0x36fe5c={'author':_0x1456a5(0xc5),'result':{'title':_0x2c7560[_0x1456a5(0xfd)],'mediatype':'image','media':_0x2c5104,'audio':_0x2c7560[_0x1456a5(0xf4)]}},_0xdaa3cc(_0x36fe5c);}catch(_0x573dff){_0x22dd20({'author':_0x1456a5(0xc5),'result':_0x1456a5(0xd1)});}});}function spotify(_0x2c584b){return new Promise(async(_0x53c5a0,_0x4e073e)=>{const _0x4bfb13=_0x1808,_0x1597ee=_0x40c8;try{const _0x3763ab=await axios[_0x1597ee(0xc9)]('https://api.fabdl.com/spotify/get?url='+encodeURIComponent(_0x2c584b),{'headers':{'accept':_0x1597ee(0x101),'accept-language':_0x4bfb13(0x224),'sec-ch-ua':_0x4bfb13(0x23e),'sec-ch-ua-mobile':'?1','sec-ch-ua-platform':_0x1597ee(0xbd),'sec-fetch-dest':_0x1597ee(0xd6),'sec-fetch-mode':_0x1597ee(0xc1),'sec-fetch-site':_0x1597ee(0xc2),'Referer':_0x1597ee(0x104),'Referrer-Policy':_0x1597ee(0x103)}}),_0x5f255f=await axios[_0x1597ee(0xc9)](_0x1597ee(0xe4)+_0x3763ab[_0x1597ee(0xfb)][_0x1597ee(0xde)][_0x1597ee(0xec)]+'/'+_0x3763ab[_0x1597ee(0xfb)][_0x1597ee(0xde)]['id'],{'headers':{'accept':_0x4bfb13(0x22e),'accept-language':_0x1597ee(0xe2),'sec-ch-ua':_0x1597ee(0xb7),'sec-ch-ua-mobile':'?1','sec-ch-ua-platform':_0x1597ee(0xbd),'sec-fetch-dest':_0x4bfb13(0x1f0),'sec-fetch-mode':_0x4bfb13(0x213),'sec-fetch-site':_0x1597ee(0xc2),'Referer':_0x4bfb13(0x24b),'Referrer-Policy':_0x1597ee(0x103)}}),_0x27beba={'author':_0x1597ee(0xc5),'result':{'title':_0x3763ab[_0x1597ee(0xfb)][_0x1597ee(0xde)][_0x4bfb13(0x1ef)],'artist':_0x3763ab[_0x1597ee(0xfb)][_0x4bfb13(0x227)][_0x4bfb13(0x20e)],'thumbnail':_0x3763ab[_0x1597ee(0xfb)][_0x4bfb13(0x227)][_0x4bfb13(0x246)],'url':_0x1597ee(0xdd)+_0x5f255f[_0x4bfb13(0x24e)][_0x1597ee(0xde)][_0x4bfb13(0x223)],'duration':_0x3763ab[_0x1597ee(0xfb)][_0x1597ee(0xde)][_0x1597ee(0xef)]}};_0x53c5a0(_0x27beba);}catch(_0x38ceea){_0x4e073e({'author':_0x4bfb13(0x220),'result':_0x4bfb13(0x219)});}});}function _0x40c8(_0x286182,_0x17ad8e){const _0x565718=_0x49c4();return _0x40c8=function(_0x74c1c8,_0x133413){_0x74c1c8=_0x74c1c8-0xb3;let _0x278f49=_0x565718[_0x74c1c8];return _0x278f49;},_0x40c8(_0x286182,_0x17ad8e);}function _0x49c4(){const _0x81933a=_0x1808,_0x21eb91=[_0x81933a(0x1fc),_0x81933a(0x236),_0x81933a(0x235),'load',_0x81933a(0x244),_0x81933a(0x20d),_0x81933a(0x210),_0x81933a(0x240),_0x81933a(0x1f7),_0x81933a(0x226),'each',_0x81933a(0x1f6),_0x81933a(0x21c),_0x81933a(0x211),_0x81933a(0x1ec),_0x81933a(0x21d),_0x81933a(0x1eb),_0x81933a(0x1fe),'9137484dNUrvW',_0x81933a(0x202),_0x81933a(0x242),'data',_0x81933a(0x217),_0x81933a(0x23c),_0x81933a(0x20c),_0x81933a(0x200),_0x81933a(0x1f9),_0x81933a(0x22e),_0x81933a(0x23f),'strict-origin-when-cross-origin',_0x81933a(0x24b),_0x81933a(0x1fd),_0x81933a(0x20f),_0x81933a(0x1f8),_0x81933a(0x208),_0x81933a(0x201),_0x81933a(0x22c),'\x22Not)A;Brand\x22;v=\x2224\x22,\x20\x22Chromium\x22;v=\x22116\x22',_0x81933a(0x1f1),_0x81933a(0x21e),'text',_0x81933a(0x1f3),_0x81933a(0x204),_0x81933a(0x222),_0x81933a(0x212),_0x81933a(0x225),_0x81933a(0x22f),_0x81933a(0x213),_0x81933a(0x24d),'all','https://tikwm.com/api/',_0x81933a(0x220),_0x81933a(0x232),_0x81933a(0x234),_0x81933a(0x231),_0x81933a(0x205),_0x81933a(0x23b),_0x81933a(0x241),_0x81933a(0x22d),_0x81933a(0x1ee),_0x81933a(0x22b),_0x81933a(0x1ea),_0x81933a(0x24c),_0x81933a(0x219),_0x81933a(0x216),_0x81933a(0x230),_0x81933a(0x24a),'mp3Url',_0x81933a(0x1f0),_0x81933a(0x243),_0x81933a(0x21b),_0x81933a(0x207),_0x81933a(0x239),_0x81933a(0x1e9),_0x81933a(0x238),_0x81933a(0x203),'result','459069TlKAcN',_0x81933a(0x1f2),_0x81933a(0x22a),_0x81933a(0x224),_0x81933a(0x221),_0x81933a(0x1f5),_0x81933a(0x247)];return _0x49c4=function(){return _0x21eb91;},_0x49c4();};async function instagram(_0x5c13ec){return new Promise(async(_0x354a09,_0x39f7dd)=>{const _0x563366=_0x1808,_0x205941=_0x40c8,_0x47cec2=new URLSearchParams(Object[_0x205941(0xcf)]({'url':_0x5c13ec,'host':_0x205941(0xbb)}));await axios[_0x563366(0x237)]({'method':_0x563366(0x211),'baseURL':_0x205941(0xd8),'data':_0x47cec2,'headers':{'content-type':_0x205941(0x102),'cookie':_0x205941(0xb6),'user-agent':_0x563366(0x1fc)}})[_0x205941(0xb9)](_0x6c4e3f=>{const _0xae71bc=_0x563366,_0xbf9649=_0x205941,_0x3bbd08=cheerio[_0xbf9649(0xe9)](_0x6c4e3f[_0xbf9649(0xfb)]),_0x556d45=_0x3bbd08(_0xbf9649(0xdb))[_0xbf9649(0xe0)]((_0x381f6f,_0x333d73)=>{const _0x184277=_0xbf9649;return'https://saveinsta.io/'+_0x3bbd08(_0x333d73)[_0x184277(0xcc)](_0x184277(0xcb))[_0x184277(0xd3)](_0x184277(0xd9));})[_0xae71bc(0x205)](),_0xf705d9={'author':_0xbf9649(0xc5),'result':{'media':_0x556d45}};_0x354a09(_0xf705d9);})[_0x205941(0xfa)](_0x4d94d9=>{const _0x43dd3d=_0x563366,_0x3f122f=_0x205941;console[_0x3f122f(0xbf)](_0x4d94d9),_0x39f7dd({'author':_0x3f122f(0xc5),'result':_0x43dd3d(0x219)});});});}function joox(_0x39e887){return new Promise((_0x4906e4,_0x490084)=>{const _0x2d5853=_0x1808,_0x2db23d=_0x40c8,_0xb0d8e2=Math[_0x2d5853(0x1ed)](new Date()/0x3e8);try{axios[_0x2d5853(0x205)](_0x2db23d(0xda)+_0x39e887+_0x2d5853(0x21f)+_0xb0d8e2)[_0x2db23d(0xb9)](({data:_0x39e171})=>{const _0x375e9a=_0x2d5853,_0x3869c0=_0x2db23d;let _0x4724d5=[],_0x1dcecd=[],_0x202b8d=[],_0x229513=[];_0x39e171[_0x375e9a(0x244)][_0x3869c0(0xb3)](_0x2ad09c=>{const _0x5c947b=_0x375e9a,_0x20eb1a=_0x3869c0;_0x229513[_0x20eb1a(0xfc)](_0x2ad09c[_0x5c947b(0x228)]);});for(let _0x538ad2=0x0;_0x538ad2<_0x39e171[_0x3869c0(0xea)][_0x375e9a(0x20f)];_0x538ad2++){const _0x37c4a8=_0x375e9a(0x214)+_0x229513[_0x538ad2];_0x202b8d[_0x3869c0(0xfc)](axios[_0x3869c0(0xc9)](_0x37c4a8,{'headers':{'Cookie':_0x3869c0(0xe8)}})[_0x3869c0(0xb9)](({data:_0x5f44c4})=>{const _0x4576bc=_0x375e9a,_0x469b21=_0x3869c0,_0x817176=JSON[_0x4576bc(0x20a)](_0x5f44c4[_0x4576bc(0x202)](_0x469b21(0xe1),'')[_0x469b21(0xf9)]('\x0a)',''));_0x1dcecd[_0x469b21(0xfc)]({'sound':_0x817176[_0x469b21(0xe7)],'album':_0x817176[_0x469b21(0xcd)],'penyanyi':_0x817176[_0x4576bc(0x1fb)],'publish':_0x817176[_0x469b21(0xc7)],'img':_0x817176[_0x469b21(0xe3)],'mp3':_0x817176[_0x469b21(0xd5)]}),Promise[_0x469b21(0xc3)](_0x202b8d)[_0x4576bc(0x21e)](()=>_0x4906e4({'author':_0x469b21(0xc5),'result':_0x1dcecd}));})[_0x375e9a(0x242)](_0x490084));}})[_0x2db23d(0xfa)](_0x490084);}catch(_0x3fa574){_0x490084({'author':_0x2d5853(0x220),'result':_0x2db23d(0xd1)});}});}function xnxx(_0x34fdc6){return new Promise((_0x4123bb,_0x3fb012)=>{const _0x23e87f=_0x40c8;fetch(''+_0x34fdc6,{'method':_0x23e87f(0xc9)})[_0x23e87f(0xb9)](_0x1f5b9b=>_0x1f5b9b[_0x23e87f(0xba)]())[_0x23e87f(0xb9)](_0x172d4f=>{const _0x583abc=_0x1808,_0x5483f5=_0x23e87f;let _0x3f3bc7=cheerio[_0x5483f5(0xe9)](_0x172d4f,{'xmlMode':!0x1});const _0x507d43=_0x3f3bc7(_0x5483f5(0xbe))[_0x5483f5(0xd3)](_0x5483f5(0xd4)),_0x4ebd5e=_0x3f3bc7(_0x5483f5(0xce))['attr'](_0x5483f5(0xd4)),_0xe772de=_0x3f3bc7(_0x5483f5(0xfe))[_0x5483f5(0xd3)](_0x5483f5(0xd4)),_0x13109c=_0x3f3bc7(_0x5483f5(0xed))[_0x583abc(0x230)](_0x583abc(0x24a)),_0x47e135=_0x3f3bc7(_0x5483f5(0xca))[_0x5483f5(0xd3)](_0x583abc(0x24a)),_0x1b731f=_0x3f3bc7(_0x5483f5(0xd2))[_0x5483f5(0xd3)](_0x5483f5(0xd4)),_0x35c1be=_0x3f3bc7(_0x5483f5(0xf6))[_0x5483f5(0xba)]()[_0x5483f5(0xdc)](),_0x59607f=_0x3f3bc7(_0x583abc(0x21a))[_0x5483f5(0xb4)](),_0x562ffb={'low':(_0x59607f[_0x583abc(0x21d)](_0x5483f5(0xf7))||[])[0x1],'high':_0x59607f[_0x5483f5(0xf5)](_0x583abc(0x24f))[0x1]};_0x4123bb({'author':_0x5483f5(0xc5),'result':{'title':_0x507d43,'duration':_0x4ebd5e,'thumbnail':_0xe772de,'info':_0x35c1be,'media':_0x562ffb}});})[_0x23e87f(0xfa)](_0x13e6b3=>_0x3fb012({'author':_0x23e87f(0xc5),'result':_0x23e87f(0xd1)}));});}function _0x451b(){const _0x2853cb=['music','floor','malbum','name','empty','exports','map','instagram','11368378kxKaAl','https://api.fabdl.com/spotify/mp3-convert-task/','8YmAkwI','play','forEach','3147644wNUDZm','&token=G7eRpMaa','msinger','Mozilla/5.0\x20(Linux;\x20Android\x2010;\x20K)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20Chrome/116.0.0.0\x20Mobile\x20Safari/537.36','6SXNgjH','html5player.setVideoUrlLow\x5c(\x27(.*?)\x27\x5c);','6893070ONZMgH','node-fetch','7517670qgxNZD','replace','https://api.fabdl.com','current_language=en','get','1574525IqGlfR','href','html','url','parse','738678aIYyWz','meta[property=\x22og:image\x22]','https://dlpanda.com/id?url=','artists','length','gid','POST','meta[property=\x22og:title\x22]','cors','http://api.joox.com/web-fcgi-bin/web_get_songinfo?songid=','src','meta[property=\x22og:video:height\x22]','push','15SEfVQm','Internal\x20server\x20error','#video-player-bg\x20>\x20script:nth-child(6)','https://saveinsta.io/core/ajax.php','273550NNrNOY','match','then','&pn=1&sin=0&ein=29&_=','Nezzx','imgSrc','\x22Android\x22','download_url','id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7','log','duration_ms','result','songid','27odZQKC','MusicInfoCallback(','meta[property=\x22og:duration\x22]','PHPSESSID=rmer1p00mtkqv64ai0pa429d4o','find','application/json,\x20text/plain,\x20*/*','set','attr','5ryzhix','63654UffNuG','2801307lDtQYV','public_time','wmid=142420656;\x20user_type=1;\x20country=id;\x20session_key=2a5d97d05dc8fe238150184eaf3519ad;','msong','request','trim','http://api.joox.com/web-fcgi-bin//web_search?lang=id&country=id&type=0&search_input=','shift','meta[property=\x22og:video:width\x22]','title','3176752WOUMdW','\x22Not)A;Brand\x22;v=\x2224\x22,\x20\x22Chromium\x22;v=\x22116\x22','application/x-www-form-urlencoded;\x20charset=UTF-8','meta[property=\x22og:video:type\x22]','div.col-md-8.mx-auto\x20>\x20a','catch','video','itemlist','4GKpaUB','image','axios','div.col-md-12\x20>\x20img','1053176XAAgRR','content','https://spotifydownload.org/','6868862gDkjbt','cross-site','data','html5player.setVideoUrlHigh\x5c(\x27(.*?)\x27\x5c);','div.row\x20>\x20div.col-md-12\x20>\x20div.row.story-container.mt-4.pb-4.border-bottom','entries','span.metadata'];_0x451b=function(){return _0x2853cb;};return _0x451b();}module[_0x101594(0xb8)]={'tiktok':tiktok,'spotify':spotify,'instagram':instagram,'joox':joox,'xnxx':xnxx};
|
|
1
|
+
function _0x2bbd(){const _0x2fba9c=['html','play','strict-origin-when-cross-origin','empty','https://saveinsta.io/','\x22Android\x22','match','axios','POST','push','shift','MusicInfoCallback(','145327oCZqIM','then','8hBAgnz','443047vpmQtr','7091610bEDqWz','9AUZVzF','13303060eVoVqf','30aiAnQn','content','4hhkMgc','itemlist','3MnttxO','meta[property=\x22og:video:width\x22]','cors','each','6nDVlnt','https://api.fabdl.com','14286648svurfZ','application/x-www-form-urlencoded;\x20charset=UTF-8','div.col-md-12\x20>\x20img','meta[property=\x22og:title\x22]','2025370DKqozi','download_url','327148vegfsE','id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7','replace','songid','238686RXzfEo','wmid=142420656;\x20user_type=1;\x20country=id;\x20session_key=2a5d97d05dc8fe238150184eaf3519ad;','image','html5player.setVideoUrlLow\x5c(\x27(.*?)\x27\x5c);','https://dlpanda.com/id?url=','current_language=en','https://api.fabdl.com/spotify/get?url=','music','cheerio','map','Nezzx','get','https://saveinsta.io/core/ajax.php','107968QaNeqk','601983BQuBQd','text','entries','attr','http://api.joox.com/web-fcgi-bin/web_get_songinfo?songid=','17498MDaeDR','https://api.fabdl.com/spotify/mp3-convert-task/','url','940120dmWzCM','span.metadata','exports','132ZUAetJ','1608640ylEYDR','parse','3212540rJLqqk','PHPSESSID=rmer1p00mtkqv64ai0pa429d4o','html5player.setVideoUrlHigh\x5c(\x27(.*?)\x27\x5c);','request','http://api.joox.com/web-fcgi-bin//web_search?lang=id&country=id&type=0&search_input=','log','duration_ms','&pn=1&sin=0&ein=29&_=','msong','application/json,\x20text/plain,\x20*/*','1130412ggGZQJ','1042008jIapsc','forEach','src','load','https://tikwm.com/api/','7569JJYmkX','mp3Url','gid','cross-site','meta[property=\x22og:video:height\x22]','set','#video-player-bg\x20>\x20script:nth-child(6)','&token=G7eRpMaa','2oxHFfo','catch','msinger','277695AtOUed'];_0x2bbd=function(){return _0x2fba9c;};return _0x2bbd();}(function(_0x17136a,_0xd5882e){const _0x466733=_0x5c10,_0x3cba71=_0x17136a();while(!![]){try{const _0x108189=-parseInt(_0x466733(0x155))/0x1+-parseInt(_0x466733(0x16b))/0x2*(-parseInt(_0x466733(0x144))/0x3)+parseInt(_0x466733(0x13a))/0x4+parseInt(_0x466733(0x197))/0x5+parseInt(_0x466733(0x196))/0x6*(parseInt(_0x466733(0x162))/0x7)+-parseInt(_0x466733(0x173))/0x8+-parseInt(_0x466733(0x167))/0x9*(-parseInt(_0x466733(0x166))/0xa);if(_0x108189===_0xd5882e)break;else _0x3cba71['push'](_0x3cba71['shift']());}catch(_0x5eae61){_0x3cba71['push'](_0x3cba71['shift']());}}}(_0x2bbd,0xef770),function(_0x5ced97,_0x3bd34e){const _0x5c1282=_0x5c10,_0x2b6091=_0x4c0b,_0x2e0bca=_0x5ced97();while(!![]){try{const _0x486a66=parseInt(_0x2b6091(0xb9))/0x1*(-parseInt(_0x2b6091(0xa3))/0x2)+parseInt(_0x2b6091(0xb8))/0x3*(parseInt(_0x2b6091(0xa6))/0x4)+parseInt(_0x2b6091(0xb1))/0x5+-parseInt(_0x2b6091(0xd2))/0x6*(-parseInt(_0x2b6091(0xc7))/0x7)+parseInt(_0x2b6091(0xc3))/0x8*(-parseInt(_0x2b6091(0xab))/0x9)+-parseInt(_0x2b6091(0xc2))/0xa+parseInt(_0x2b6091(0xa9))/0xb;if(_0x486a66===_0x3bd34e)break;else _0x2e0bca['push'](_0x2e0bca['shift']());}catch(_0x37d6ff){_0x2e0bca[_0x5c1282(0x15f)](_0x2e0bca[_0x5c1282(0x160)]());}}}(_0x1829,0x1c15a));const _0x565a13=_0x359b;(function(_0x293068,_0x2c7c99){const _0x3f24e6=_0x5c10,_0x5e3e93=_0x4c0b,_0x1a0c43=_0x359b,_0x135d14=_0x293068();while(!![]){try{const _0x2733b5=-parseInt(_0x1a0c43(0xc5))/0x1+parseInt(_0x1a0c43(0xee))/0x2*(parseInt(_0x1a0c43(0xcc))/0x3)+parseInt(_0x1a0c43(0xbe))/0x4*(parseInt(_0x1a0c43(0xf5))/0x5)+parseInt(_0x1a0c43(0xdf))/0x6+parseInt(_0x1a0c43(0xe2))/0x7+-parseInt(_0x1a0c43(0xe8))/0x8*(-parseInt(_0x1a0c43(0xb7))/0x9)+-parseInt(_0x1a0c43(0xab))/0xa;if(_0x2733b5===_0x2c7c99)break;else _0x135d14[_0x5e3e93(0xe6)](_0x135d14[_0x3f24e6(0x160)]());}catch(_0x2a79aa){_0x135d14[_0x5e3e93(0xe6)](_0x135d14[_0x5e3e93(0xef)]());}}}(_0x3b67,0xbc28d));const cheerio=require(_0x565a13(0xe6)),axios=require(_0x565a13(0xae));function tiktok(_0x101669){return new Promise(async(_0x2cd4c9,_0x20a331)=>{const _0x5a023b=_0x5c10,_0x5c25db=_0x4c0b,_0x351e68=_0x359b;try{const _0x91b9a3=new URLSearchParams();_0x91b9a3[_0x351e68(0xaf)](_0x351e68(0xf0),_0x101669),_0x91b9a3[_0x351e68(0xaf)]('hd','1');const _0x5377e8=await axios({'method':_0x5c25db(0xaa),'url':_0x351e68(0xbc),'headers':{'Content-Type':_0x351e68(0xeb),'Cookie':_0x351e68(0xc6),'User-Agent':_0x5c25db(0xb5)},'data':_0x91b9a3}),_0x4775bc=await axios[_0x351e68(0xb2)](_0x351e68(0xd1)+_0x101669+_0x351e68(0xa5)),_0xea4f27=cheerio[_0x5a023b(0x148)](_0x4775bc[_0x351e68(0xd2)]);let _0x49a476=[],_0x102cac=[];_0xea4f27(_0x351e68(0xed))[_0x5c25db(0xc8)]((_0x273702,_0x17a7ca)=>{const _0x5c9358=_0x351e68;_0x49a476[_0x5c9358(0xb3)](_0xea4f27(_0x17a7ca)[_0x5c9358(0xce)](_0x5c9358(0xa4)));}),_0x102cac[_0x351e68(0xb3)]({'img':_0x49a476});let _0x51dea3=_0x49a476[_0x5c25db(0xc4)]((_0xa494ec,_0xf0f21e)=>{return _0xa494ec;});const _0x248841=_0x5377e8[_0x351e68(0xd2)][_0x351e68(0xd2)];let _0xbc8c13;_0x51dea3[_0x351e68(0xb9)]===0x0?_0xbc8c13={'author':_0x5c25db(0xd5),'result':{'title':_0x248841[_0x351e68(0xd5)],'mediatype':_0x351e68(0xf4),'media':_0x248841[_0x351e68(0xde)],'audio':_0x248841[_0x5a023b(0x184)]}}:_0xbc8c13={'author':_0x5c25db(0xd5),'result':{'title':_0x248841[_0x351e68(0xd5)],'mediatype':_0x351e68(0xf1),'media':_0x51dea3,'audio':_0x248841[_0x351e68(0xc7)]}},_0x2cd4c9(_0xbc8c13);}catch(_0xe1e699){_0x20a331({'author':_0x351e68(0xdb),'result':_0x351e68(0xc3)});}});}function spotify(_0x4c8d8e){return new Promise(async(_0x504914,_0x3debe3)=>{const _0x352e9a=_0x5c10,_0x32e71f=_0x4c0b,_0x57293a=_0x359b;try{const _0x5dc756=await axios[_0x57293a(0xb2)](_0x57293a(0xcb)+encodeURIComponent(_0x4c8d8e),{'headers':{'accept':_0x57293a(0xe9),'accept-language':_0x57293a(0xb1),'sec-ch-ua':_0x57293a(0xad),'sec-ch-ua-mobile':'?1','sec-ch-ua-platform':_0x352e9a(0x15b),'sec-fetch-dest':_0x57293a(0xd8),'sec-fetch-mode':_0x57293a(0xa7),'sec-fetch-site':_0x32e71f(0xac),'Referer':_0x57293a(0xc8),'Referrer-Policy':_0x32e71f(0xb2)}}),_0x565ab8=await axios[_0x32e71f(0xb6)](_0x57293a(0xcd)+_0x5dc756[_0x57293a(0xd2)][_0x57293a(0xb6)][_0x57293a(0xe3)]+'/'+_0x5dc756[_0x57293a(0xd2)][_0x57293a(0xb6)]['id'],{'headers':{'accept':_0x57293a(0xe9),'accept-language':_0x57293a(0xb1),'sec-ch-ua':_0x57293a(0xad),'sec-ch-ua-mobile':'?1','sec-ch-ua-platform':_0x57293a(0xd7),'sec-fetch-dest':_0x57293a(0xd8),'sec-fetch-mode':_0x57293a(0xa7),'sec-fetch-site':_0x57293a(0xd6),'Referer':_0x57293a(0xc8),'Referrer-Policy':_0x57293a(0xc4)}}),_0x33d9be={'author':_0x57293a(0xdb),'result':{'title':_0x5dc756[_0x57293a(0xd2)][_0x57293a(0xb6)][_0x57293a(0xa8)],'artist':_0x5dc756[_0x57293a(0xd2)][_0x57293a(0xb6)][_0x57293a(0xc9)],'thumbnail':_0x5dc756[_0x57293a(0xd2)][_0x57293a(0xb6)][_0x57293a(0xf1)],'url':_0x57293a(0xcf)+_0x565ab8[_0x57293a(0xd2)][_0x57293a(0xb6)][_0x32e71f(0xfa)],'duration':_0x5dc756[_0x57293a(0xd2)][_0x57293a(0xb6)][_0x32e71f(0xd6)]}};_0x504914(_0x33d9be);}catch(_0x1aa743){_0x3debe3({'author':_0x57293a(0xdb),'result':_0x32e71f(0xfd)});}});};async function instagram(_0x11a4ec){return new Promise(async(_0xbd3e8a,_0x4b1299)=>{const _0x151046=_0x5c10,_0x28c834=_0x4c0b,_0x18ca9a=_0x359b,_0x1af3db=new URLSearchParams(Object[_0x18ca9a(0xc0)]({'url':_0x11a4ec,'host':_0x28c834(0xc1)}));await axios[_0x18ca9a(0xc2)]({'method':_0x18ca9a(0xca),'baseURL':_0x18ca9a(0xc1),'data':_0x1af3db,'headers':{'content-type':_0x151046(0x174),'cookie':_0x18ca9a(0xbb),'user-agent':_0x18ca9a(0xe1)}})[_0x18ca9a(0xef)](_0x820b14=>{const _0x51105c=_0x28c834,_0x16c4c1=_0x18ca9a,_0x1d8630=cheerio[_0x16c4c1(0xda)](_0x820b14[_0x16c4c1(0xd2)]),_0x16eb6d=_0x1d8630(_0x16c4c1(0xd9))[_0x16c4c1(0xd3)]((_0x5c3af6,_0x1ddcfe)=>{const _0xbe0c78=_0x5c10,_0xa29678=_0x4c0b,_0x49c1f3=_0x16c4c1;return _0x49c1f3(0xe0)+_0x1d8630(_0x1ddcfe)[_0x49c1f3(0xea)](_0xa29678(0xb4))[_0xbe0c78(0x18e)](_0x49c1f3(0xb8));})[_0x51105c(0xb6)](),_0x4d87aa={'author':_0x51105c(0xd5),'result':{'media':_0x16eb6d}};_0xbd3e8a(_0x4d87aa);})[_0x18ca9a(0xe7)](_0xc42c5=>{const _0x14cf22=_0x18ca9a;console[_0x14cf22(0xdd)](_0xc42c5),_0x4b1299({'author':_0x14cf22(0xdb),'result':_0x14cf22(0xc3)});});});}function joox(_0x3d284b){return new Promise((_0x3f14bd,_0x3cc473)=>{const _0x45664d=_0x5c10,_0x24629a=_0x359b,_0x4ddfb0=Math[_0x24629a(0xb5)](new Date()/0x3e8);try{axios[_0x24629a(0xb2)](_0x24629a(0xb0)+_0x3d284b+_0x45664d(0x141)+_0x4ddfb0)[_0x24629a(0xef)](({data:_0x43cd1e})=>{const _0x2e569f=_0x45664d,_0x2703e4=_0x4c0b,_0x39a9cb=_0x24629a;let _0x271e68=[],_0x4618b3=[],_0x3b4618=[],_0x4e0df5=[];_0x43cd1e[_0x2e569f(0x16c)][_0x39a9cb(0xec)](_0x2afcb0=>{const _0x3e90a0=_0x4c0b,_0xee58a3=_0x39a9cb;_0x4e0df5[_0xee58a3(0xb3)](_0x2afcb0[_0x3e90a0(0xda)]);});for(let _0x4874d3=0x0;_0x4874d3<_0x43cd1e[_0x2703e4(0x102)][_0x39a9cb(0xb9)];_0x4874d3++){const _0x4290a4=_0x2703e4(0xbe)+_0x4e0df5[_0x4874d3];_0x3b4618[_0x39a9cb(0xb3)](axios[_0x2703e4(0xb6)](_0x4290a4,{'headers':{'Cookie':_0x2e569f(0x17e)}})[_0x2703e4(0xf5)](({data:_0x14a95d})=>{const _0x5f2b1f=_0x2703e4,_0x642228=_0x39a9cb,_0x315833=JSON[_0x642228(0xa3)](_0x14a95d['replace'](_0x5f2b1f(0xd8),'')[_0x642228(0xaa)]('\x0a)',''));_0x4618b3[_0x642228(0xb3)]({'sound':_0x315833[_0x642228(0xac)],'album':_0x315833[_0x642228(0xa2)],'penyanyi':_0x315833[_0x642228(0xf2)],'publish':_0x315833[_0x5f2b1f(0xbf)],'img':_0x315833[_0x5f2b1f(0xe3)],'mp3':_0x315833[_0x642228(0xe4)]}),Promise[_0x642228(0xf3)](_0x3b4618)[_0x642228(0xef)](()=>_0x3f14bd({'author':_0x642228(0xdb),'result':_0x4618b3}));})[_0x39a9cb(0xe7)](_0x3cc473));}})[_0x45664d(0x153)](_0x3cc473);}catch(_0x27089f){_0x3cc473({'author':_0x24629a(0xdb),'result':_0x24629a(0xc3)});}});}function _0x4c0b(_0x54d603,_0x4ca629){const _0x4d22a9=_0x1829();return _0x4c0b=function(_0x4c545f,_0x578d02){_0x4c545f=_0x4c545f-0xa2;let _0x1e0806=_0x4d22a9[_0x4c545f];return _0x1e0806;},_0x4c0b(_0x54d603,_0x4ca629);}function xnxx(_0x5ce61e){return new Promise((_0x3d7734,_0x2888b7)=>{const _0x28bb91=_0x5c10,_0x3e1450=_0x4c0b,_0x2258fb=_0x359b;axios(''+_0x5ce61e,{'method':_0x28bb91(0x188)})[_0x2258fb(0xef)](_0x39bc7e=>_0x39bc7e[_0x3e1450(0x100)])['then'](_0x327824=>{const _0x4cf209=_0x3e1450,_0x4b7780=_0x2258fb;let _0x369516=cheerio[_0x4b7780(0xda)](_0x327824,{'xmlMode':!0x1});const _0x48b4b3=_0x369516(_0x4cf209(0xdd))[_0x4b7780(0xce)](_0x4b7780(0xdc)),_0x3f91ba=_0x369516(_0x4b7780(0xa9))[_0x4b7780(0xce)](_0x4b7780(0xdc)),_0x8f278a=_0x369516(_0x4b7780(0xa6))[_0x4b7780(0xce)](_0x4b7780(0xdc)),_0x4a6147=_0x369516(_0x4cf209(0xae))[_0x4b7780(0xce)](_0x4b7780(0xdc)),_0x3c1d41=_0x369516(_0x4b7780(0xd0))[_0x4cf209(0xd1)](_0x4b7780(0xdc)),_0x25a819=_0x369516(_0x4b7780(0xd4))[_0x4b7780(0xce)](_0x4b7780(0xdc)),_0x387dfe=_0x369516(_0x4cf209(0xf8))[_0x4cf209(0xb7)]()[_0x4b7780(0xe5)](),_0x293eab=_0x369516(_0x4cf209(0xb3))[_0x4b7780(0xb4)](),_0x51270c={'low':(_0x293eab[_0x4b7780(0xbf)](_0x4cf209(0xca))||[])[0x1],'high':_0x293eab[_0x4b7780(0xbf)](_0x4b7780(0xbd))[0x1]};_0x3d7734({'author':_0x4cf209(0xd5),'result':{'title':_0x48b4b3,'duration':_0x3f91ba,'thumbnail':_0x8f278a,'info':_0x387dfe,'media':_0x51270c}});})[_0x2258fb(0xe7)](_0x1b4b9b=>_0x2888b7({'author':_0x3e1450(0xd5),'result':_0x2258fb(0xc3)}));});}function _0x5c10(_0x32d119,_0x82f570){const _0x2bbdcf=_0x2bbd();return _0x5c10=function(_0x5c10a7,_0x435008){_0x5c10a7=_0x5c10a7-0x139;let _0x94f5e4=_0x2bbdcf[_0x5c10a7];return _0x94f5e4;},_0x5c10(_0x32d119,_0x82f570);}module[_0x565a13(0xba)]={'tiktok':tiktok,'spotify':spotify,'instagram':instagram,'joox':joox,'xnxx':xnxx};function _0x359b(_0x2cdf6f,_0x2d39b1){const _0x580fd3=_0x3b67();return _0x359b=function(_0xe01c44,_0x2f62ef){_0xe01c44=_0xe01c44-0xa2;let _0x30e9fb=_0x580fd3[_0xe01c44];return _0x30e9fb;},_0x359b(_0x2cdf6f,_0x2d39b1);}function _0x1829(){const _0x30bcd2=_0x5c10,_0x353f9a=[_0x30bcd2(0x179),'55NMuBGB',_0x30bcd2(0x15d),_0x30bcd2(0x174),_0x30bcd2(0x14b),'artists',_0x30bcd2(0x13b),_0x30bcd2(0x160),'\x22Not)A;Brand\x22;v=\x2224\x22,\x20\x22Chromium\x22;v=\x22116\x22',_0x30bcd2(0x14a),_0x30bcd2(0x191),_0x30bcd2(0x149),_0x30bcd2(0x181),_0x30bcd2(0x163),_0x30bcd2(0x139),'video',_0x30bcd2(0x194),_0x30bcd2(0x151),_0x30bcd2(0x178),_0x30bcd2(0x157),_0x30bcd2(0x189),'Internal\x20server\x20error',_0x30bcd2(0x142),'div.row\x20>\x20div.col-md-12\x20>\x20div.row.story-container.mt-4.pb-4.border-bottom','data',_0x30bcd2(0x15c),_0x30bcd2(0x16c),_0x30bcd2(0x17a),'meta[property=\x22og:duration\x22]',_0x30bcd2(0x190),'all',_0x30bcd2(0x143),'355996vYilQP','meta[property=\x22og:image\x22]',_0x30bcd2(0x183),_0x30bcd2(0x165),_0x30bcd2(0x15e),'219195EgssMC','cross-site',_0x30bcd2(0x175),'meta[property=\x22og:video:type\x22]','load',_0x30bcd2(0x192),_0x30bcd2(0x193),_0x30bcd2(0x158),_0x30bcd2(0x150),'div.col-md-8.mx-auto\x20>\x20a','Mozilla/5.0\x20(Linux;\x20Android\x2010;\x20K)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20Chrome/116.0.0.0\x20Mobile\x20Safari/537.36',_0x30bcd2(0x188),_0x30bcd2(0x18c),_0x30bcd2(0x16d),_0x30bcd2(0x171),_0x30bcd2(0x147),'7507056yPAPXh',_0x30bcd2(0x145),_0x30bcd2(0x14c),_0x30bcd2(0x18f),'public_time',_0x30bcd2(0x182),'instagram',_0x30bcd2(0x177),_0x30bcd2(0x164),_0x30bcd2(0x186),_0x30bcd2(0x152),_0x30bcd2(0x15a),_0x30bcd2(0x18a),_0x30bcd2(0x170),_0x30bcd2(0x14e),_0x30bcd2(0x180),'https://spotifydownload.org/','trim',_0x30bcd2(0x153),_0x30bcd2(0x156),_0x30bcd2(0x154),_0x30bcd2(0x16a),_0x30bcd2(0x18e),_0x30bcd2(0x169),'music','find',_0x30bcd2(0x187),_0x30bcd2(0x140),'href',_0x30bcd2(0x161),_0x30bcd2(0x13c),_0x30bcd2(0x17c),_0x30bcd2(0x15b),_0x30bcd2(0x13f),_0x30bcd2(0x176),'title',_0x30bcd2(0x195),_0x30bcd2(0x168),_0x30bcd2(0x13e),_0x30bcd2(0x17b),'imgSrc',_0x30bcd2(0x18d),_0x30bcd2(0x16f),'push',_0x30bcd2(0x13d)];return _0x1829=function(){return _0x353f9a;},_0x1829();}function _0x3b67(){const _0x334f6d=_0x5c10,_0x42b747=_0x4c0b,_0x390e65=['push',_0x42b747(0xce),'floor','result',_0x42b747(0xf1),_0x42b747(0xd7),'length',_0x42b747(0xdf),_0x42b747(0xee),_0x42b747(0xf3),_0x42b747(0xd9),_0x42b747(0xe8),_0x42b747(0x101),_0x42b747(0xe4),_0x42b747(0xfc),_0x42b747(0xe7),_0x42b747(0xfd),_0x334f6d(0x158),_0x334f6d(0x18b),_0x42b747(0xc0),_0x42b747(0xd3),_0x42b747(0xcb),_0x42b747(0xed),_0x42b747(0xaa),_0x42b747(0xa8),_0x42b747(0xbc),_0x42b747(0xf2),'attr',_0x334f6d(0x172),_0x334f6d(0x16e),_0x42b747(0xf4),_0x42b747(0x100),_0x42b747(0xc4),_0x42b747(0xc9),_0x42b747(0xde),_0x334f6d(0x14d),_0x42b747(0xdb),_0x334f6d(0x159),_0x42b747(0xff),_0x42b747(0xaf),_0x42b747(0xd5),_0x42b747(0xd0),_0x42b747(0xdc),_0x42b747(0xfb),_0x42b747(0xbb),_0x42b747(0xc6),_0x42b747(0xb5),_0x334f6d(0x17d),_0x42b747(0xbd),_0x42b747(0xec),_0x42b747(0xcc),_0x334f6d(0x185),_0x42b747(0xcd),'1624WNJHWp',_0x42b747(0xa5),_0x42b747(0xd4),_0x42b747(0xeb),_0x334f6d(0x146),_0x42b747(0xad),_0x42b747(0xc5),_0x42b747(0xf5),_0x42b747(0xb0),_0x334f6d(0x17f),_0x42b747(0xcf),_0x42b747(0xa4),_0x42b747(0xf7),_0x42b747(0xe9),'malbum',_0x42b747(0xf6),_0x42b747(0xba),_0x42b747(0xf9),_0x42b747(0xa7),_0x42b747(0xe5),'name',_0x42b747(0xa2),_0x42b747(0xe2),_0x42b747(0xe0),_0x42b747(0xfe),_0x42b747(0xf0),_0x42b747(0xea),_0x334f6d(0x14f),_0x42b747(0xe1),_0x42b747(0x103),_0x42b747(0xb6)];return _0x3b67=function(){return _0x390e65;},_0x3b67();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "almtools",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Tools Downloader For WhatsApp Bot",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"axios": "^1.7.3",
|
|
14
|
-
"cheerio": "^1.0.0"
|
|
15
|
-
"node-fetch": "^3.3.2"
|
|
14
|
+
"cheerio": "^1.0.0"
|
|
16
15
|
}
|
|
17
16
|
}
|