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 🙏

© 2024 – Pkg Stats / Ryan Hefner

youku-m3u8-parser

v1.3.0

Published

下載優酷影片小工具 (解析 m3u8 檔、下載影片)

Downloads

10

Readme

下載優酷影片小工具

Latest Version on NPM Software License

解析 m3u8 檔、下載影片

參考:优酷视频下载 - 『编程语言区』 - 吾爱破解

僅支持 Windows

安裝依賴

取得優酷影片 m3u8 檔

使用以下線上工具取得:

使用

安裝:

npm install youku-m3u8-parser -g

or

yarn global add youku-m3u8-parser

將剛才下載的 m3u8 檔命名為 我的影片.m3u8 (我的影片 為自訂影片名稱)。開啟命令行,執行:

youku-m3u8-parser "我的影片"

執行完成後,影片將會輸出至 output 資料夾中。

下載全部影片

解析當前資料夾全部的 m3u8 檔(不包含子資料夾)並下載影片:

youku-m3u8-parser --all

選項

  -a, --all                解析全部的m3u8檔並下載影片
  -i, --input <path>       m3u8資料夾 (default: "./")
  -o, --output <path>      影片輸出資料夾 (default: "./output")
  -m, --max <number>       同時下載的最大影片段落數 (default: 10)
  -am, --allmax <number>   同時下載的最大任務數 (default: 3)
  -q, --quantity <number>  輸出處理分組影片數。處理較大影片才需分組,例:輸入10,會先將10小段影片為單位合併為數個大段的影片後,再合併為完整的影片。 (default: 20)
  -f, --ffmpeg <path>      FFmpeg 路徑 (default: "ffmpeg")