Download Anime dengan Mudah: Script JavaScript untuk OploverzDL
const handler = async (m, { text, conn }) => { if (!text) throw 'apa cuba'; try { const wtf = await fetch(API('xzn', 'api/oploverzdl', { url: text }, 'apikey')); const fak = await wtf.json(); let str = `Status: ${fak.status} Title: ${fak.next}
; const a = fak.download; for (let i = 0; i < a.length; i++) { str += Format: ${a[i].format}
; const b = a[i].resolutions; for (let i = 0; i < b.length; i++) { str += resolutions: ${b[i].name}
; const c = b[i].servers; for (let i = 0; i < c.length; i++) { str += servers: ${c[i].name}
; str += url: ${c[i].link}
`; } } } m.reply(str); } catch (e) { m.reply('mana gada hoax hoax'); } };
handler.help = handler.command = ['dlanime']; handler.tags = ['anime'];
module.exports = handler;
原文地址: https://www.cveoy.top/t/topic/jlaF 著作权归作者所有。请勿转载和采集!