almtools 1.0.2 → 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/README.md +7 -16
- package/index.js +6 -2
- package/lib/tools.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,24 +1,15 @@
|
|
|
1
1
|
## Media Social Downloader
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## Installation
|
|
4
4
|
|
|
5
5
|
```
|
|
6
6
|
npm install almtools
|
|
7
7
|
```
|
|
8
|
+
## List Downloader
|
|
9
|
+
#### Tiktok Downloader
|
|
10
|
+
#### Spotify Downloader
|
|
11
|
+
#### Instagram Downloader
|
|
12
|
+
#### Joox Downloader
|
|
13
|
+
#### Xnxx Downloader
|
|
8
14
|
|
|
9
|
-
### Tiktok Downloader
|
|
10
|
-
|
|
11
|
-
```
|
|
12
|
-
const { tiktok } = require("almtools")
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
### Spotify Downloader
|
|
16
|
-
```
|
|
17
|
-
const { spotify } = require("almtools")
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
### Instagram Downloader
|
|
21
|
-
```
|
|
22
|
-
const { instagram } = require("almtools")
|
|
23
|
-
```
|
|
24
15
|
## Dah itu aja :v
|
package/index.js
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
const {
|
|
2
2
|
tiktok,
|
|
3
3
|
spotify,
|
|
4
|
-
instagram
|
|
4
|
+
instagram,
|
|
5
|
+
joox,
|
|
6
|
+
xnxx
|
|
5
7
|
} = require("./lib/tools.js")
|
|
6
8
|
|
|
7
9
|
module.exports.tiktok = tiktok
|
|
8
10
|
module.exports.spotify = spotify
|
|
9
|
-
module.exports.instagram = instagram
|
|
11
|
+
module.exports.instagram = instagram
|
|
12
|
+
module.exports.joox = joox
|
|
13
|
+
module.exports.xnxx = xnxx
|
package/lib/tools.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x300827,_0x46f718){const _0xbbaf90=_0x1260,_0x463d6d=_0x300827();while(!![]){try{const _0x2582e8=-parseInt(_0xbbaf90(0x96))/0x1+parseInt(_0xbbaf90(0x98))/0x2+parseInt(_0xbbaf90(0x9d))/0x3+parseInt(_0xbbaf90(0xae))/0x4*(parseInt(_0xbbaf90(0xb3))/0x5)+-parseInt(_0xbbaf90(0xc3))/0x6*(parseInt(_0xbbaf90(0xa4))/0x7)+-parseInt(_0xbbaf90(0xa0))/0x8+parseInt(_0xbbaf90(0xa6))/0x9*(parseInt(_0xbbaf90(0xa2))/0xa);if(_0x2582e8===_0x46f718)break;else _0x463d6d['push'](_0x463d6d['shift']());}catch(_0x260343){_0x463d6d['push'](_0x463d6d['shift']());}}}(_0xf968,0x6b6cd));function _0x51cd(_0x3c0f03,_0xb816e9){const _0x5de11b=_0xbe15();return _0x51cd=function(_0x383207,_0x7062d9){_0x383207=_0x383207-0xfc;let _0x41dc8f=_0x5de11b[_0x383207];return _0x41dc8f;},_0x51cd(_0x3c0f03,_0xb816e9);}(function(_0x34bc61,_0xfe3740){const _0x358498=_0x1260,_0x3b141c=_0x51cd,_0x424cef=_0x34bc61();while(!![]){try{const _0x604d48=parseInt(_0x3b141c(0x12a))/0x1+-parseInt(_0x3b141c(0x10b))/0x2+parseInt(_0x3b141c(0x130))/0x3*(-parseInt(_0x3b141c(0x136))/0x4)+parseInt(_0x3b141c(0x101))/0x5*(-parseInt(_0x3b141c(0x104))/0x6)+-parseInt(_0x3b141c(0x117))/0x7+parseInt(_0x3b141c(0x121))/0x8+parseInt(_0x3b141c(0x11c))/0x9*(parseInt(_0x3b141c(0x109))/0xa);if(_0x604d48===_0xfe3740)break;else _0x424cef['push'](_0x424cef[_0x358498(0xc0)]());}catch(_0x175f05){_0x424cef['push'](_0x424cef[_0x358498(0xc0)]());}}}(_0xbe15,0x9e5a3));const _0x39c8c8=_0x44a8;(function(_0x2b3e01,_0x6238a7){const _0x421348=_0x51cd,_0x358624=_0x44a8,_0x3b8016=_0x2b3e01();while(!![]){try{const _0xfedec4=parseInt(_0x358624(0x1b5))/0x1*(-parseInt(_0x358624(0x1be))/0x2)+-parseInt(_0x358624(0x1a2))/0x3*(parseInt(_0x358624(0x1c5))/0x4)+parseInt(_0x358624(0x18b))/0x5+parseInt(_0x358624(0x191))/0x6*(-parseInt(_0x358624(0x1c0))/0x7)+-parseInt(_0x358624(0x18f))/0x8+parseInt(_0x358624(0x1b9))/0x9+parseInt(_0x358624(0x197))/0xa;if(_0xfedec4===_0x6238a7)break;else _0x3b8016[_0x421348(0x131)](_0x3b8016[_0x421348(0x123)]());}catch(_0x21d1da){_0x3b8016[_0x421348(0x131)](_0x3b8016[_0x421348(0x123)]());}}}(_0x3318,0x1af52));const cheerio=require(_0x39c8c8(0x196)),axios=require(_0x39c8c8(0x1bb));function tiktok(_0x3c45d6){return new Promise(async(_0x4d796d,_0x1f92e4)=>{const _0x2548f3=_0x1260,_0x30a738=_0x51cd,_0x4358a1=_0x44a8;try{const _0x32dd5b=new URLSearchParams();_0x32dd5b[_0x4358a1(0x1ae)](_0x4358a1(0x195),_0x3c45d6),_0x32dd5b[_0x4358a1(0x1ae)]('hd','1');const _0x3e27de=await axios({'method':_0x4358a1(0x1b2),'url':_0x4358a1(0x199),'headers':{'Content-Type':_0x30a738(0x118),'Cookie':_0x4358a1(0x1aa),'User-Agent':_0x4358a1(0x1b6)},'data':_0x32dd5b}),_0x209abf=await axios[_0x4358a1(0x19d)](_0x4358a1(0x18c)+_0x3c45d6+_0x30a738(0x10d)),_0x477a97=cheerio[_0x4358a1(0x1a9)](_0x209abf[_0x4358a1(0x1b1)]);let _0x353d77=[],_0x2f7310=[];_0x477a97(_0x4358a1(0x1a8))[_0x4358a1(0x1c4)]((_0x3ed42f,_0x24ff17)=>{const _0x2072bd=_0x4358a1;_0x353d77[_0x2072bd(0x1b8)](_0x477a97(_0x24ff17)[_0x2072bd(0x1ac)](_0x2072bd(0x1ba)));}),_0x2f7310[_0x4358a1(0x1b8)]({'img':_0x353d77});let _0x2d9a76=_0x353d77[_0x4358a1(0x1a3)]((_0x1e3a89,_0x58df49)=>{return _0x1e3a89;});const _0x2355d3=_0x3e27de[_0x2548f3(0xcd)][_0x4358a1(0x1b1)];let _0x5c036f;_0x2d9a76[_0x30a738(0x107)]===0x0?_0x5c036f={'creator':_0x4358a1(0x1b7),'result':{'title':_0x2355d3[_0x30a738(0x116)],'mediatype':_0x4358a1(0x1ad),'media':_0x2355d3[_0x4358a1(0x18e)],'audio':_0x2355d3[_0x4358a1(0x1bf)]}}:_0x5c036f={'creator':_0x4358a1(0x1b7),'result':{'title':_0x2355d3[_0x4358a1(0x18a)],'mediatype':_0x4358a1(0x1b4),'media':_0x2d9a76,'audio':_0x2355d3[_0x30a738(0x124)]}},_0x4d796d(_0x5c036f);}catch(_0x2f3d4a){_0x1f92e4({'creator':_0x30a738(0x126),'result':_0x4358a1(0x1a0)});}});}function _0x44a8(_0x48282b,_0x512d7a){const _0x51e672=_0x3318();return _0x44a8=function(_0x54b094,_0x2138d5){_0x54b094=_0x54b094-0x18a;let _0x13e017=_0x51e672[_0x54b094];return _0x13e017;},_0x44a8(_0x48282b,_0x512d7a);}function spotify(_0x2b890f){return new Promise(async(_0x27d5b2,_0x5b1752)=>{const _0x4ca266=_0x1260,_0x510107=_0x51cd,_0x5da020=_0x44a8;try{const _0x4645c9=await axios[_0x5da020(0x19d)](_0x510107(0x132)+encodeURIComponent(_0x2b890f),{'headers':{'accept':_0x5da020(0x1c3),'accept-language':_0x5da020(0x1b0),'sec-ch-ua':_0x5da020(0x190),'sec-ch-ua-mobile':'?1','sec-ch-ua-platform':_0x5da020(0x1c1),'sec-fetch-dest':_0x5da020(0x19c),'sec-fetch-mode':_0x510107(0x105),'sec-fetch-site':_0x510107(0x127),'Referer':_0x510107(0x10a),'Referrer-Policy':_0x4ca266(0xd5)}}),_0x314c53=await axios[_0x5da020(0x19d)](_0x5da020(0x1bc)+_0x4645c9[_0x5da020(0x1b1)][_0x510107(0x128)][_0x5da020(0x1b3)]+'/'+_0x4645c9[_0x510107(0xfc)][_0x510107(0x128)]['id'],{'headers':{'accept':_0x5da020(0x1c3),'accept-language':_0x510107(0x114),'sec-ch-ua':_0x5da020(0x190),'sec-ch-ua-mobile':'?1','sec-ch-ua-platform':_0x5da020(0x1c1),'sec-fetch-dest':_0x5da020(0x19c),'sec-fetch-mode':_0x4ca266(0x99),'sec-fetch-site':_0x5da020(0x198),'Referer':_0x5da020(0x1af),'Referrer-Policy':_0x5da020(0x1a7)}}),_0x2c7a38={'creator':_0x510107(0x126),'result':{'title':_0x4645c9[_0x5da020(0x1b1)][_0x5da020(0x18d)][_0x510107(0x10f)],'artist':_0x4645c9[_0x5da020(0x1b1)][_0x510107(0x128)][_0x5da020(0x1a4)],'thumbnail':_0x4645c9[_0x5da020(0x1b1)][_0x510107(0x128)][_0x5da020(0x1b4)],'url':_0x5da020(0x193)+_0x314c53[_0x5da020(0x1b1)][_0x5da020(0x18d)]['download_url'],'duration':_0x4645c9[_0x510107(0xfc)][_0x510107(0x128)][_0x5da020(0x1a5)]}};_0x27d5b2(_0x2c7a38);}catch(_0x3da978){_0x5b1752({'creator':_0x5da020(0x1b7),'result':_0x5da020(0x1a0)});}});}function _0x3318(){const _0x2e43f5=_0x1260,_0x5f3292=_0x51cd,_0x2aad27=[_0x2e43f5(0xd1),_0x5f3292(0x120),_0x5f3292(0x102),_0x2e43f5(0xba),_0x5f3292(0x124),_0x5f3292(0x11a),_0x5f3292(0x129),_0x5f3292(0x137),_0x2e43f5(0x9f),'each',_0x5f3292(0x13a),_0x5f3292(0x116),_0x5f3292(0x10c),'https://dlpanda.com/id?url=',_0x5f3292(0x128),'play',_0x5f3292(0x12e),_0x2e43f5(0xcb),'114iezlgs',_0x2e43f5(0xc1),_0x5f3292(0x10e),_0x5f3292(0x11b),_0x2e43f5(0xd0),_0x5f3292(0x115),_0x5f3292(0x110),'cross-site',_0x5f3292(0x12c),_0x5f3292(0x11d),_0x5f3292(0x12b),_0x2e43f5(0xce),_0x5f3292(0x103),_0x5f3292(0x122),_0x5f3292(0xff),_0x2e43f5(0xd2),_0x5f3292(0x118),_0x5f3292(0x106),_0x5f3292(0x112),_0x5f3292(0x113),_0x2e43f5(0xbe),'then',_0x5f3292(0x100),'div.col-md-12\x20>\x20img',_0x5f3292(0x133),_0x2e43f5(0x9e),_0x5f3292(0x111),_0x5f3292(0xfd),_0x5f3292(0x138),_0x2e43f5(0xb6),_0x5f3292(0x10a),_0x2e43f5(0xa8),_0x5f3292(0xfc),'POST',_0x5f3292(0x135),_0x5f3292(0x11e),_0x5f3292(0x119),_0x5f3292(0x12d),_0x5f3292(0x126),_0x5f3292(0x131),_0x5f3292(0xfe),_0x5f3292(0x11f)];return _0x3318=function(){return _0x2aad27;},_0x3318();}function _0xbe15(){const _0x43cdc4=_0x1260,_0x1b0704=[_0x43cdc4(0x93),_0x43cdc4(0xbb),_0x43cdc4(0xa7),'artists',_0x43cdc4(0xa8),_0x43cdc4(0xb5),_0x43cdc4(0x9c),_0x43cdc4(0xa9),'application/x-www-form-urlencoded;\x20charset=UTF-8',_0x43cdc4(0xb7),'72849JuNwTD',_0x43cdc4(0xc5),'18sWuPXT',_0x43cdc4(0x95),_0x43cdc4(0xc8),_0x43cdc4(0xad),_0x43cdc4(0xa3),_0x43cdc4(0xc6),_0x43cdc4(0xc4),_0x43cdc4(0xc0),_0x43cdc4(0xca),_0x43cdc4(0xbc),_0x43cdc4(0xac),'cross-site',_0x43cdc4(0xcc),'\x22Android\x22',_0x43cdc4(0xa1),_0x43cdc4(0xc9),_0x43cdc4(0xb2),'Mozilla/5.0\x20(Linux;\x20Android\x2010;\x20K)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20Chrome/116.0.0.0\x20Mobile\x20Safari/537.36',_0x43cdc4(0xb8),_0x43cdc4(0xc7),_0x43cdc4(0x97),_0x43cdc4(0x9b),'https://api.fabdl.com/spotify/get?url=','load',_0x43cdc4(0xcf),_0x43cdc4(0xb0),'16DxukqL',_0x43cdc4(0xaf),_0x43cdc4(0x9a),_0x43cdc4(0xd2),_0x43cdc4(0xd7),_0x43cdc4(0xcd),_0x43cdc4(0xb4),'1834371SYKLBP','find',_0x43cdc4(0xd5),'3227180wOkGBv',_0x43cdc4(0xc2),'get',_0x43cdc4(0xd4),_0x43cdc4(0x99),_0x43cdc4(0xab),_0x43cdc4(0xb9),_0x43cdc4(0xaa),_0x43cdc4(0x94),'https://spotifydownload.org/','372836DnqKeH',_0x43cdc4(0xb1),_0x43cdc4(0xbf),_0x43cdc4(0xa5),_0x43cdc4(0xd3)];return _0xbe15=function(){return _0x1b0704;},_0xbe15();};function _0x1260(_0x56e5b0,_0x2b407d){const _0xf96805=_0xf968();return _0x1260=function(_0x1260b2,_0x434b32){_0x1260b2=_0x1260b2-0x93;let _0x54c957=_0xf96805[_0x1260b2];return _0x54c957;},_0x1260(_0x56e5b0,_0x2b407d);}async function instagram(_0x27c4fd){return new Promise(async(_0x4bad2e,_0x597d2e)=>{const _0x183a87=_0x1260,_0x3b0b95=_0x51cd,_0x583451=_0x44a8,_0x100598=new URLSearchParams(Object[_0x183a87(0xd6)]({'url':_0x27c4fd,'host':_0x583451(0x1bd)}));await axios[_0x3b0b95(0x108)]({'method':_0x3b0b95(0x134),'baseURL':_0x3b0b95(0x12f),'data':_0x100598,'headers':{'content-type':_0x583451(0x1a1),'cookie':_0x583451(0x1ab),'user-agent':_0x183a87(0xbd)}})[_0x583451(0x1a6)](_0x4f7347=>{const _0x3e7486=_0x3b0b95,_0x5b2aff=_0x583451,_0x4ad609=cheerio[_0x5b2aff(0x1a9)](_0x4f7347[_0x3e7486(0xfc)]),_0x1fc619=_0x4ad609(_0x5b2aff(0x1c2))[_0x5b2aff(0x1a3)]((_0xd97e88,_0x35d829)=>{const _0xe56898=_0x3e7486,_0xe06d52=_0x5b2aff;return _0xe06d52(0x19b)+_0x4ad609(_0x35d829)[_0xe06d52(0x19f)](_0xe56898(0x125))[_0xe06d52(0x1ac)](_0xe06d52(0x194));})[_0x5b2aff(0x19d)](),_0x560682={'creator':_0x3e7486(0x126),'result':{'media':_0x1fc619}};_0x4bad2e(_0x560682);})[_0x583451(0x19a)](_0x27e55=>{const _0x51a6dd=_0x3b0b95,_0x58efc7=_0x583451;console[_0x58efc7(0x19e)](_0x27e55),_0x597d2e({'creator':_0x58efc7(0x1b7),'result':_0x51a6dd(0x139)});});});}function _0xf968(){const _0x4230e0=['music','\x22Not)A;Brand\x22;v=\x2224\x22,\x20\x22Chromium\x22;v=\x22116\x22','result','data','empty','POST','url','axios','Internal\x20server\x20error','name','12BaaUBz','strict-origin-when-cross-origin','entries','7388MjzkJe','4840150OADthX','10024170IiOqdL','catch','403823rRXdzb','318414gssgtN','87242IBMKnQ','cors','video','push','title','2209599pZdfvS','current_language=en','application/json,\x20text/plain,\x20*/*','6268912XOkvcM','651008WkaRXa','960wpuQny','https://api.fabdl.com/spotify/mp3-convert-task/','7CiLVaD','https://api.fabdl.com','97155bFmfWJ','map','id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7','3096303oVfbrh','request','279sWeyUI','Nezzx','src','208iqOVEE','div.row\x20>\x20div.col-md-12\x20>\x20div.row.story-container.mt-4.pb-4.border-bottom','gid','884030tadkTY','https://tikwm.com/api/','20775bupxtC','attr','cheerio','set','24043OxqPgk','1538992xGZoAb','length','16NFixGA','PHPSESSID=rmer1p00mtkqv64ai0pa429d4o','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','duration_ms','&token=G7eRpMaa','shift','exports','instagram','2430504jJbVhj','log','href','2695520APcDOq','https://saveinsta.io/core/ajax.php','image','https://saveinsta.io/'];_0xf968=function(){return _0x4230e0;};return _0xf968();}module[_0x39c8c8(0x192)]={'tiktok':tiktok,'spotify':spotify,'instagram':instagram};
|
|
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,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "almtools",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.4",
|
|
4
|
+
"description": "Tools Downloader For WhatsApp Bot",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"starts": "node index.js"
|
|
8
8
|
},
|
|
9
|
-
"keywords": ["
|
|
9
|
+
"keywords": ["media", "downloader", "tools"],
|
|
10
10
|
"author": "Nezzx",
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|