A Python library for SmoothStreams
Project description
A Python library for working with SmoothStreams services.
Usage
Create a list of channels with metadata – including stream URLs – for a defined service, for a particular server, with a specific quality.
>>> g = Guide(Feed.ALTEPG) >>> auth = AuthSign(service=Service.LIVE247, auth=('username', 'password')) 'c2VydmVyX3R...' >>> s = g.generate_streams(Server.NA_EAST_VA, Quality.HD, auth, Protocol.RTMP) >>> s[0] {'number': '1', 'name': '01 - ESPNNews', 'icon': 'https://fast-...', 'url': 'rtmp://dnae2.smoothstreams.tv:3625/view247/ch01q1.stream/playlist.m3u8?wmsAuthSign=c2VydmVyX3R...'} >>> s[0]['url'] 'rtmp://dnae2.smoothstreams.tv:3625/view247/ch01q1.stream/playlist.m3u8?wmsAuthSign=c2VydmVyX3R...'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pysmoothstreams-0.14.tar.gz
(6.6 kB
view hashes)
Built Distribution
Close
Hashes for pysmoothstreams-0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7a6edb18aa41514153f6581bffe51721f212c4c47ae0da7ed8ef9f6f6755341 |
|
MD5 | cfd5b142c035f542d54f7e2a063640e0 |
|
BLAKE2b-256 | 1f31543940893defa5113a4389db2368995cf22f6390a13e2a4ea89cb9fa10fd |