Skip to main content

Python library for downloading video streams by m3u8 file.

Project description

stream_downloader

Download a stream by m3u8 file.

Prerequisites

This library requires ffmpeg to be previously installed on your machine. Detailed instructions on ffmpeg installation can be found here.

Install package from PyPi

pip install stream_downloader

Usage

from stream_downloader import download

download(
    playlist_url="https://my-video-hosting.com/id/manifest.m3u8",
    headers={"User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0"},
    video_channel=0,
    audio_channel=0,
    destination_file="my_videos/video.mp4",
)

Project details


Download files

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

Source Distribution

stream_downloader-0.1.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stream_downloader-0.1.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file stream_downloader-0.1.1.tar.gz.

File metadata

  • Download URL: stream_downloader-0.1.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.7

File hashes

Hashes for stream_downloader-0.1.1.tar.gz
Algorithm Hash digest
SHA256 434d9464ac9825aecc3351483b38247792ba92cea7fb5709135d2871b4214751
MD5 416fde6dfe48ea662c5e7ee671aa1e08
BLAKE2b-256 b62dffc2e22e68c73f61e2e79b1b9e5b7e49c947f9921eb070660fdd57982b93

See more details on using hashes here.

File details

Details for the file stream_downloader-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for stream_downloader-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aa60012204053cb28b9fa179c908fc4568a5e930c21aabb5cd8b13445ac3c501
MD5 59187806f1f290da379ca3e517fe5acc
BLAKE2b-256 567b0363e8fa669149115675020a2e360318295e2e78598c1153dd2deb4604f4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page