
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
media-stream-util
Advanced tools
A CLI utility for downloading media content from playlist.json URLs or webpages. For personal, educational, and archival use only.
A CLI utility for downloading media content from playlist.json URLs or webpages containing embedded media players.
Currently supports: Vimeo content only
Note: Support for additional video platforms (YouTube, Dailymotion, etc.) will be added in future releases.
This tool is provided for PERSONAL, EDUCATIONAL, and ARCHIVAL purposes only.
Use at your own risk and responsibility.
npx media-stream-util [options]
| Flag | Description | Example |
|---|---|---|
-p, --jsonPlaylist | Direct link to playlist.json file | -p "https://example.com/playlist.json" |
-w, --webPage | Link to webpage with embedded media | -w "https://example.com/page" |
-cp, --cookiePath | Path to cookies.json file | -cp "./cookies.json" |
-a, --audioOnly | Download audio only | -a |
-v, --videoOnly | Download video only (requires resolution) | -v -r 720 |
-c, --combine | Download and merge audio + video | -c |
-r, --resolution | Set video resolution | -r 1080 (options: 240, 360, 540, 720, 1080) |
-m, --maxResolution | Download maximum available resolution | -m |
-o, --output | Output filename | -o "my-video" |
--path | Output directory path | --path "./downloads" |
--help | Show help | --help |
--version | Show version | --version |
--disclaimer | Prints disclaimer | --disclaimer |
# Download audio only from direct playlist URL
npx media-stream-util -p "https://example.com/playlist.json" -a -o "audio-file"
# Download 720p video from webpage with cookies
npx media-stream-util -w "https://example.com/page" -cp "./cookies.json" -v -r 720 -o "video-file"
# Download and combine audio+video at max resolution
npx media-stream-util -p "https://example.com/playlist.json" -c -m -o "combined-file"
If accessing authenticated content, provide cookies in JSON format:
[
{
"name": "session_id",
"value": "your_session_value",
"domain": ".example.com",
"path": "/",
"secure": true,
"httpOnly": true
}
]
MIT License - See LICENSE file for details.
This software is provided "as is" without warranty of any kind.
This tool is provided as-is for educational purposes. Users are responsible for ensuring their usage complies with applicable laws and platform terms of service.
FAQs
A CLI utility for downloading media content from playlist.json URLs or webpages. For personal, educational, and archival use only.
We found that media-stream-util demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.