Y2mate Download Scraper.
Example Downloader Video.
const { yta, ytv } = require('y2mate-js')
//ytv('youtube link','quality','y2mate server')
let youtubeaudio = await ytv('https://youtu.be/Ot7SeZvfBA0','720','id11')
console.log(youtubeaudio)
OutPut
{
creator: '@VihangaYT',
status: true,
title: 'Mod menus, how they work and how to make one w/ Cheat engine & Python',
thumbnail: 'https://i.ytimg.com/vi/Ot7SeZvfBA0/0.jpg',
duration: '628 (10:28)',
channel: 'Kian Brose',
views: '296.303',
publish: '2021-10-25 (1 year ago)',
token: 'token-617719be7c217558678b457a',
server: 'y2mate',
data: {
filename: 'Mod menus, how they work and how to make one w/ Cheat engine & Python.mp4',
extension: 'mp4',
quality: '720p',
size: '54.6 MB',
url: 'https://rr10---sn-axq7sn76.googlevideo.com/videoplayback?expire=1682453456&ei=cN9HZMXHCYjX7ATMuo7ABA&ip=185.94.34.237&id=o-AIEA4UwWaDFFNcozzWwc-Zv3ySIRFBzaTFEOuXoBKRbo&itag=22&source=youtube&requiressl=yes&mh=43&mm=31%2C26&mn=sn-axq7sn76%2Csn-c0q7lnz7&ms=au%2Conr&mv=m&mvi=10&pl=22&initcwndbps=1128750&vprv=1&mime=video%2Fmp4&ns=Dl1K6FM-fGjrSMHNZDfMoZUN&cnr=14&ratebypass=yes&dur=628.262&lmt=1680926728383637&mt=1682431502&fvip=2&fexp=24007246&c=WEB&txp=5532434&n=5gSX8GJrH7HvBg&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRQIhAOkJgzt53UpWK2k6792bUccst9f3zVBDUobr1NNVdvEgAiBlEaK8MvowtwBmdCLlCKsR7XWUxVs4nRNQSBvbSyvxBQ%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIhAI0PK6_6M1CUxiUK4XvAqxvFtd9irJjPqu7PQSzfE5jJAiBz_fdRxkAhkZG4TEPirBBfipXIrm8LjsOv2ILExKBQ_g%3D%3D&title=Making+a+mod+menu+is+e }
}
}
Example Downloader Audio.
const { yta, ytv } = require('y2mate-js')
//yta('youtube link','y2mate server')
let youtubevideo = await yta('https://youtu.be/Ot7SeZvfBA0','id11')
console.log(youtubevideo)
OutPut
{
creator: '@VihangaYT',
status: true,
title: 'Mod menus, how they work and how to make one w/ Cheat engine & Python',
thumbnail: 'https://i.ytimg.com/vi/Ot7SeZvfBA0/0.jpg',
duration: '628 (10:28)',
channel: 'Kian Brose',
views: '296.314',
publish: '2021-10-25 (1 year ago)',
videoId: 'Ot7SeZvfBA0',
token: 'token-617719be7c217558678b457a',
server: 'y2mate',
data: {
filename: 'Mod menus, how they work and how to make one w/ Cheat engine & Python.mp3',
extension: 'mp3',
quality: '128kbps',
size: '9.7 MB',
url: 'https://dl103.dlmate48.xyz/?file=M3R4SUNiN3JsOHJ6WWQ2a3NQS1Y5ZGlxVlZIOCtyZ0psOUZ4eWhVdEZMZ0hyb0k0blBDb0p0QUVPYWdkeHNHakg5b2YvVEhQT3NTRWV3S0l2WjF0VFgyRXZNRjJtamZLOHBwclhNZDJYeGo5MEsyVGp5VitoZ203YzhpZVU3NWZZWEpFczBGMzIzdldudGZOdGdEc3BuK280aCtsWVRSWjkya3RQckNDMTdCY2dsck9WZUhpOGJGVjR5dVBzZHhPMy8vQW1DcXd4cW91c2M1d1NrMTVkczBNajhLbmk2T1o4eDlNeG9zWjNIS25vZWVsRGNOa1dyYVhZekl0YjNKWXY3ZTZEMHRZM0RORC9HN20%3D'
}
}