Skip to content

Instantly share code, notes, and snippets.

View ayashiiiyo's full-sized avatar
🎯
Focusing

Abella || Beginner ayashiiiyo

🎯
Focusing
View GitHub Profile
import axios from 'axios'
import crypto from 'crypto'
import { wrapper } from 'axios-cookiejar-support'
import { CookieJar } from 'tough-cookie'
import yts from 'yt-search'
const BASE_URL = 'https://youtubedl.siputzx.my.id'
const jar = new CookieJar()
const client = wrapper(axios.create({ jar, withCredentials: true }))
import https from 'https'
const getInitialAuth = () => {
return new Promise((resolve, reject) => {
const options = {
hostname: 'id.pinterest.com',
path: '/',
method: 'GET',
headers: {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36'
let handler = async (m, { command, args }) => {
try {
if (!args[0]) return m.reply(`*Example:* .${command} https://sfl.gl/infinitetotemv1`)
m.reply("Wait")
let j = await (await fetch(
`https://fgsi.dpdns.org/api/tools/skip/tutwuri?apikey=APIKEY_KAMU&url=${encodeURIComponent(args[0])}`
)).json()
if (!j.status || !j.data?.url) throw "Failed"
import fs from 'fs'
import path from 'path'
import { fileURLToPath } from 'url'
const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
const FILE = path.join(__dirname, 'link.chunk.js')
const URL = 'https://fastdl.app/js/link.chunk.js'
let handler = async (m, { conn, args, command }) => {
try {
if (!args[0]) return m.reply(`*Example :* .${command} https://music.apple.com/xxxx`)
m.reply("Wait")
const json = await (await fetch(`https://fgsi.dpdns.org/api/downloader/applemusic?apikey=APIKEY_KAMU&url=${encodeURIComponent(args[0])}`)).json()
await conn.sendMessage(
m.chat,
{
audio: { url: json.data.mp3DownloadLink },
mimetype: "audio/mpeg"
class PicsartEnhancer {
constructor() {
this.uploadUrl = 'https://upload.picsart.com/files'
this.aiUrl = 'https://ai.picsart.com'
this.jsUrl = 'https://picsart.com/-/landings/4.310.0/static/index-C3-HwnoW-GZgP7cLS.js'
this.token = null
this.headers = {
origin: 'https://picsart.com',
referer: 'https://picsart.com/',
'user-agent': 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Mobile Safari/537.36',
let handler = async (m, { conn, args }) => {
try {
if (!args[0]) return m.reply('*Example :* .iqc Di Jual 500p Per Image😋')
let d = new Date()
let t = new Date(d.getTime() + 7*3600000).toLocaleTimeString('id-ID',{hour:'2-digit',minute:'2-digit',hour12:false})
await conn.sendMessage(m.chat, { image:{ url:`https://brat.siputzx.my.id/iphone-quoted?time=${encodeURIComponent(t)}&messageText=${encodeURIComponent(args.join(' '))}&carrierName=INDOSAT%20OORE...&batteryPercentage=${Math.floor(Math.random()*100)+1}&signalStrength=4&emojiStyle=apple`} }, { quoted:m })
} catch(e){ m.reply(e.message) }
}
handler.help = ['iqc']
import axios from "axios"
class InstagramStalker {
constructor() {
this.client = axios.create({
headers: {
"User-Agent": "Mozilla/5.0 (Linux; Android 10; Mobile) AppleWebKit/537.36",
Accept: "application/json, text/plain, */*"
},
timeout: 30000
function genserial() {
let s = ''
for (let i = 0; i < 32; i++) s += Math.floor(Math.random() * 16).toString(16)
return s
}
async function upload(filename) {
const form = new FormData()
form.append('file_name', filename)
import axios from 'axios'
import * as cheerio from 'cheerio'
async function fbdl(url) {
const body = new URLSearchParams({
p: 'facebook',
q: url,
lang: 'id',
w: ''
}).toString()