almtools 1.0.1 → 1.0.3
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 +7 -3
- package/lib/tools.js +1 -1
- package/package.json +5 -4
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
|
|
5
|
-
|
|
4
|
+
instagram,
|
|
5
|
+
joox,
|
|
6
|
+
xnxx
|
|
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(_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};
|
package/package.json
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "almtools",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.3",
|
|
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": {
|
|
13
13
|
"axios": "^1.7.3",
|
|
14
|
-
"cheerio": "^1.0.0"
|
|
14
|
+
"cheerio": "^1.0.0",
|
|
15
|
+
"node-fetch": "^3.3.2"
|
|
15
16
|
}
|
|
16
17
|
}
|