This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const axios = require('axios'); | |
| const { v4: uuidv4 } = require('uuid'); | |
| class Viu { | |
| constructor() { | |
| this.inst = axios.create({ | |
| baseURL: 'https://api-gateway-global.viu.com/api', | |
| headers: { | |
| 'accept-encoding': 'gzip', | |
| 'content-type': 'application/x-www-form-urlencoded', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const axios = require('axios'); | |
| const cheerio = require('cheerio'); | |
| /** | |
| * @returns {Promise<Object>} Scraped data object | |
| */ | |
| async function scrapeOneDownloader() { | |
| const baseUrl = 'https://onedownloader.net'; | |
| const targetUrl = `${baseUrl}/id`; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const axios = require('axios'); | |
| const cheerio = require('cheerio'); | |
| /** | |
| * @returns {Promise<Object>} Scraped data object | |
| */ | |
| async function scrapeTinyWowRemoveBg() { | |
| const url = 'https://tinywow.com/image/remove-bg'; | |
| try { | |
| const { data: html } = await axios.get(url, { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import fetch from "node-fetch" | |
| import FormData from "form-data" | |
| function genSerial() { | |
| let s = "" | |
| for (let i = 0; i < 32; i++) s += Math.floor(Math.random() * 16).toString(16) | |
| return s | |
| } | |
| async function upscaleImage(buffer) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // π Source: JavaScript | |
| case "removebg": | |
| case "rb": { | |
| const q = m.quoted ? m.quoted : m; | |
| const mime = (q.msg || q).mimetype || ""; | |
| if (!/image/.test(mime)) { | |
| return xreply(`Kirim atau balas *gambar* dengan perintah *${prefix + command}*`); | |
| } | |
| if (!global.onlym) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Yt Transcibe | |
| import axios from "axios" | |
| const extractVideoId = input => { | |
| const url = new URL(input) | |
| const host = url.hostname.replace("www.", "") | |
| if (host === "youtu.be") return url.pathname.slice(1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //YouTube MP3 MP4 Downloader | |
| import axios from "axios" | |
| export async function meow(url) { | |
| const res = await axios.post( | |
| "https://www.meowtxt.com/api/video-info", | |
| { url }, | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Spotify Downloader | |
| import axios from "axios" | |
| import { spawn } from "child_process" | |
| import fs from "fs" | |
| const CLIENT_ID = "Isi" | |
| const CLIENT_SECRET = "isi" | |
| process.env.YTDLP_COOKIES = "cookies.txt" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| π Name : Notegpt - Deepseek R1 | |
| π·οΈ Type : - | |
| π¦ Saluran : https://whatsapp.com/channel/0029Vb4HHTJFCCoYgkMjn93K | |
| π Base Url : https://notegpt.io | |
| π€ Creator : Hazel | |
| */ | |
| const axios = require('axios'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // π Source: JavaScript | |
| case "spotify": | |
| case "spdl": | |
| case "spotifydl": | |
| case "spotifydownload": | |
| { | |
| if (!text) return xreply(`Contoh: ${p_c}${command} https://open.spotify.com/track/xxxx`); | |
| if (!text.includes("spotify.com")) return xreply("β Harus berupa link Spotify!"); |