Xpersona
M

M3U8 Media Downloader

CLAWHUB · Unverified

Use @lzwme/m3u8-dl for media download and video info parsing. Use when the user mentions video/music download (m3u8/HLS/mp4/mp3 or 抖音/皮皮虾/微博视频), or 获取视频信息、解析... Skill: M3U8 Media Downloader Owner: renxia Summary: Use @lzwme/m3u8-dl for media download and video info parsing. Use when the user mentions video/music download (m3u8/HLS/mp4/mp3 or 抖音/皮皮虾/微博视频), or 获取视频信息、解析... Tags: latest:1.0.3 Version history: v1.0.3 | 2026-03-27T01:58:45.627Z | user - CLI usage examples updated from npx to direct m3u8dl commands for simplicity and clarity. - No underlying code or functional cha

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s170fx9q5db78yeyhk8f51j6v983j4mz:m3u8-media-downloader
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-renxia-m3u8-media-downloader/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

15,940 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: m3u8-media-downloader
description: Use @lzwme/m3u8-dl for media download and video info parsing. Use when the user mentions video/music download (m3u8/HLS/mp4/mp3 or 抖音/皮皮虾/微博视频), or 获取视频信息、解析视频链接, and a video/music URL is present.
version: "1.9.0"
author: "renxia (https://lzw.me)"
license: "MIT"
repository: "https://github.com/lzwme/m3u8-dl"
metadata:
  {
    "openclaw":
      {
        "emoji": "🎞️",
        "requires": { "bins": ["m3u8dl", "ffmpeg"] },
        "install":
          [
            {
              "id": "node",
              "kind": "node",
              "formula": "@lzwme/m3u8-dl@1.9.0",
              "bins": ["m3u8dl"],
              "label": "Install m3u8-downloader CLI (node)",
            },
          ],
      },
  }
---

# m3u8-downloader

Download m3u8/mp4 video and mp3/music, support 抖音、皮皮虾、微博 sharing links. Multi-thread download, WebUI, batch and Node API.

Example:

> 使用 m3u8-media-downloader 下载抖音视频/获取该视频详情:https://v.douyin.com/CW1iv0GeSJM/

## Main capabilities

- **m3u8/HLS & mp4** — download and merge to mp4 (ffmpeg required for ts→mp4)
- **Music** — mp3/m4a from m3u8/stream sources
- **抖音/皮皮虾/微博** — parse or download sharing links

## CLI

```bash
# 推荐方式:固定版本执行
m3u8dl <urls...> [options]
m3u8dl info <url>        # 解析视频信息
m3u8dl server            # 启动 WebUI (http://localhost:6600)
```

### Key options

| Option | Description |
|--------|-------------|
| `-f, --filename <name>` | Output filename |
| `-n, --thread-num <n>` | Download threads (default: 4) |
| `-S, --save-dir <dir>` | Save directory |
| `-T, --type <type>` | `m3u8` (default) \| `parser` \| `web` |
| `-H, --headers <json>` | Custom request headers |
| `--ffmpeg-path <path>` | ffmpeg path (for mp4 conversion) |

### Quick examples

```bash
# Basic download
m3u8dl https://example.com/video.m3u8 -f "My Video" -S ./downloads

# 抖音/皮皮虾/微博 sharing link
# parser and download video
m3u8dl "https://v.douyin.com/xxxxx/" --type parser
# parser and print info
m3u8dl info "https://h5.pipix.com/xxxxx"

# With name: "name|url"
m3u8dl "Episode 1|https://example.com/ep1.m3u8"

# Batch: file with one "filename$url" per line
m3u8dl series-list.txt -f "Series Name"

# Extract m3u8 from web page
m3u8dl "https://example.com/play/123" --type web
```

## WebUI

```bash
m3u8dl server [-P <port>] [-t <token>]
# Optional env vars for customization: DS_PORT, DS_SECRET, DS_SAVE_DIR, DS_CACHE_DIR, DS_FFMPEG_PATH
```
Open http://localhost:6600 to manage tasks in browser.

## Security Considerations

> ⚠️ **Important Security Notice**

- **Version Pinning**: This skill uses pinned version `@1.9.0` to prevent execution of different code on each run
- **Code Review**: Inspect the package via `npm view @lzwme/m3u8-dl@1.9.0` or [GitHub](https://github.com/lzwme/m3u8-dl) before execution
- **Sandbox Environment**: Run download tasks in an isolated environment with restricted filesystem permissions
- **ffmpeg Installation**: Ensure ffmpeg is installed from official or trusted source

_meta.json

{
  "ownerId": "kn74ecd2bjc4brgn6c184be6mx81vwrm",
  "slug": "m3u8-media-downloader",
  "version": "1.0.3",
  "publishedAt": 1774576725627
}

skill-card.md

## Description:

Use @lzwme/m3u8-dl for media download and video info parsing when a user provides a video or music URL, including m3u8/HLS, mp4, mp3, and supported sharing links.

This skill is ready for commercial/non-commercial use.

## Publisher:

[renxia](https://clawhub.ai/user/renxia)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agent users use this skill to guide media download, video information parsing, batch download, WebUI operation, and Node API usage through the pinned @lzwme/m3u8-dl CLI and ffmpeg.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill relies on a pinned third-party npm CLI and a local ffmpeg installation.

Mitigation: Install only after trusting @lzwme/m3u8-dl@1.9.0 and ffmpeg, and run downloads in a sandbox or limited download directory.

Risk: The optional WebUI can expose download controls if run without an appropriate secret or network boundary.

Mitigation: Keep the WebUI local or otherwise restricted, and configure a strong DS_SECRET or token before exposure.

Risk: Media downloads may violate source site terms or local law if used on unauthorized content.

Mitigation: Use the skill only for media the user is permitted to access and download under applicable terms and law.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/renxia/skills/m3u8-media-downloader)
- [Upstream CLI repository listed by artifact](https://github.com/lzwme/m3u8-dl)

## Skill Output:

**Output Type(s):** [Shell commands, Code, Configuration instructions, Guidance]

**Output Format:** [Markdown with shell commands, TypeScript snippets, and operational guidance]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May reference local output files produced by the downloader and requires m3u8dl plus ffmpeg for supported conversion workflows.]

## Skill Version(s):

1.0.3 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to M3U8 Media Downloader and adjacent AI workflows.