Loading snippets...
Search
bashnode y2mate.js search nadin amizah taruh
Download Dapat mp3+mp4
bashnode y2mate.js https://youtu.be/Vrp2Be-RVVM
Output Search
bash{ "query": "sorai nadin amizah", "request": { "method": "direct", "proxy": null, "source": "youtube", "attempts": [ "direct-success" ], "cached": false, "cache_saved": true }, "items": [ { "title": "Nadin Amizah - Sorai (Official Music Video)", "id": "PF_VokiUndk", "size": "3.83 MB", "duration": "4:39", "channelTitle": "Nadin Amizah", "source": "yt" }, { "title": "Sorai - Nadin Amizah | Lirik Lagu", "id": "fGklW_t2oag", "size": "3.83 MB", "duration": "4:39", "channelTitle": "Indolirik", "source": "yt" }, { "title": "Nadin Amizah - Sorai (Lyric Video)", "id": "bWi-FnkqBz8", "size": "3.89 MB", "duration": "4:43", "channelTitle": "Obeng Bunga", "source": "yt" }, { "title": "Nadin Amizah - Sorai (Ft. Hindia) | Dari Perayaan Bayangan | Sounds From The Corner Live #54", "id": "uGPhtnaS4Og", "size": "3.98 MB", "duration": "4:50", "channelTitle": "Sounds From The Corner", "source": "yt" }, { "title": "Nadin Amizah u0026 Syarikat Idola Remaja - Sorak Sorai (Official Lyric Video)", "id": "hj-_rYssME8", "size": "4.68 MB", "duration": "5:41", "channelTitle": "Nadin Amizah", "source": "yt" }, { "title": "Nadin Amizah - Sorai (Live Take)", "id": "2dP9HJCGYl0", "size": "3.58 MB", "duration": "4:21", "channelTitle": "Nadin Amizah", "source": "yt" }, { "title": "βͺ ` Sorai - Nadin Amizah βͺ ` One Hour Version", "id": "pLLrtZCuFic", "size": "884.77 KB", "duration": "1:02:55", "channelTitle": "Ourits-jeonxeel", "source": "yt" }, { "title": "Sorai - Nadin Amizah (Lirik)", "id": "MEq9iK3QJpY", "size": "3.83 MB", "duration": "4:39", "channelTitle": "musik lirik", "source": "yt" }, { "title": "Kayla Moore Greatest Hits Collection", "id": "zf31eBZNtzs", "size": "1,010.16 KB", "duration": "1:11:50", "channelTitle": "δΈηγγγγ", "source": "yt" }, { "title": "Kumpulan lagu Nadin Amizah | Bertaut", "id": "LUXMjpaNLMQ", "size": "7.87 MB", "duration": "29:33", "channelTitle": "xnuxer", "source": "yt" }, { "title": "Nadin Amizah - Sorak Sorai (Langsung dari Konser Selamat Ulang Tahun 2022)", "id": "gJjna8xF5io", "size": "5.86 MB", "duration": "7:07", "channelTitle": "Nadin Amizah", "source": "yt" }, { "title": "Nadin Amizah - Berpayung Tuhan (Official Lyric Video)", "id": "v0165RqKS20", "size": "4.09 MB", "duration": "4:58", "channelTitle": "Nadin Amizah", "source": "yt" }, { "title": "Nadin Amizah-Sorai (Lyric lagu) #laguhits", "id": "Viqg9fP2jHU", "size": "3.83 MB", "duration": "4:39", "channelTitle": "Kemplo TV", "source": "yt" }, { "title": "NADIN AMIZAH - SORAI - RAYUAN PEREMPUAN GILA - BERTAUT || POP INDO TERPOPULER 2026", "id": "973ANVyhbh8", "size": "1.35 MB", "duration": "41:38", "channelTitle": "Infinity Pop Records", "source": "yt" }, { "title": "Lagu Nadin Amizah semua aku dirayakan | rayuan perempuan gila | sorai | bertaut | tawa full album", "id": "mxGl9MykTMI", "size": "20.23 MB", "duration": "24:33", "channelTitle": "Yukk makan", "source": "yt" }, { "title": "Sorai - Nadin Amizah (POP Festival 2023 Cirebon) #bucin #nadinamizah #rk", "id": "UCFFdDNuGBw", "size": "4.60 MB", "duration": "5:35", "channelTitle": "Ruang Komunikasi", "source": "yt" }, { "title": "Nadin Amizah - Kanyaah u0026 Sorai (In Silence Live)", "id": "6-ticAll6cM", "size": "4.99 MB", "duration": "6:03", "channelTitle": "Nadin Amizah", "source": "yt" }, { "title": "Nadin Amizah - Sorai", "id": "7mKBAlpGWN4", "size": "2.90 MB", "duration": "3:31", "channelTitle": "TonightShowNet", "source": "yt" } ], "_cache_meta": { "original_query": "sorai nadin amizah", "encoded_query": "sorai+nadin+amizah", "timestamp": 1780423996 } }
/**
* search - download mp3&mp4
* base: https://v20.www-y2mate.com
* Creator: ShanMolvyr
* Jangan Hapus Kreator bang
*
* Sumber: https://whatsapp.com/channel/0029VbB4Kw8EFeXfeExaXc3Q
*/
const BASE = "https://cnv.cx/v2";
const HEADERS = {
"Origin": "https://frame.y2meta-uk.com",
"Referer": "https://frame.y2meta-uk.com/",
"User-Agent": "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36"
};
async function getKey() {
const res = await fetch(`${BASE}/sanity/key`, { headers: HEADERS });
const data = await res.json();
return data.key;
}
async function search(query) {
const form = new FormData();
form.append("search_query", query);
const res = await fetch("https://search.nnmn.store/", {
method: "POST",
headers: {
"Origin": "https://v20.www-y2mate.com",
"Referer": "https://v20.www-y2mate.com/"
},
body: form
});
return await res.json();
}
async function convertMp3(link, audioBitrate = "320") {
const key = await getKey();
const params = new URLSearchParams({
link,
format: "mp3",
audioBitrate,
videoQuality: "720",
filenameStyle: "pretty",
vCodec: "h264"
});
const res = await fetch(`${BASE}/converter`, {
method: "POST",
headers: {
...HEADERS,
"Content-Type": "application/x-www-form-urlencoded",
"Key": key
},
body: params.toString()
});
return await res.json();
}
async function convertMp4(link) {
const qualities = ["2160", "1440", "1080", "720", "480", "360"];
const key = await getKey();
for (const q of qualities) {
const params = new URLSearchParams({
link,
format: "mp4",
audioBitrate: "320",
videoQuality: q,
filenameStyle: "pretty",
vCodec: "h264"
});
const res = await fetch(`${BASE}/converter`, {
method: "POST",
headers: {
...HEADERS,
"Content-Type": "application/x-www-form-urlencoded",
"Key": key
},
body: params.toString()
});
const data = await res.json();
if (data.status === "tunnel") {
return { ...data, quality: `${q}p` };
}
}
throw new Error("No MP4 quality available");
}
async function getInfo(url) {
process.stderr.write("Fetching MP3 and MP4...\n");
const [mp3, mp4] = await Promise.all([
convertMp3(url).catch(e => ({ error: e.message })),
convertMp4(url).catch(e => ({ error: e.message }))
]);
return {
url,
mp3: {
filename: mp3.filename ?? null,
url: mp3.url ?? null,
error: mp3.error ?? null
},
mp4: {
filename: mp4.filename ?? null,
quality: mp4.quality ?? null,
url: mp4.url ?? null,
error: mp4.error ?? null
}
};
}
// CLI
if (process.argv[1] === new URL(import.meta.url).pathname) {
const arg = process.argv[2];
if (!arg) process.exit(1);
if (arg === "search") {
const query = process.argv.slice(3).join(" ");
if (!query) process.exit(1);
search(query).then(data => console.log(JSON.stringify(data, null, 2)));
} else {
getInfo(arg).then(data => console.log(JSON.stringify(data, null, 2)));
}
}
export { search, convertMp3, convertMp4, getInfo };