Skip to content

Commit

Permalink
𝑾𝒊𝒍𝒎𝒆𝒓 𝒐𝒇𝒄
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilsmac authored Nov 8, 2023
1 parent 9747c83 commit d022f5f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugins/downloader-ig.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,29 +23,29 @@ for (let i = 0; i < img.length; i++) {
const datTa = await instagram.download(args[0]);
for (const urRRl of datTa) {
const shortUrRRl = await (await fetch(`https://tinyurl.com/api-create.php?url=${args[0]}`)).text();
const tXXxt = `🔗 *Url:* ${shortUrRRl}`.trim();
const tXXxt = `🔗 *𝑼𝑹𝑳:* ${shortUrRRl}`.trim();
conn.sendFile(m.chat, urRRl.url, 'error.mp4', tXXxt, m);
await new Promise((resolve) => setTimeout(resolve, 10000));
}
} catch {
try {
const resultss = await instagramGetUrl(args[0]).url_list[0];
const shortUrl2 = await (await fetch(`https://tinyurl.com/api-create.php?url=${args[0]}`)).text();
const txt2 = `🔗 *Url:* ${shortUrl2}`.trim();
const txt2 = `🔗 *𝑼𝑹𝑳:* ${shortUrl2}`.trim();
await conn.sendFile(m.chat, resultss, 'error.mp4', txt2, m);
} catch {
try {
const resultssss = await instagramdl(args[0]);
const shortUrl3 = await (await fetch(`https://tinyurl.com/api-create.php?url=${args[0]}`)).text();
const txt4 = `🔗 *Url:* ${shortUrl3}`.trim();
const txt4 = `🔗 *𝑼𝑹𝑳:* ${shortUrl3}`.trim();
for (const {url} of resultssss) await conn.sendFile(m.chat, url, 'error.mp4', txt4, m);
} catch {
try {
const human = await fetch(`https://api.lolhuman.xyz/api/instagram?apikey=${lolkeysapi}&url=${args[0]}`);
const json = await human.json();
const videoig = json.result;
const shortUrl1 = await (await fetch(`https://tinyurl.com/api-create.php?url=${args[0]}`)).text();
const txt1 = `🔗 *Url:* ${shortUrl1}`.trim();
const txt1 = `🔗 *𝑼𝑹𝑳:* ${shortUrl1}`.trim();
await conn.sendFile(m.chat, videoig, 'error.mp4', txt1, m);
} catch {
throw `*[INFORMACIÓN] 𝐸𝑅𝑅𝑂𝑅, 𝑃𝑂𝑅 𝐹𝐴𝑉𝑂𝑅 𝑉𝑈𝐸𝐿𝑉𝐴 𝐴 𝐼𝑁𝑇𝐸𝑁𝑇𝐴𝑅𝐿𝑂*`;
Expand Down

0 comments on commit d022f5f

Please sign in to comment.