youtube.land
v1.0.1
Published
Easily get information about a Youtube video without a Google or Youtube API key.
Downloads
1
Readme
Youtube.land
Easily get information about a Youtube video without a Google or Youtube API key.
Example Usage
const { GetVideoInfo } = require("youtube.land");
const info = GetVideoInfo("lYIn31ZynfI").then((info) => return(info));
console.log(info)
Output:
{
url: 'https://www.youtube.com/watch?v=lYIn31ZynfI',
title: 'Learn HTML code: define a variable',
thumbnail: 'https://i.ytimg.com/vi/lYIn31ZynfI/hqdefault.jpg',
channel: 'Chris Walker',
channel_url: 'https://www.youtube.com/c/technoblogical',
download_link: 'https://rr5---sn-p5qs7nzy.googlevideo.com/videoplayback?expire=1661146820&ei=ZMICY6_uBI
if8wSazY7gCA&ip=3.235.253.61&id=o-ALqnpbTPfEAtvrVwZXMCOKEFCX0A8ChEBswpETC7l7ps&itag=18&source=youtube&req
uiressl=yes&mh=it&mm=31%2C26&mn=sn-p5qs7nzy%2Csn-5ualdnls&ms=au%2Conr&mv=m&mvi=5&pl=12&initcwndbps=193500
0&vprv=1&mime=video%2Fmp4&ns=31rvDwZDcoRG6Q3NXz9psw4H&gir=yes&clen=2899634&ratebypass=yes&dur=121.788&lmt
=1394612409671453&mt=1661124786&fvip=1&fexp=24001373%2C24007246&c=WEB&rbqsm=fr&n=fc9DZ_ywa4gLR8MroZ&spara
ms=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cratebypass%2Cdur%
2Clmt&sig=AOq0QJ8wRgIhAKaROe6PlOoUVno9DdNiPnruTWyt4h-kmq8ILajGtgewAiEApTXZAZg0kjpbLH5-cZMbRa6Q-I-rJ7sPQFb
U9hJvmjY%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIhAPmn9Ly6WekznuNwoEC
mk3wl3a2gZ5IQManrb-z3gKu4AiBzeqj7_aH8fnFx81p5IenQw1EGZQOM_RAfHqriiKBzZA%3D%3D'
}