Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- base : https://mp3dl.to
- fungsi : download audio dari youtube
- update : 3 Juli 2025 - 04:00 WITA
- note : kamu perlu library crypto-js
- by : wolep
- */
- const CryptoJS = require("crypto-js");
- mp3dl = {
- generateToken: () => {
- const payload = JSON.stringify({ timestamp: Date.now() });
- const key = "dyhQjAtqAyTIf3PdsKcJ6nMX1suz8ksZ";
- const token = CryptoJS.AES.encrypt(payload, key).toString();
- return token
- },
- download: async (youtubeUrl) => {
- const headers = {
- "content-type": "application/json",
- }
- const body = JSON.stringify({
- "url": youtubeUrl,
- "quality": 128,
- "trim": false,
- "startT": 0,
- "endT": 0,
- "token": mp3dl.generateToken()
- })
- const result = await fetch("https://ds1.ezsrv.net/api/convert", {
- headers,
- body,
- "method": "POST"
- })
- const json = await result.json()
- return json
- }
- }
- // cara pakai
- const youtubeUrl = "https://www.youtube.com/watch?v=6me17gGZYRg"
- mp3dl.download(youtubeUrl)
- .then(console.log)
- .catch(console.log)
- /* output
- {
- url: 'https://st2.ezsrv.net/download?sig=eyJh......tg_3rI?download',
- status: 'done',
- title: 'AUTUMN CHILL'
- }
- */
Advertisement
Comments
-
- ⭐ Changelly Profit Exploit Documentation ⭐
- https://docs.google.com/document/d/1MzFoZVdCI0pv3Bkf4dAe-WjfaXKLNbI90hzSGKBqn9M/edit?usp=tsqfcpcief
- This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
- The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader.
- Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment