Gathering detailed insights and metrics for yt-url-parser
Gathering detailed insights and metrics for yt-url-parser
Gathering detailed insights and metrics for yt-url-parser
Gathering detailed insights and metrics for yt-url-parser
npm install yt-url-parser
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
4 Stars
21 Commits
2 Branches
1 Contributors
Updated on Mar 04, 2023
Latest Version
1.0.1
Package Id
yt-url-parser@1.0.1
Unpacked Size
10.27 kB
Size
3.96 kB
File Count
5
NPM Version
6.4.1
Node Version
10.13.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
Gets stream url and other video details from youtube video link.
With npm do:
1npm install yt-url-parser
1const Youtube = require('yt-url-parser'); 2 3Youtube.getInfo({url: 'https://www.youtube.com/watch?v=9dLKZZN5tSo'}) 4 .then(video => console.log(video)); 5 6 /* video 7 { videoDetails: 8 { videoId: '9dLKZZN5tSo', 9 title: 'Ratan Tata Award Winning Speech with BIG Subtitles', 10 lengthSeconds: '263', 11 keywords: 12 [ 'with big subtitles', 13 'ratan tata', 14 'ratan tata speech', 15 'award winning speech', 16 'subtitles' ], 17 channelId: 'UCC4gyz11gwCkHaVeuO366tg', 18 isOwnerViewing: false, 19 shortDescription: 20 'Ratan Tata\'s speech from Automotive Hall of Fame. 2015 Induction & Awards Gala Ceremony.\n\nHit Like if you found this video helpful.\nComment if not and please let me know how I can improve.\n\nSubscribe for more videos.\n\nWatch Mahua Moitra Parliament Speech with BIG Subtitles:\nhttps://www.youtube.com/watch?v=vzHRBfPl-6Y&', 21 isCrawlable: true, 22 thumbnail: { thumbnails: [Array] }, 23 averageRating: 4.9388342, 24 allowRatings: true, 25 viewCount: '11302491', 26 author: 'wow! Rao', 27 isPrivate: false, 28 isUnpluggedCorpus: false, 29 isLiveContent: false }, 30 formats: 31 [ { itag: 18, 32 url: 33 'https://r1---sn-u5u5n3tpo-w5pe.googlevideo.com/videoplayback?expire=1624291230&ei=PmPQYL6ECOOnz7sPr46biAw&ip=103.22.143.86&id=o-ALjbtirD0bhem-K_FM86suDfgUAxZ3nQwf43Wj7KOvyr&itag=18&source=youtube&requiressl=yes&mh=M6&mm=31%2C29&mn=sn-u5u5n3tpo-w5pe%2Csn-cvh7knek&ms=au%2Crdu&mv=m&mvi=1&pl=24&initcwndbps=1220000&vprv=1&mime=video%2Fmp4&ns=WXFASK-dqNc5hSPn0peRk44F&gir=yes&clen=11791564&ratebypass=yes&dur=262.664&lmt=1579534842937206&mt=1624269421&fvip=1&fexp=24001373%2C24007246&c=TVHTML5&txp=5531432&n=bS-tw8BRTggvXBqCS&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRAIgGz---ma3Tj1PrTWRK_4X854q_CNQmOnxP8e5Vbo4sisCIANTvP8wOA7NuJNbApt4dFFXtQ_sfK_STfmeqGq9mLzV&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIhAISuLs7gb247_LQuhcZ81y_ebL3TzU9ebMXGh7oFt_BHAiA2Bdh1kzJd0b-RlENb6ZmXnqaytlLg-7ijhh3xDLv4Vg%3D%3D', 34 mimeType: 'video/mp4; codecs="avc1.42001E, mp4a.40.2"', 35 bitrate: 359231, 36 width: 640, 37 height: 360, 38 lastModified: '1579534842937206', 39 contentLength: '11791564', 40 quality: 'medium', 41 fps: 30, 42 qualityLabel: '360p', 43 projectionType: 'RECTANGULAR', 44 averageBitrate: 359137, 45 audioQuality: 'AUDIO_QUALITY_LOW', 46 approxDurationMs: '262664', 47 audioSampleRate: '44100', 48 audioChannels: 2 }, 49 { itag: 22, 50 url: 51 'https://r1---sn-u5u5n3tpo-w5pe.googlevideo.com/videoplayback?expire=1624291230&ei=PmPQYL6ECOOnz7sPr46biAw&ip=103.22.143.86&id=o-ALjbtirD0bhem-K_FM86suDfgUAxZ3nQwf43Wj7KOvyr&itag=22&source=youtube&requiressl=yes&mh=M6&mm=31%2C29&mn=sn-u5u5n3tpo-w5pe%2Csn-cvh7knek&ms=au%2Crdu&mv=m&mvi=1&pl=24&initcwndbps=1220000&vprv=1&mime=video%2Fmp4&ns=WXFASK-dqNc5hSPn0peRk44F&cnr=14&ratebypass=yes&dur=262.664&lmt=1579535599211760&mt=1624269421&fvip=1&fexp=24001373%2C24007246&c=TVHTML5&txp=5535432&n=bS-tw8BRTggvXBqCS&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRQIhAKDgHTcU_JGA8k0sf1rOIIQpjrsocOYZHL3-RrhMqxXFAiA7_qc76juvOqoFU6GBJBbrsb4m1QgGqhMR3lsyRA3YXA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIhAISuLs7gb247_LQuhcZ81y_ebL3TzU9ebMXGh7oFt_BHAiA2Bdh1kzJd0b-RlENb6ZmXnqaytlLg-7ijhh3xDLv4Vg%3D%3D', 52 mimeType: 'video/mp4; codecs="avc1.64001F, mp4a.40.2"', 53 bitrate: 346914, 54 width: 1280, 55 height: 720, 56 lastModified: '1579535599211760', 57 quality: 'hd720', 58 fps: 30, 59 qualityLabel: '720p', 60 projectionType: 'RECTANGULAR', 61 audioQuality: 'AUDIO_QUALITY_MEDIUM', 62 approxDurationMs: '262664', 63 audioSampleRate: '44100', 64 audioChannels: 2 }, 65 */
This project is a fork of https://github.com/dangdungcntt/youtube-stream-url/ and just tweaks some query parameters.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
7 existing vulnerabilities detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/21 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More