streamrip 0.1.0

Recursively mirror an HLS (.m3u8) or DASH (.mpd) stream for local hosting
streamrip-0.1.0 is not a library.

StreamRip

A command-line tool that recursively mirrors HLS (HTTP Live Streaming) content by downloading manifests and media segments while rewriting manifest URLs for local hosting.

Features

  • Downloads complete HLS streams including master playlists, media playlists, and segments
  • Maintains the relative path structure from the source
  • Rewrites manifest URLs to work with local hosting
  • Handles query parameters in URLs by converting them to safe filenames
  • Preserves original manifests with .orig extension for reference

Example Usage

streamrip --start-url=https://example.com/stream/97333-f40e7a11-73a2-47df-a767-9f0bcdfb83cd.ism/manifest.m3u8 --output-dir=hls
streamrip --start-url=https://example.com/stream/97333-f40e7a11-73a2-47df-a767-9f0bcdfb83cd.ism/manifest.mpd  --output-dir=dash