
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
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 9 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.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.