npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

stream-downloader

v0.0.21

Published

One stream downloader

Downloads

19

Readme

Stream Downloader

Stream Downloader是一个用于从网络下载媒体资源(视频,音频,图片等)的工具。

npm

我是个兴趣使然的开发者🤓,利用搬砖之余开发了 Stream Downloader

✈️ 去 官网 逛逛 | 📖 查看 帮助指南

案例

当你想下载某个站点页面的视频时,可以简单使用如下的方式

stream-dl 'https://v.qq.com/x/cover/mzc00200f995x6t/b0032n9h1lp.html'
$ stream-dl 'https://v.qq.com/x/cover/mzc00200f995x6t/b0032n9h1lp.html'
stream-downloader - One stream downloader
debug: urls total 1
debug: matching video info
debug: Requesting https://v.qq.com/x/cover/mzc00200f995x6t/b0032n9h1lp.html
debug: vid b0032n9h1lp
debug: title 外交风云_05
debug: matching video completed
================================================
-- title:外交风云_05
-- url:https://v.qq.com/x/cover/mzc00200f995x6t/b0032n9h1lp.html
debug: auto selected SD
================================================
Downloading streaming content with Request, press ctrl + c to stop recording...
debug: will downloading 1,2,3,4,5,6,7,8,9
debug: downloading url http://211.162.173.149/vlive.qqvideo.tc.qq.com/AeXmx_Lyf8NTKyranHW63b0gcNIqVYyXRNquS1JVP524/uwMROfz2r5zAoaQXGdGnC2dfKb8lyKS1sskNZcPDHZeE8qgJ/l00326604nv.p203.1.mp4?vkey=FD7D16544575547CAAB0AD8A13714F3CE9F237F177A52FC76FCB9FFA1226C6567AA28553FDE74B25EEBDFEC581D1E09F61537ACA7C2845A426633DECAB8088FF45FA8F9A277229D6F59FCF172F411CCA6A5B490888B0EA4AC1A7D27671F221B954631CB2B2E01D8ABF2E4BFE4ED973BA
debug: statusCode 200 contentType video/mp4
process: totalSize=14.28MB receivedSize=14.28MB percentage=100%
........
........
debug: downloading url http://211.162.173.149/vlive.qqvideo.tc.qq.com/AeXmx_Lyf8NTKyranHW63b0gcNIqVYyXRNquS1JVP524/uwMROfz2r5zAoaQXGdGnC2dfKb8lyKS1sskNZcPDHZeE8qgJ/l00326604nv.p203.9.mp4?vkey=DB74F3326CCEC3AE09D4B2C7AE1B4A179229A54E25E77884C9390CAD4E01A408FBCF8F739A3CD2606DA8403D8A6A99AB23D861B670CFE1DCF330FA260168CAFC68B221920A14ED51BF3C1DA17412F2F41B13A8ADF5AF726280167ED7678F697D889E7DF8DE08D4DB9BA1C6A18074865D
debug: statusCode 200 contentType video/mp4
process: totalSize=10.35MB receivedSize=10.35MB percentage=100%
debug: downloaded result true
debug: ffmpegPath bin\ffmpeg.exe
debug: starting merge video
debug: Ffmpeg with command: ffmpeg -i concat:300ffa1f9cef71781b6fdfa78a0740cb/1.mp4.ts|....|300ffa1f9cef71781b6fdfa78a0740cb/9.mp4.ts -y -c copy -bsf:a aac_adtstoasc 外交风云_05.mp4
debug: merge completed

安装

使用nodejs——npm安装

npm install -g stream-downloader

使用二进制包

releases

支持站点

| 站点 | 地址 | 视频 | 音频 | 图片 | | :----: | :-------------------: | :--: | :--: | :--: | | 腾讯视频 | http://v.qq.com/ | ✓ | | | | 优酷 | http://www.youku.com/ | ✓ | | | | 土豆 | http://www.tudou.com/ | ✓ | | | | 爱奇艺 | http://www.iqiyi.com/ | ✓ | | | | 喜马拉雅 | http://www.ximalaya.com/ | | ✓ | | | 腾讯音乐 | http://music.qq.com/ | | ✓ | | | Bilibili | http://www.bilibili.com/ | ✓ | ✓ | | | 网易云音乐 | https://music.163.com/ | ✓ | ✓ | | | 酷狗音乐 | https://www.kugou.com/ | | ✓ | | | 企鹅直播 | http://live.qq.com/ | ✓ | | | | 斗鱼直播 | https://www.douyu.com/ | ✓ | | | | 央视网 | http://www.cctv.com | ✓ | | | | 中新网 | http://www.chinanews.com | ✓ | | | | 凤凰网 | http://www.ifeng.com | ✓ | | | | 中国网 | http://www.china.com.cn | ✓ | | | | 芒果TV | https://mgtv.com | ✓ | | |

📜 开源许可

基于 MIT license 许可进行开源。