Spaces:
Paused
Paused
𝐃𝐀𝐑𝐑𝐄𝐋𝐋 𝐌𝐔𝐂𝐇𝐄𝐑𝐈 ⚡
commited on
Update ytdl.js
Browse files- plugins/ytdl.js +31 -556
plugins/ytdl.js
CHANGED
|
@@ -1,558 +1,33 @@
|
|
| 1 |
-
//
|
| 2 |
-
// SUBZERO PROPERTY
|
| 3 |
|
| 4 |
-
function hi() {
|
| 5 |
-
console.log("Hello World!");
|
| 6 |
-
}
|
| 7 |
-
hi();
|
| 8 |
-
function hi() {
|
| 9 |
-
console.log("Hello World!");
|
| 10 |
-
}
|
| 11 |
-
hi();
|
| 12 |
-
// const more = String.fromCharCode(8206)
|
| 13 |
-
// const readMore = more.repeat(4001)
|
| 14 |
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
'Sec-Ch-Ua': "\"Not-A.Brand\";v=\"99\", \"Chromium\";v=\"124\"",
|
| 44 |
-
|
| 45 |
-
'Sec-Ch-Ua-Platform': "\"Android\"",
|
| 46 |
-
'Sec-Fetch-Dest': 'empty',
|
| 47 |
-
'Sec-Fetch-Mode': "cors",
|
| 48 |
-
'Sec-Fetch-Site': "cross-site",
|
| 49 |
-
'User-Agent': "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Mobile Safari/537.36"
|
| 50 |
-
};
|
| 51 |
-
const _0x911309 = await axios.get("https://ab.cococococ.com/ajax/download.php", {
|
| 52 |
-
'params': _0x54b505,
|
| 53 |
-
'headers': _0x4c259b
|
| 54 |
-
});
|
| 55 |
-
const _0x19f26f = _0x911309.data.id;
|
| 56 |
-
const _0x44cb3d = async () => {
|
| 57 |
-
const _0x363ada = {
|
| 58 |
-
'id': _0x19f26f
|
| 59 |
-
};
|
| 60 |
-
try {
|
| 61 |
-
const _0x379689 = await axios.get("https://p.oceansaver.in/ajax/progress.php", {
|
| 62 |
-
'params': _0x363ada,
|
| 63 |
-
'headers': _0x4c259b
|
| 64 |
-
});
|
| 65 |
-
const {
|
| 66 |
-
progress: _0x480a29,
|
| 67 |
-
download_url: _0xcf8017,
|
| 68 |
-
text: _0x40f62e
|
| 69 |
-
} = _0x379689.data;
|
| 70 |
-
return _0x40f62e === "Finished" ? _0xcf8017 : (await new Promise(_0x1525a8 => setTimeout(_0x1525a8, 0x3e8)), _0x44cb3d());
|
| 71 |
-
} catch (_0x264c3f) {
|
| 72 |
-
throw new Error("Error in progress check: " + _0x264c3f.message);
|
| 73 |
-
}
|
| 74 |
-
};
|
| 75 |
-
return await _0x44cb3d();
|
| 76 |
-
} catch (_0x4288dc) {
|
| 77 |
-
console.error("Error:", _0x4288dc);
|
| 78 |
-
return {
|
| 79 |
-
'error': _0x4288dc.message
|
| 80 |
-
};
|
| 81 |
-
}
|
| 82 |
-
}
|
| 83 |
-
module.exports = {
|
| 84 |
-
'ytmp4': ytmp4
|
| 85 |
-
};
|
| 86 |
-
function extractYouTubeId(_0xa744b2) {
|
| 87 |
-
const _0x518adb = /(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/(?:watch\?v=|embed\/|v\/|shorts\/|playlist\?list=)|youtu\.be\/)([a-zA-Z0-9_-]{11})/;
|
| 88 |
-
const _0xc2a8a1 = _0xa744b2.match(_0x518adb);
|
| 89 |
-
return _0xc2a8a1 ? _0xc2a8a1[0x1] : null;
|
| 90 |
-
}
|
| 91 |
-
function convertYouTubeLink(_0x1c105c) {
|
| 92 |
-
const _0xc15f8f = extractYouTubeId(_0x1c105c);
|
| 93 |
-
if (_0xc15f8f) {
|
| 94 |
-
return "https://www.youtube.com/watch?v=" + _0xc15f8f;
|
| 95 |
-
}
|
| 96 |
-
return _0x1c105c;
|
| 97 |
-
}
|
| 98 |
-
cmd({
|
| 99 |
-
'pattern': "song",
|
| 100 |
-
'alias': ["play","ytmp3"],
|
| 101 |
-
'desc': "To download songs.",
|
| 102 |
-
'react': '🔎',
|
| 103 |
-
'category': 'download',
|
| 104 |
-
'filename': __filename
|
| 105 |
-
}, async (_0x3e819c, _0x481c78, _0x3e521e, {
|
| 106 |
-
from: _0x4af58a,
|
| 107 |
-
quoted: _0x561d31,
|
| 108 |
-
body: _0x1756db,
|
| 109 |
-
isCmd: _0x1543bc,
|
| 110 |
-
command: _0x405d1e,
|
| 111 |
-
args: _0x26823b,
|
| 112 |
-
q: _0x1800d1,
|
| 113 |
-
isGroup: _0x4c0299,
|
| 114 |
-
sender: _0x1932af,
|
| 115 |
-
senderNumber: _0x23f572,
|
| 116 |
-
botNumber2: _0x35a342,
|
| 117 |
-
botNumber: _0x302330,
|
| 118 |
-
pushname: _0x19e590,
|
| 119 |
-
isMe: _0x2abf50,
|
| 120 |
-
isOwner: _0x1cf8c4,
|
| 121 |
-
groupMetadata: _0x1cafc7,
|
| 122 |
-
groupName: _0xbf0cc1,
|
| 123 |
-
participants: _0x304c07,
|
| 124 |
-
groupAdmins: _0x43a4ca,
|
| 125 |
-
isBotAdmins: _0x220efc,
|
| 126 |
-
isAdmins: _0x537346,
|
| 127 |
-
reply: _0x5f07e9
|
| 128 |
-
}) => {
|
| 129 |
-
try {
|
| 130 |
-
if (!_0x1800d1) {
|
| 131 |
-
return _0x5f07e9("Please give me a URL or title. Eg .play Lily By Alan Walker");
|
| 132 |
-
}
|
| 133 |
-
_0x1800d1 = convertYouTubeLink(_0x1800d1);
|
| 134 |
-
const _0x1cde45 = await yts(_0x1800d1);
|
| 135 |
-
const _0xdc4e9b = _0x1cde45.videos[0x0];
|
| 136 |
-
const _0x371f03 = _0xdc4e9b.url;
|
| 137 |
-
const _0x46b1d9 = await _0x3e819c.sendMessage(_0x4af58a, {
|
| 138 |
-
'image': {
|
| 139 |
-
'url': _0xdc4e9b.thumbnail
|
| 140 |
-
},
|
| 141 |
-
'caption': "\n *❄️ \`SUBZERO - MD\` ❄️*\n\n⟣━━━━━━━━━━━━━━━━━⟢\n*sᴜʙᴢᴇʀᴏ sᴏɴɢ ᴅᴏᴡɴʟᴏᴀᴅᴇʀ*\n⟣━━━━━━━━━━━━━━━━━⟢\n\n➣ *🎐sᴜʙᴢᴇʀᴏ ʙᴏᴛ ᴄʜᴀɴɴᴇʟ🎐*\n*https://whatsapp.com/channel/0029VagQEmB002T7MWo3Sj1D*\n\n⟣━━━━━━━━━━━━━━━━━━⟢\n> ℹ️ ʀᴇᴘʟʏ ᴡɪᴛʜ ɴᴜᴍʙᴇʀ ᴛᴏ ᴅᴏᴡɴʟᴏᴀᴅ ғᴏʀᴍᴀᴛ\n\n*1 ┃ ᴀᴜᴅɪᴏ sᴏɴɢ 🎵*\n*2 ┃ ᴅᴏᴄᴜᴍᴇɴᴛ sᴏɴɢ 🗂️*\n\n> © 𝐒𝐔𝐁𝐙𝐄𝐑𝐎 𝐌𝐃 𝐖.𝐀 𝐁𝐎𝐓\n"
|
| 142 |
-
}, {
|
| 143 |
-
'quoted': _0x481c78
|
| 144 |
-
});
|
| 145 |
-
const _0x59ff4f = _0x46b1d9.key.id;
|
| 146 |
-
_0x3e819c.ev.on("messages.upsert", async _0x1b6609 => {
|
| 147 |
-
const _0x4858cf = _0x1b6609.messages[0x0];
|
| 148 |
-
if (!_0x4858cf.message) {
|
| 149 |
-
return;
|
| 150 |
-
}
|
| 151 |
-
const _0x5b3090 = _0x4858cf.message.conversation || _0x4858cf.message.extendedTextMessage?.["text"];
|
| 152 |
-
const _0x1c883b = _0x4858cf.key.remoteJid;
|
| 153 |
-
const _0x2565a6 = _0x4858cf.message.extendedTextMessage && _0x4858cf.message.extendedTextMessage.contextInfo.stanzaId === _0x59ff4f;
|
| 154 |
-
if (_0x2565a6) {
|
| 155 |
-
await _0x3e819c.sendMessage(_0x1c883b, {
|
| 156 |
-
'react': {
|
| 157 |
-
'text': '⬇️',
|
| 158 |
-
'key': _0x4858cf.key
|
| 159 |
-
}
|
| 160 |
-
});
|
| 161 |
-
const _0x2af4dd = await fetchJson("https://api.davidcyriltech.my.id/download/ytmp3?url=" + _0x371f03);
|
| 162 |
-
const _0xf29be = _0x2af4dd.result.download_url;
|
| 163 |
-
await _0x3e819c.sendMessage(_0x1c883b, {
|
| 164 |
-
'delete': _0x46b1d9.key
|
| 165 |
-
});
|
| 166 |
-
await _0x3e819c.sendMessage(_0x1c883b, {
|
| 167 |
-
'react': {
|
| 168 |
-
'text': '⬆️',
|
| 169 |
-
'key': _0x4858cf.key
|
| 170 |
-
}
|
| 171 |
-
});
|
| 172 |
-
if (_0x5b3090 === '1') {
|
| 173 |
-
await _0x3e819c.sendMessage(_0x1c883b, {
|
| 174 |
-
'audio': {
|
| 175 |
-
'url': _0xf29be
|
| 176 |
-
},
|
| 177 |
-
'mimetype': "audio/mpeg",
|
| 178 |
-
'contextInfo': {
|
| 179 |
-
'externalAdReply': {
|
| 180 |
-
'title': _0xdc4e9b.title,
|
| 181 |
-
'body': _0xdc4e9b.videoId,
|
| 182 |
-
'mediaType': 0x1,
|
| 183 |
-
'sourceUrl': _0xdc4e9b.url,
|
| 184 |
-
'thumbnailUrl': _0xdc4e9b.thumbnail,
|
| 185 |
-
'renderLargerThumbnail': true,
|
| 186 |
-
'showAdAttribution': true
|
| 187 |
-
}
|
| 188 |
-
}
|
| 189 |
-
}, {
|
| 190 |
-
'quoted': _0x4858cf
|
| 191 |
-
});
|
| 192 |
-
await _0x3e819c.sendMessage(_0x1c883b, {
|
| 193 |
-
'react': {
|
| 194 |
-
'text': '✅',
|
| 195 |
-
'key': _0x4858cf.key
|
| 196 |
-
}
|
| 197 |
-
});
|
| 198 |
-
} else if (_0x5b3090 === '2') {
|
| 199 |
-
await _0x3e819c.sendMessage(_0x1c883b, {
|
| 200 |
-
'document': {
|
| 201 |
-
'url': _0xf29be
|
| 202 |
-
},
|
| 203 |
-
'mimetype': "audio/mp3",
|
| 204 |
-
'fileName': _0xdc4e9b.title + '.mp3',
|
| 205 |
-
'caption': "\n> © Gᴇɴᴇʀᴀᴛᴇᴅ ʙʏ Sᴜʙᴢᴇʀᴏ ❤️\n"
|
| 206 |
-
}, {
|
| 207 |
-
'quoted': _0x4858cf
|
| 208 |
-
});
|
| 209 |
-
await _0x3e819c.sendMessage(_0x1c883b, {
|
| 210 |
-
'react': {
|
| 211 |
-
'text': '✅',
|
| 212 |
-
'key': _0x4858cf.key
|
| 213 |
-
}
|
| 214 |
-
});
|
| 215 |
-
}
|
| 216 |
-
}
|
| 217 |
-
});
|
| 218 |
-
} catch (_0x3c6b09) {
|
| 219 |
-
console.log(_0x3c6b09);
|
| 220 |
-
_0x5f07e9('' + _0x3c6b09);
|
| 221 |
-
}
|
| 222 |
-
});
|
| 223 |
-
cmd({
|
| 224 |
-
'pattern': "video",
|
| 225 |
-
'alias': "ytmp4",
|
| 226 |
-
'desc': "To download videos.",
|
| 227 |
-
'react': '🎥',
|
| 228 |
-
'category': "download",
|
| 229 |
-
'filename': __filename
|
| 230 |
-
}, async (_0x4c1c21, _0x1c9340, _0xc7dc28, {
|
| 231 |
-
from: _0x16ca42,
|
| 232 |
-
quoted: _0x486148,
|
| 233 |
-
body: _0x2deb69,
|
| 234 |
-
isCmd: _0x564bc4,
|
| 235 |
-
command: _0xab0098,
|
| 236 |
-
args: _0xbcdc8b,
|
| 237 |
-
q: _0x23d2a3,
|
| 238 |
-
isGroup: _0x492224,
|
| 239 |
-
sender: _0x5ad6c0,
|
| 240 |
-
senderNumber: _0x233689,
|
| 241 |
-
botNumber2: _0x5d1c5d,
|
| 242 |
-
botNumber: _0xa4cd7e,
|
| 243 |
-
pushname: _0x4d5c47,
|
| 244 |
-
isMe: _0xa167ac,
|
| 245 |
-
isOwner: _0x5e243d,
|
| 246 |
-
groupMetadata: _0x421b77,
|
| 247 |
-
groupName: _0x348553,
|
| 248 |
-
participants: _0xae2c54,
|
| 249 |
-
groupAdmins: _0x5d03b8,
|
| 250 |
-
isBotAdmins: _0x405dd3,
|
| 251 |
-
isAdmins: _0x970778,
|
| 252 |
-
reply: _0x29ec20
|
| 253 |
-
}) => {
|
| 254 |
-
try {
|
| 255 |
-
if (!_0x23d2a3) {
|
| 256 |
-
return _0x29ec20("Please give me a URL or title.");
|
| 257 |
-
}
|
| 258 |
-
_0x23d2a3 = convertYouTubeLink(_0x23d2a3);
|
| 259 |
-
const _0x5c95f8 = await yts(_0x23d2a3);
|
| 260 |
-
const _0x3d981e = _0x5c95f8.videos[0x0];
|
| 261 |
-
const _0x116315 = _0x3d981e.url;
|
| 262 |
-
const _0x4f2be9 = await _0x4c1c21.sendMessage(_0x16ca42, {
|
| 263 |
-
'image': {
|
| 264 |
-
'url': _0x3d981e.thumbnail
|
| 265 |
-
},
|
| 266 |
-
'caption': "\n*❄️SUBZERO - MD❄️* \n\n┏━━━━━━━━━━━━━\n┃sᴜʙᴢᴇʀᴏ ᴍᴅ ᴠɪᴅᴇᴏ ᴅᴏᴡɴʟᴏᴀᴅᴇʀ ✻\n┗━━━━━━━━━━━━━\n┏━━━━━━━━━━━━━━\n\n🔢 *ʀᴇᴘʟʏ ʙᴇʟᴏᴡ ᴛʜᴇ ɴᴜᴍʙᴇʀ ᴛᴏ*\n*ᴅᴏᴡɴʟᴏᴀᴅ ꜰʀᴏᴍᴀᴛ*\n\n*ᴅᴏᴡɴʟᴏᴀᴅ ᴠɪᴅᴇᴏ 🎬*\n\n*1.1* ┃ *360ᴘ*\n*1.2* ┃ *480ᴘ*\n*1.3* ┃ *720ᴘ*\n*1.4* ┃ *1080ᴘ*\n\n*ᴅᴏᴡɴʟᴏᴀᴅ ᴅᴏᴄᴜᴍᴇɴᴛ 📁*\n\n*2.1* ┃ *360ᴘ*\n*2.2* ┃ *480ᴘ*\n*2.3* ┃ *720ᴘ*\n*2.4* ┃ *1080ᴘ*\n\n> sᴜʙᴢᴇʀᴏ ᴍᴅ✻\n"
|
| 267 |
-
}, {
|
| 268 |
-
'quoted': _0x1c9340
|
| 269 |
-
});
|
| 270 |
-
;
|
| 271 |
-
const _0x2b5ece = _0x4f2be9.key.id;
|
| 272 |
-
_0x4c1c21.ev.on("messages.upsert", async _0x47968d => {
|
| 273 |
-
const _0x323ae8 = _0x47968d.messages[0x0];
|
| 274 |
-
if (!_0x323ae8.message) {
|
| 275 |
-
return;
|
| 276 |
-
}
|
| 277 |
-
const _0x468498 = _0x323ae8.message.conversation || _0x323ae8.message.extendedTextMessage?.['text'];
|
| 278 |
-
const _0x3567fe = _0x323ae8.key.remoteJid;
|
| 279 |
-
const _0x43b8b6 = _0x323ae8.message.extendedTextMessage && _0x323ae8.message.extendedTextMessage.contextInfo.stanzaId === _0x2b5ece;
|
| 280 |
-
if (_0x43b8b6) {
|
| 281 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 282 |
-
'react': {
|
| 283 |
-
'text': '⬇️',
|
| 284 |
-
'key': _0x323ae8.key
|
| 285 |
-
}
|
| 286 |
-
});
|
| 287 |
-
if (_0x468498 === "1.1") {
|
| 288 |
-
const _0x311eba = await ytmp4('' + _0x116315, "360p");
|
| 289 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 290 |
-
'delete': _0x4f2be9.key
|
| 291 |
-
});
|
| 292 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 293 |
-
'react': {
|
| 294 |
-
'text': '⬆️',
|
| 295 |
-
'key': _0x323ae8.key
|
| 296 |
-
}
|
| 297 |
-
});
|
| 298 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 299 |
-
'video': {
|
| 300 |
-
'url': _0x311eba
|
| 301 |
-
},
|
| 302 |
-
'caption': "\n*🌟Gᴇɴᴇʀᴀᴛᴇᴅ 4 Yᴏᴜ Bʏ SᴜʙZᴇʀᴏ🌟*\n"
|
| 303 |
-
}, {
|
| 304 |
-
'quoted': _0x323ae8
|
| 305 |
-
});
|
| 306 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 307 |
-
'react': {
|
| 308 |
-
'text': '✅',
|
| 309 |
-
'key': _0x323ae8.key
|
| 310 |
-
}
|
| 311 |
-
});
|
| 312 |
-
} else {
|
| 313 |
-
if (_0x468498 === '1.2') {
|
| 314 |
-
const _0x2d507a = await ytmp4('' + _0x116315, "480");
|
| 315 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 316 |
-
'delete': _0x4f2be9.key
|
| 317 |
-
});
|
| 318 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 319 |
-
'react': {
|
| 320 |
-
'text': '🔃',
|
| 321 |
-
'key': _0x323ae8.key
|
| 322 |
-
}
|
| 323 |
-
});
|
| 324 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 325 |
-
'video': {
|
| 326 |
-
'url': _0x2d507a
|
| 327 |
-
},
|
| 328 |
-
'caption': "\n*🌟Gᴇɴᴇʀᴀᴛᴇᴅ 4 Yᴏᴜ Bʏ SᴜʙZᴇʀᴏ🌟*\n"
|
| 329 |
-
}, {
|
| 330 |
-
'quoted': _0x323ae8
|
| 331 |
-
});
|
| 332 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 333 |
-
'react': {
|
| 334 |
-
'text': '✅',
|
| 335 |
-
'key': _0x323ae8.key
|
| 336 |
-
}
|
| 337 |
-
});
|
| 338 |
-
} else {
|
| 339 |
-
if (_0x468498 === "1.3") {
|
| 340 |
-
const _0x143e26 = await ytmp4('' + _0x116315, "720");
|
| 341 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 342 |
-
'delete': _0x4f2be9.key
|
| 343 |
-
});
|
| 344 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 345 |
-
'react': {
|
| 346 |
-
'text': '⬆️',
|
| 347 |
-
'key': _0x323ae8.key
|
| 348 |
-
}
|
| 349 |
-
});
|
| 350 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 351 |
-
'video': {
|
| 352 |
-
'url': _0x143e26
|
| 353 |
-
},
|
| 354 |
-
'caption': "\n*🌟Gᴇɴᴇʀᴀᴛᴇᴅ 4 Yᴏᴜ Bʏ SᴜʙZᴇʀᴏ🌟*\n"
|
| 355 |
-
}, {
|
| 356 |
-
'quoted': _0x323ae8
|
| 357 |
-
});
|
| 358 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 359 |
-
'react': {
|
| 360 |
-
'text': '✅',
|
| 361 |
-
'key': _0x323ae8.key
|
| 362 |
-
}
|
| 363 |
-
});
|
| 364 |
-
} else {
|
| 365 |
-
if (_0x468498 === "1.4") {
|
| 366 |
-
const _0x1c9985 = await ytmp4('' + _0x116315, '1080');
|
| 367 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 368 |
-
'delete': _0x4f2be9.key
|
| 369 |
-
});
|
| 370 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 371 |
-
'react': {
|
| 372 |
-
'text': '⬆️',
|
| 373 |
-
'key': _0x323ae8.key
|
| 374 |
-
}
|
| 375 |
-
});
|
| 376 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 377 |
-
'video': {
|
| 378 |
-
'url': _0x1c9985
|
| 379 |
-
},
|
| 380 |
-
'caption': "\n*🌟Gᴇɴᴇʀᴀᴛᴇᴅ 4 Yᴏᴜ Bʏ SᴜʙZᴇʀᴏ🌟*\n"
|
| 381 |
-
}, {
|
| 382 |
-
'quoted': _0x323ae8
|
| 383 |
-
});
|
| 384 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 385 |
-
'react': {
|
| 386 |
-
'text': '✅',
|
| 387 |
-
'key': _0x323ae8.key
|
| 388 |
-
}
|
| 389 |
-
});
|
| 390 |
-
} else {
|
| 391 |
-
if (_0x468498 === "2.1") {
|
| 392 |
-
const _0x26ef1a = await ytmp4('' + _0x116315, "360");
|
| 393 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 394 |
-
'delete': _0x4f2be9.key
|
| 395 |
-
});
|
| 396 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 397 |
-
'react': {
|
| 398 |
-
'text': '⬆️',
|
| 399 |
-
'key': _0x323ae8.key
|
| 400 |
-
}
|
| 401 |
-
});
|
| 402 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 403 |
-
'document': {
|
| 404 |
-
'url': _0x26ef1a
|
| 405 |
-
},
|
| 406 |
-
'mimetype': "video/mp4",
|
| 407 |
-
'fileName': _0x3d981e.title + ".mp4",
|
| 408 |
-
'caption': "\n*🌟Gᴇɴᴇʀᴀᴛᴇᴅ 4 Yᴏᴜ Bʏ SᴜʙZᴇʀᴏ🌟*\n"
|
| 409 |
-
}, {
|
| 410 |
-
'quoted': _0x323ae8
|
| 411 |
-
});
|
| 412 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 413 |
-
'react': {
|
| 414 |
-
'text': '✅',
|
| 415 |
-
'key': _0x323ae8.key
|
| 416 |
-
}
|
| 417 |
-
});
|
| 418 |
-
} else {
|
| 419 |
-
if (_0x468498 === '2.2') {
|
| 420 |
-
const _0x71184a = await ytmp4('' + _0x116315, "480");
|
| 421 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 422 |
-
'delete': _0x4f2be9.key
|
| 423 |
-
});
|
| 424 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 425 |
-
'react': {
|
| 426 |
-
'text': '⬆️',
|
| 427 |
-
'key': _0x323ae8.key
|
| 428 |
-
}
|
| 429 |
-
});
|
| 430 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 431 |
-
'document': {
|
| 432 |
-
'url': _0x71184a
|
| 433 |
-
},
|
| 434 |
-
'mimetype': "video/mp4",
|
| 435 |
-
'fileName': _0x3d981e.title + ".mp4",
|
| 436 |
-
'caption': "\n*🌟Gᴇɴᴇʀᴀᴛᴇᴅ 4 Yᴏᴜ Bʏ SᴜʙZᴇʀᴏ🌟*\n"
|
| 437 |
-
}, {
|
| 438 |
-
'quoted': _0x323ae8
|
| 439 |
-
});
|
| 440 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 441 |
-
'react': {
|
| 442 |
-
'text': '✅',
|
| 443 |
-
'key': _0x323ae8.key
|
| 444 |
-
}
|
| 445 |
-
});
|
| 446 |
-
} else {
|
| 447 |
-
if (_0x468498 === "2.3") {
|
| 448 |
-
const _0x331b97 = await ytmp4('' + _0x116315, "720");
|
| 449 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 450 |
-
'delete': _0x4f2be9.key
|
| 451 |
-
});
|
| 452 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 453 |
-
'react': {
|
| 454 |
-
'text': '⬆️',
|
| 455 |
-
'key': _0x323ae8.key
|
| 456 |
-
}
|
| 457 |
-
});
|
| 458 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 459 |
-
'document': {
|
| 460 |
-
'url': _0x331b97
|
| 461 |
-
},
|
| 462 |
-
'mimetype': 'video/mp4',
|
| 463 |
-
'fileName': _0x3d981e.title + ".mp4",
|
| 464 |
-
'caption': "\n*🌟Gᴇɴᴇʀᴀᴛᴇᴅ 4 Yᴏᴜ Bʏ SᴜʙZᴇʀᴏ🌟*\n"
|
| 465 |
-
}, {
|
| 466 |
-
'quoted': _0x323ae8
|
| 467 |
-
});
|
| 468 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 469 |
-
'react': {
|
| 470 |
-
'text': '✅',
|
| 471 |
-
'key': _0x323ae8.key
|
| 472 |
-
}
|
| 473 |
-
});
|
| 474 |
-
} else {
|
| 475 |
-
if (_0x468498 === '2.4') {
|
| 476 |
-
const _0x1b0baf = await ytmp4('' + _0x116315, "1080");
|
| 477 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 478 |
-
'delete': _0x4f2be9.key
|
| 479 |
-
});
|
| 480 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 481 |
-
'react': {
|
| 482 |
-
'text': '⬆️',
|
| 483 |
-
'key': _0x323ae8.key
|
| 484 |
-
}
|
| 485 |
-
});
|
| 486 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 487 |
-
'document': {
|
| 488 |
-
'url': _0x1b0baf
|
| 489 |
-
},
|
| 490 |
-
'mimetype': "video/mp4",
|
| 491 |
-
'fileName': _0x3d981e.title + '.mp4',
|
| 492 |
-
'caption': "\n*🌟Gᴇɴᴇʀᴀᴛᴇᴅ 4 Yᴏᴜ Bʏ SᴜʙZᴇʀᴏ🌟*\n"
|
| 493 |
-
}, {
|
| 494 |
-
'quoted': _0x323ae8
|
| 495 |
-
});
|
| 496 |
-
await _0x4c1c21.sendMessage(_0x3567fe, {
|
| 497 |
-
'react': {
|
| 498 |
-
'text': '✅',
|
| 499 |
-
'key': _0x323ae8.key
|
| 500 |
-
}
|
| 501 |
-
});
|
| 502 |
-
}
|
| 503 |
-
}
|
| 504 |
-
}
|
| 505 |
-
}
|
| 506 |
-
}
|
| 507 |
-
}
|
| 508 |
-
}
|
| 509 |
-
}
|
| 510 |
-
}
|
| 511 |
-
});
|
| 512 |
-
} catch (_0x17ce02) {
|
| 513 |
-
console.log(_0x17ce02);
|
| 514 |
-
_0x29ec20('' + _0x17ce02);
|
| 515 |
-
}
|
| 516 |
-
});
|
| 517 |
-
cmd({
|
| 518 |
-
'pattern': "dee",
|
| 519 |
-
'alias': 'dilolo',
|
| 520 |
-
'react': '⬇️',
|
| 521 |
-
'dontAddCommandList': true,
|
| 522 |
-
'filename': __filename
|
| 523 |
-
}, async (_0x39aa3e, _0x2e5d77, _0x403146, {
|
| 524 |
-
from: _0x49f651,
|
| 525 |
-
q: _0xc978e2,
|
| 526 |
-
reply: _0x4d1d75
|
| 527 |
-
}) => {
|
| 528 |
-
try {
|
| 529 |
-
if (!_0xc978e2) {
|
| 530 |
-
return await _0x4d1d75("*Need a YouTube URL!*");
|
| 531 |
-
}
|
| 532 |
-
const _0x2b5760 = await dlyta(_0xc978e2);
|
| 533 |
-
await _0x39aa3e.sendMessage(_0x49f651, {
|
| 534 |
-
'audio': {
|
| 535 |
-
'url': _0x2b5760.dl_link
|
| 536 |
-
},
|
| 537 |
-
'mimetype': "audio/mpeg"
|
| 538 |
-
}, {
|
| 539 |
-
'quoted': _0x2e5d77
|
| 540 |
-
});
|
| 541 |
-
} catch (_0x1532ae) {
|
| 542 |
-
console.log("First attempt failed:", _0x1532ae);
|
| 543 |
-
try {
|
| 544 |
-
const _0xe0b80 = await dlyta(_0xc978e2);
|
| 545 |
-
await _0x39aa3e.sendMessage(_0x49f651, {
|
| 546 |
-
'audio': {
|
| 547 |
-
'url': _0xe0b80.dl_link
|
| 548 |
-
},
|
| 549 |
-
'mimetype': "audio/mpeg"
|
| 550 |
-
}, {
|
| 551 |
-
'quoted': _0x2e5d77
|
| 552 |
-
});
|
| 553 |
-
} catch (_0x3376c4) {
|
| 554 |
-
console.log("Second attempt failed:", _0x3376c4);
|
| 555 |
-
await _0x4d1d75("*Failed to process the request. Please try again later!*");
|
| 556 |
-
}
|
| 557 |
-
}
|
| 558 |
-
});
|
|
|
|
| 1 |
+
// SUBZERO PROPERTY FUCK YOU CLONER
|
|
|
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
const _0x4ba9ce=_0x45ba;(function(_0x2e5ac4,_0x2d392e){const _0xd7ddb2=_0x45ba,_0x5aaa8f=_0x2e5ac4();while(!![]){try{const _0x369cf2=parseInt(_0xd7ddb2(0xf4))/0x1+parseInt(_0xd7ddb2(0xf2))/0x2*(parseInt(_0xd7ddb2(0x105))/0x3)+-parseInt(_0xd7ddb2(0xec))/0x4*(-parseInt(_0xd7ddb2(0xf7))/0x5)+-parseInt(_0xd7ddb2(0xdb))/0x6*(-parseInt(_0xd7ddb2(0xea))/0x7)+-parseInt(_0xd7ddb2(0xee))/0x8*(-parseInt(_0xd7ddb2(0xdd))/0x9)+parseInt(_0xd7ddb2(0x11a))/0xa+-parseInt(_0xd7ddb2(0xff))/0xb;if(_0x369cf2===_0x2d392e)break;else _0x5aaa8f['push'](_0x5aaa8f['shift']());}catch(_0x15a094){_0x5aaa8f['push'](_0x5aaa8f['shift']());}}}(_0x3e2e,0xec824));function hi(){const _0x3401bc=_0x45ba;console[_0x3401bc(0x114)](_0x3401bc(0x113));}hi();function hi(){const _0x63b42c=_0x45ba;console[_0x63b42c(0x114)](_0x63b42c(0x113));}hi();function hi(){const _0x5abf52=_0x45ba;console['log'](_0x5abf52(0x113));}function _0x3e2e(){const _0x52ac09=['https://www.youtube.com/watch?v=','6AuBZbL','\x0a*❄️SUBZERO\x20-\x20MD❄️*\x20\x0a\x0a┏━━━━━━━━━━━━━\x0a┃sᴜʙᴢᴇʀᴏ\x20ᴍᴅ\x20ᴠɪᴅᴇᴏ\x20ᴅᴏᴡɴʟᴏᴀᴅᴇʀ\x20✻\x0a┗━━━━━━━━━━━━━\x0a┏━━━━━━━━━━━━━━\x0a\x0a🔢\x20*ʀᴇᴘʟʏ\x20ʙᴇʟᴏᴡ\x20ᴛʜᴇ\x20ɴᴜᴍʙᴇʀ\x20ᴛᴏ*\x0a*ᴅᴏᴡɴʟᴏᴀᴅ\x20ꜰʀᴏᴍᴀᴛ*\x0a\x0a*ᴅᴏᴡɴʟᴏᴀᴅ\x20ᴠɪᴅᴇᴏ\x20🎬*\x0a\x0a*1.1*\x20\x20\x20\x20\x20┃\x20\x20*360ᴘ*\x0a*1.2*\x20\x20\x20\x20\x20┃\x20\x20*480ᴘ*\x0a*1.3*\x20\x20\x20\x20\x20┃\x20\x20*720ᴘ*\x0a*1.4*\x20\x20\x20\x20\x20┃\x20\x20*1080ᴘ*\x0a\x0a*ᴅᴏᴡɴʟᴏᴀᴅ\x20ᴅᴏᴄᴜᴍᴇɴᴛ\x20📁*\x0a\x0a*2.1*\x20\x20\x20\x20\x20┃\x20\x20*360ᴘ*\x0a*2.2*\x20\x20\x20\x20\x20┃\x20\x20*480ᴘ*\x0a*2.3*\x20\x20\x20\x20\x20┃\x20\x20*720ᴘ*\x0a*2.4*\x20\x20\x20\x20\x20┃\x20\x20*1080ᴘ*\x0a\x0a>\x20sᴜʙᴢᴇʀᴏ\x20ᴍᴅ✻\x0a','8716140sskuTc','exports','title','cors','360','contextInfo','1.3','download_url','\x0a*🌟Gᴇɴᴇʀᴀᴛᴇᴅ\x204\x20Yᴏᴜ\x20Bʏ\x20SᴜʙZᴇʀᴏ🌟*\x0a','thumbnail','1.1','dee','key','1337007gWugeZ','messages.upsert','172712CtlSLQ','gzip,\x20deflate,\x20br','8kIAmSS','*Failed\x20to\x20process\x20the\x20request.\x20Please\x20try\x20again\x20later!*','2.4','https://p.oceansaver.in/ajax/progress.php','2XgGCqV','yt-search','1642945fucSmX','stanzaId','Mozilla/5.0\x20(Linux;\x20Android\x2010;\x20K)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20Chrome/124.0.0.0\x20Mobile\x20Safari/537.36','185SrgNZN','*/*','480','.mp4','https://ab.cococococ.com/ajax/download.php','get','axios','\x22Not-A.Brand\x22;v=\x2299\x22,\x20\x22Chromium\x22;v=\x22124\x22','51784634iEIvpo','videos','720','data','First\x20attempt\x20failed:','To\x20download\x20songs.','2909094CqfsFa','1080','extendedTextMessage','cross-site','url','conversation','audio/mpeg','result','videoId','\x0a>\x20©\x20Gᴇɴᴇʀᴀᴛᴇᴅ\x20ʙʏ\x20Sᴜʙᴢᴇʀᴏ\x20❤️\x0a','Second\x20attempt\x20failed:','2.2','download','message','Hello\x20World!','log','replace','2.1','../lib/functions','https://loader.to','ytmp3','3067440xCMxto','empty','text','audio/mp3','../command','messages','video/mp4','Please\x20give\x20me\x20a\x20URL\x20or\x20title.','sendMessage'];_0x3e2e=function(){return _0x52ac09;};return _0x3e2e();}hi();const {cmd,commands}=require(_0x4ba9ce(0xd5)),yts=require(_0x4ba9ce(0xf3)),{fetchJson}=require(_0x4ba9ce(0x117)),axios=require(_0x4ba9ce(0xfd));async function ytmp4(_0x464909,_0x1e657a){const _0x51e2bc=_0x4ba9ce;try{if(!_0x464909||!_0x1e657a)throw new Error('url\x20and\x20format\x20parameters\x20are\x20required.');const _0x29bf2c=parseInt(_0x1e657a[_0x51e2bc(0x115)]('p',''),0xa),_0x4bdf7a={'button':0x1,'start':0x1,'end':0x1,'format':_0x29bf2c,'url':_0x464909},_0x5bb36e={'Accept':_0x51e2bc(0xf8),'Accept-Encoding':_0x51e2bc(0xed),'Accept-Language':'en-GB,en-US;q=0.9,en;q=0.8','Origin':_0x51e2bc(0x118),'Referer':_0x51e2bc(0x118),'Sec-Ch-Ua':_0x51e2bc(0xfe),'Sec-Ch-Ua-Mobile':'?1','Sec-Ch-Ua-Platform':'\x22Android\x22','Sec-Fetch-Dest':_0x51e2bc(0xd2),'Sec-Fetch-Mode':_0x51e2bc(0xe0),'Sec-Fetch-Site':_0x51e2bc(0x108),'User-Agent':_0x51e2bc(0xf6)},_0xad91bb=await axios[_0x51e2bc(0xfc)](_0x51e2bc(0xfb),{'params':_0x4bdf7a,'headers':_0x5bb36e}),_0x55f88c=_0xad91bb[_0x51e2bc(0x102)]['id'],_0xc2c82e=async()=>{const _0x21b431=_0x51e2bc,_0xf2a7a7={'id':_0x55f88c};try{const _0xcb5dd3=await axios['get'](_0x21b431(0xf1),{'params':_0xf2a7a7,'headers':_0x5bb36e}),{progress:_0x17d36e,download_url:_0x46738c,text:_0x16e74a}=_0xcb5dd3[_0x21b431(0x102)];return _0x16e74a==='Finished'?_0x46738c:(await new Promise(_0x372f9e=>setTimeout(_0x372f9e,0x3e8)),_0xc2c82e());}catch(_0x1327bc){throw new Error('Error\x20in\x20progress\x20check:\x20'+_0x1327bc[_0x21b431(0x112)]);}};return await _0xc2c82e();}catch(_0x2c873f){return console['error']('Error:',_0x2c873f),{'error':_0x2c873f[_0x51e2bc(0x112)]};}}module[_0x4ba9ce(0xde)]={'ytmp4':ytmp4};function extractYouTubeId(_0x29838b){const _0x472e50=/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/(?:watch\?v=|embed\/|v\/|shorts\/|playlist\?list=)|youtu\.be\/)([a-zA-Z0-9_-]{11})/,_0x1acc68=_0x29838b['match'](_0x472e50);return _0x1acc68?_0x1acc68[0x1]:null;}function _0x45ba(_0x30215c,_0x4b558f){const _0x3e2ee8=_0x3e2e();return _0x45ba=function(_0x45bad9,_0x5ca6d4){_0x45bad9=_0x45bad9-0xd2;let _0x1807ff=_0x3e2ee8[_0x45bad9];return _0x1807ff;},_0x45ba(_0x30215c,_0x4b558f);}function convertYouTubeLink(_0x22623f){const _0x551caa=_0x4ba9ce,_0x323973=extractYouTubeId(_0x22623f);if(_0x323973)return _0x551caa(0xda)+_0x323973;return _0x22623f;}cmd({'pattern':'song','alias':['play',_0x4ba9ce(0x119)],'desc':_0x4ba9ce(0x104),'react':'🔎','category':'download','filename':__filename},async(_0x367cec,_0xb72ac5,_0x3cd9f0,{from:_0x6ae07,quoted:_0x396e94,body:_0x20c4c5,isCmd:_0x4303a8,command:_0x51a86a,args:_0x37ced7,q:_0x54a93c,isGroup:_0x140750,sender:_0x2d3e3,senderNumber:_0xa78445,botNumber2:_0xe0fd35,botNumber:_0x2e2100,pushname:_0x92bf30,isMe:_0x4bec10,isOwner:_0x3b8351,groupMetadata:_0x146f74,groupName:_0xfc3b15,participants:_0x1359ce,groupAdmins:_0x309893,isBotAdmins:_0x1ac48a,isAdmins:_0x38f068,reply:_0x17d1d5})=>{const _0x1e8ab8=_0x4ba9ce;try{if(!_0x54a93c)return _0x17d1d5('Please\x20give\x20me\x20a\x20URL\x20or\x20title.\x20Eg\x20.play\x20Lily\x20By\x20Alan\x20Walker');_0x54a93c=convertYouTubeLink(_0x54a93c);const _0x486603=await yts(_0x54a93c),_0x1e663c=_0x486603[_0x1e8ab8(0x100)][0x0],_0xa49b2b=_0x1e663c['url'],_0x1498a9=await _0x367cec['sendMessage'](_0x6ae07,{'image':{'url':_0x1e663c[_0x1e8ab8(0xe6)]},'caption':'\x0a\x20*❄️\x20`SUBZERO\x20-\x20MD`\x20❄️*\x0a\x0a⟣━━━━━━━━━━━━━━━━━⟢\x0a*sᴜʙᴢᴇʀᴏ\x20sᴏɴɢ\x20ᴅᴏᴡɴʟᴏᴀᴅᴇʀ*\x0a⟣━━━━━━━━━━━━━━━━━⟢\x0a\x0a➣\x20*🎐sᴜʙᴢᴇʀᴏ\x20ʙᴏᴛ\x20ᴄʜᴀɴɴᴇʟ🎐*\x0a*https://whatsapp.com/channel/0029VagQEmB002T7MWo3Sj1D*\x0a\x0a⟣━━━━━━━━━━━━━━━━━━⟢\x0a>\x20ℹ️\x20ʀᴇᴘʟʏ\x20ᴡɪᴛʜ\x20ɴᴜᴍʙᴇʀ\x20ᴛᴏ\x20ᴅᴏᴡɴʟᴏᴀᴅ\x20ғᴏʀᴍᴀᴛ\x0a\x0a*1\x20\x20\x20┃\x20ᴀᴜᴅɪᴏ\x20sᴏɴɢ\x20🎵*\x0a*2\x20\x20\x20┃\x20ᴅᴏᴄᴜᴍᴇɴᴛ\x20sᴏɴɢ\x20🗂️*\x0a\x0a>\x20©\x20𝐒𝐔𝐁𝐙𝐄𝐑𝐎\x20𝐌𝐃\x20𝐖.𝐀\x20𝐁𝐎𝐓\x0a'},{'quoted':_0xb72ac5}),_0xecb16c=_0x1498a9['key']['id'];_0x367cec['ev']['on'](_0x1e8ab8(0xeb),async _0x2dbd73=>{const _0x26dc0a=_0x1e8ab8,_0x576da0=_0x2dbd73[_0x26dc0a(0xd6)][0x0];if(!_0x576da0['message'])return;const _0x33579f=_0x576da0[_0x26dc0a(0x112)][_0x26dc0a(0x10a)]||_0x576da0[_0x26dc0a(0x112)][_0x26dc0a(0x107)]?.['text'],_0x5e9d07=_0x576da0[_0x26dc0a(0xe9)]['remoteJid'],_0x1fcab8=_0x576da0[_0x26dc0a(0x112)]['extendedTextMessage']&&_0x576da0['message']['extendedTextMessage']['contextInfo'][_0x26dc0a(0xf5)]===_0xecb16c;if(_0x1fcab8){await _0x367cec[_0x26dc0a(0xd9)](_0x5e9d07,{'react':{'text':'⬇️','key':_0x576da0[_0x26dc0a(0xe9)]}});const _0x1f015e=await fetchJson('https://api.davidcyriltech.my.id/download/ytmp3?url='+_0xa49b2b),_0x19ea99=_0x1f015e[_0x26dc0a(0x10c)][_0x26dc0a(0xe4)];await _0x367cec[_0x26dc0a(0xd9)](_0x5e9d07,{'delete':_0x1498a9[_0x26dc0a(0xe9)]}),await _0x367cec[_0x26dc0a(0xd9)](_0x5e9d07,{'react':{'text':'⬆️','key':_0x576da0[_0x26dc0a(0xe9)]}});if(_0x33579f==='1')await _0x367cec[_0x26dc0a(0xd9)](_0x5e9d07,{'audio':{'url':_0x19ea99},'mimetype':'audio/mpeg','contextInfo':{'externalAdReply':{'title':_0x1e663c['title'],'body':_0x1e663c[_0x26dc0a(0x10d)],'mediaType':0x1,'sourceUrl':_0x1e663c[_0x26dc0a(0x109)],'thumbnailUrl':_0x1e663c[_0x26dc0a(0xe6)],'renderLargerThumbnail':!![],'showAdAttribution':!![]}}},{'quoted':_0x576da0}),await _0x367cec['sendMessage'](_0x5e9d07,{'react':{'text':'✅','key':_0x576da0[_0x26dc0a(0xe9)]}});else _0x33579f==='2'&&(await _0x367cec[_0x26dc0a(0xd9)](_0x5e9d07,{'document':{'url':_0x19ea99},'mimetype':_0x26dc0a(0xd4),'fileName':_0x1e663c[_0x26dc0a(0xdf)]+'.mp3','caption':_0x26dc0a(0x10e)},{'quoted':_0x576da0}),await _0x367cec[_0x26dc0a(0xd9)](_0x5e9d07,{'react':{'text':'✅','key':_0x576da0[_0x26dc0a(0xe9)]}}));}});}catch(_0x3e968c){console[_0x1e8ab8(0x114)](_0x3e968c),_0x17d1d5(''+_0x3e968c);}}),cmd({'pattern':'video','alias':'ytmp4','desc':'To\x20download\x20videos.','react':'🎥','category':_0x4ba9ce(0x111),'filename':__filename},async(_0x501223,_0x401e54,_0x3fa8c2,{from:_0x4b4c59,quoted:_0x300d7,body:_0x44b95d,isCmd:_0x560846,command:_0x2e2f96,args:_0x1e5145,q:_0x1ec4cf,isGroup:_0x3734cc,sender:_0x367f1f,senderNumber:_0x54dd67,botNumber2:_0x356a33,botNumber:_0x5a2f23,pushname:_0x1e6960,isMe:_0x3dc452,isOwner:_0xe6badb,groupMetadata:_0x33758f,groupName:_0x35d5ea,participants:_0x36c3c8,groupAdmins:_0x3fbf03,isBotAdmins:_0x50ec83,isAdmins:_0x102f8b,reply:_0x4d8f6c})=>{const _0x1bb5dc=_0x4ba9ce;try{if(!_0x1ec4cf)return _0x4d8f6c(_0x1bb5dc(0xd8));_0x1ec4cf=convertYouTubeLink(_0x1ec4cf);const _0x25ae70=await yts(_0x1ec4cf),_0x32aefb=_0x25ae70['videos'][0x0],_0x2f07c2=_0x32aefb[_0x1bb5dc(0x109)],_0x1bc911=await _0x501223['sendMessage'](_0x4b4c59,{'image':{'url':_0x32aefb[_0x1bb5dc(0xe6)]},'caption':_0x1bb5dc(0xdc)},{'quoted':_0x401e54});;const _0x239eff=_0x1bc911[_0x1bb5dc(0xe9)]['id'];_0x501223['ev']['on'](_0x1bb5dc(0xeb),async _0x23645d=>{const _0x4b857b=_0x1bb5dc,_0x3d8e82=_0x23645d[_0x4b857b(0xd6)][0x0];if(!_0x3d8e82['message'])return;const _0xb9ea27=_0x3d8e82[_0x4b857b(0x112)][_0x4b857b(0x10a)]||_0x3d8e82['message'][_0x4b857b(0x107)]?.[_0x4b857b(0xd3)],_0xc628aa=_0x3d8e82[_0x4b857b(0xe9)]['remoteJid'],_0x3e0409=_0x3d8e82[_0x4b857b(0x112)][_0x4b857b(0x107)]&&_0x3d8e82[_0x4b857b(0x112)][_0x4b857b(0x107)][_0x4b857b(0xe2)][_0x4b857b(0xf5)]===_0x239eff;if(_0x3e0409){await _0x501223[_0x4b857b(0xd9)](_0xc628aa,{'react':{'text':'⬇️','key':_0x3d8e82[_0x4b857b(0xe9)]}});if(_0xb9ea27===_0x4b857b(0xe7)){const _0x25c893=await ytmp4(''+_0x2f07c2,'360p');await _0x501223[_0x4b857b(0xd9)](_0xc628aa,{'delete':_0x1bc911[_0x4b857b(0xe9)]}),await _0x501223[_0x4b857b(0xd9)](_0xc628aa,{'react':{'text':'⬆️','key':_0x3d8e82[_0x4b857b(0xe9)]}}),await _0x501223[_0x4b857b(0xd9)](_0xc628aa,{'video':{'url':_0x25c893},'caption':_0x4b857b(0xe5)},{'quoted':_0x3d8e82}),await _0x501223[_0x4b857b(0xd9)](_0xc628aa,{'react':{'text':'✅','key':_0x3d8e82[_0x4b857b(0xe9)]}});}else{if(_0xb9ea27==='1.2'){const _0x34844d=await ytmp4(''+_0x2f07c2,_0x4b857b(0xf9));await _0x501223[_0x4b857b(0xd9)](_0xc628aa,{'delete':_0x1bc911[_0x4b857b(0xe9)]}),await _0x501223[_0x4b857b(0xd9)](_0xc628aa,{'react':{'text':'🔃','key':_0x3d8e82[_0x4b857b(0xe9)]}}),await _0x501223[_0x4b857b(0xd9)](_0xc628aa,{'video':{'url':_0x34844d},'caption':_0x4b857b(0xe5)},{'quoted':_0x3d8e82}),await _0x501223[_0x4b857b(0xd9)](_0xc628aa,{'react':{'text':'✅','key':_0x3d8e82[_0x4b857b(0xe9)]}});}else{if(_0xb9ea27===_0x4b857b(0xe3)){const _0x5e1da6=await ytmp4(''+_0x2f07c2,_0x4b857b(0x101));await _0x501223[_0x4b857b(0xd9)](_0xc628aa,{'delete':_0x1bc911[_0x4b857b(0xe9)]}),await _0x501223[_0x4b857b(0xd9)](_0xc628aa,{'react':{'text':'⬆️','key':_0x3d8e82[_0x4b857b(0xe9)]}}),await _0x501223[_0x4b857b(0xd9)](_0xc628aa,{'video':{'url':_0x5e1da6},'caption':_0x4b857b(0xe5)},{'quoted':_0x3d8e82}),await _0x501223['sendMessage'](_0xc628aa,{'react':{'text':'✅','key':_0x3d8e82[_0x4b857b(0xe9)]}});}else{if(_0xb9ea27==='1.4'){const _0x1589f1=await ytmp4(''+_0x2f07c2,_0x4b857b(0x106));await _0x501223[_0x4b857b(0xd9)](_0xc628aa,{'delete':_0x1bc911[_0x4b857b(0xe9)]}),await _0x501223['sendMessage'](_0xc628aa,{'react':{'text':'⬆️','key':_0x3d8e82[_0x4b857b(0xe9)]}}),await _0x501223['sendMessage'](_0xc628aa,{'video':{'url':_0x1589f1},'caption':_0x4b857b(0xe5)},{'quoted':_0x3d8e82}),await _0x501223[_0x4b857b(0xd9)](_0xc628aa,{'react':{'text':'✅','key':_0x3d8e82[_0x4b857b(0xe9)]}});}else{if(_0xb9ea27===_0x4b857b(0x116)){const _0x5cd5ec=await ytmp4(''+_0x2f07c2,_0x4b857b(0xe1));await _0x501223[_0x4b857b(0xd9)](_0xc628aa,{'delete':_0x1bc911[_0x4b857b(0xe9)]}),await _0x501223[_0x4b857b(0xd9)](_0xc628aa,{'react':{'text':'⬆️','key':_0x3d8e82[_0x4b857b(0xe9)]}}),await _0x501223[_0x4b857b(0xd9)](_0xc628aa,{'document':{'url':_0x5cd5ec},'mimetype':'video/mp4','fileName':_0x32aefb[_0x4b857b(0xdf)]+'.mp4','caption':_0x4b857b(0xe5)},{'quoted':_0x3d8e82}),await _0x501223['sendMessage'](_0xc628aa,{'react':{'text':'✅','key':_0x3d8e82['key']}});}else{if(_0xb9ea27===_0x4b857b(0x110)){const _0x516d28=await ytmp4(''+_0x2f07c2,'480');await _0x501223[_0x4b857b(0xd9)](_0xc628aa,{'delete':_0x1bc911[_0x4b857b(0xe9)]}),await _0x501223['sendMessage'](_0xc628aa,{'react':{'text':'⬆️','key':_0x3d8e82[_0x4b857b(0xe9)]}}),await _0x501223[_0x4b857b(0xd9)](_0xc628aa,{'document':{'url':_0x516d28},'mimetype':'video/mp4','fileName':_0x32aefb[_0x4b857b(0xdf)]+_0x4b857b(0xfa),'caption':_0x4b857b(0xe5)},{'quoted':_0x3d8e82}),await _0x501223['sendMessage'](_0xc628aa,{'react':{'text':'✅','key':_0x3d8e82[_0x4b857b(0xe9)]}});}else{if(_0xb9ea27==='2.3'){const _0x5dffc6=await ytmp4(''+_0x2f07c2,_0x4b857b(0x101));await _0x501223['sendMessage'](_0xc628aa,{'delete':_0x1bc911[_0x4b857b(0xe9)]}),await _0x501223['sendMessage'](_0xc628aa,{'react':{'text':'⬆️','key':_0x3d8e82['key']}}),await _0x501223[_0x4b857b(0xd9)](_0xc628aa,{'document':{'url':_0x5dffc6},'mimetype':_0x4b857b(0xd7),'fileName':_0x32aefb[_0x4b857b(0xdf)]+_0x4b857b(0xfa),'caption':_0x4b857b(0xe5)},{'quoted':_0x3d8e82}),await _0x501223[_0x4b857b(0xd9)](_0xc628aa,{'react':{'text':'✅','key':_0x3d8e82['key']}});}else{if(_0xb9ea27===_0x4b857b(0xf0)){const _0x9e6c59=await ytmp4(''+_0x2f07c2,_0x4b857b(0x106));await _0x501223[_0x4b857b(0xd9)](_0xc628aa,{'delete':_0x1bc911[_0x4b857b(0xe9)]}),await _0x501223['sendMessage'](_0xc628aa,{'react':{'text':'⬆️','key':_0x3d8e82[_0x4b857b(0xe9)]}}),await _0x501223[_0x4b857b(0xd9)](_0xc628aa,{'document':{'url':_0x9e6c59},'mimetype':'video/mp4','fileName':_0x32aefb[_0x4b857b(0xdf)]+_0x4b857b(0xfa),'caption':_0x4b857b(0xe5)},{'quoted':_0x3d8e82}),await _0x501223['sendMessage'](_0xc628aa,{'react':{'text':'✅','key':_0x3d8e82[_0x4b857b(0xe9)]}});}}}}}}}}}});}catch(_0x46026d){console['log'](_0x46026d),_0x4d8f6c(''+_0x46026d);}}),cmd({'pattern':_0x4ba9ce(0xe8),'alias':'dilolo','react':'⬇️','dontAddCommandList':!![],'filename':__filename},async(_0x528ce1,_0x11edfc,_0x46fe4a,{from:_0x563367,q:_0x30bec9,reply:_0x231249})=>{const _0x292617=_0x4ba9ce;try{if(!_0x30bec9)return await _0x231249('*Need\x20a\x20YouTube\x20URL!*');const _0x3d0b00=await dlyta(_0x30bec9);await _0x528ce1[_0x292617(0xd9)](_0x563367,{'audio':{'url':_0x3d0b00['dl_link']},'mimetype':_0x292617(0x10b)},{'quoted':_0x11edfc});}catch(_0x12b72c){console['log'](_0x292617(0x103),_0x12b72c);try{const _0x487390=await dlyta(_0x30bec9);await _0x528ce1[_0x292617(0xd9)](_0x563367,{'audio':{'url':_0x487390['dl_link']},'mimetype':_0x292617(0x10b)},{'quoted':_0x11edfc});}catch(_0x2b0154){console[_0x292617(0x114)](_0x292617(0x10f),_0x2b0154),await _0x231249(_0x292617(0xef));}}});
|
| 33 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|