𝐇𝐚𝐬𝐮𝐦𝐢𝐁𝐨𝐭 𝐅𝐫𝐞𝐞𝐂𝐨𝐝𝐞𝐬
𝐇𝐚𝐬𝐮𝐦𝐢𝐁𝐨𝐭 𝐅𝐫𝐞𝐞𝐂𝐨𝐝𝐞𝐬
February 16, 2025 at 05:56 AM
/* ౨ৎ ˖ ࣪⊹ 𝐁𝐲 𝐉𝐭𝐱𝐬 𐙚˚.ᡣ𐭩 ❀ Canal Principal ≽^•˕• ྀི≼ https://whatsapp.com/channel/0029VaeQcFXEFeXtNMHk0D0n ❀ Canal Rikka Takanashi Bot https://whatsapp.com/channel/0029VaksDf4I1rcsIO6Rip2X ❀ Canal StarlightsTeam https://whatsapp.com/channel/0029VaBfsIwGk1FyaqFcK91S ❀ HasumiBot FreeCodes https://whatsapp.com/channel/0029Vanjyqb2f3ERifCpGT0W */ // *𓍯𓂃𓏧♡ FACEBOOK - DL* import fetch from 'node-fetch' import axios from 'axios' let HS = async (m, { conn, text }) => { if (!text) return conn.reply(m.chat, `❀ Ingresa un link de facebook`, m) try { let api = await fetch(`https://vapis.my.id/api/fbdl?url=${text}`) let json = await api.json() let { title, durasi, hd_url } = json.data let VidBuffer = await getBuffer(hd_url) let HS = `- *Título :* ${title} - *Duracion :* ${durasi}` await conn.sendMessage(m.chat, { video: VidBuffer, mimetype: "video/mp4", caption: HS }, { quoted: m }); } catch (error) { console.error(error) }} HS.command = ['fbdl', 'fb', 'facebook', 'facebookdl'] export default HS const getBuffer = async (url, options = {}) => { const res = await axios({ method: 'get', url, headers: {'DNT': 1, 'Upgrade-Insecure-Request': 1}, ...options, responseType: 'arraybuffer'}) return res.data }
❤️ 😢 2

Comments