
Security News
NIST Under Federal Audit for NVD Processing Backlog and Delays
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
yt-dm-stream-url
Advanced tools
Node project to get the live m3u8 streaming links from youtube & dailymotion
Node.js required
npm install yt-dm-stream-url
Require YouTube channel-id.
Example:
https://www.youtube.com/channel/your_youtube_channel_id
https://www.youtube.com/watch?v=your_youtube_video_id
https://www.dailymotion.com/video/your_dailymotion_video_id
https://www.hungama.com/live-tv/your_hungama_video_id/
Note:
Only supports links given in above formats
import yt from 'yt-dm-stream-url';
// returns .m3u8 link for the live stream
await yt.getStream("https://www.youtube.com/channel/UCiLfeVOBJoAPUbiKxrHBcuw")
.then(data => console.log(data))
OR
await yt.getStream("https://www.hungama.com/live-tv/dil-se/41239464/")
.then(data => console.log(data))
Example output:
'https://manifest.googlevideo.com/api/manifest/hls_variant/expire/1671561211/ei/m6uhY42gMteA4-EPlYu0kAM/ip/223.178.21.214/id/2yj5oU6ZfNM.1/source/yt_live_broadcast/requiressl/yes/hfr/1/playlist_duration/30/manifest_duration/30/maudio/1/vprv/1/go/1/pacing/0/nvgoi/1/keepalive/yes/fexp/24001373,24007246/dover/11/itag/0/playlist_type/DVR/sparams/expire,ei,ip,id,source,requiressl,hfr,playlist_duration,manifest_duration,maudio,vprv,go,itag,playlist_type/sig/AOq0QJ8wRQIhAI4HISSkAiN76lFG62EP0h6nN9rob9jUz2_fz3ADyzNfAiAbi-JOQNbbKVpa8dXiu11lpAM_UadQIsrQv2XVMcUi4Q==/file/index.m3u8'
Did you find a bug? Do you have an idea or a feature request? Open an issue!
FAQs
Get the streaming url's from yt & dm
The npm package yt-dm-stream-url receives a total of 1 weekly downloads. As such, yt-dm-stream-url popularity was classified as not popular.
We found that yt-dm-stream-url demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.
Security News
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.