Skip to main content

Client to download all files from HLS streams

Project description

hls-client
==========

This is a simple Python HTTP Live Streaming Client. It consumes a list of remote
playlists, and saves all needed files to serve the playlist
locally: the key, segments, and a modified `m3u8` with
paths normalized.

It also supports backups, i.e., if the same playlist is available
on more than one server, it will track each server status and will
switch to the backup if needed.

Through the `config.ini` it's possible to customize where the files
will be saved and what is the URL that provides servers info via JSON.

The JSON must be something like:

{
actives: [
{
m3u8: "/msfc/Edge.m3u8",
servers: [
"liveips.nasa.gov.edgesuite.net"
],
bitrates: [],
needs_index: false
}
]
}


Running
--------

To run the client, simply run:

python -m hlsclient

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for hlsclient, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size hlsclient-0.1.4.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page