Skip to main content

A Multi-Platform Live Stream Parser Library.

Project description

StreamGet

StreamGet - A Multi-Platform Live Stream Parser Library.

Python version PyPI - Version Pepy Total Downloads

streamget is a lightweight Python library for real-time live stream acquisition, supporting HLS/FLV across 40+ platforms.

Installation

Install StreamGet via pip (requires Python 3.10+):

pip install -i https://pypi.org/simple streamget

Node.js Runtime (Optional for Some Features):

streamget install-node

To view the help information, run: streamget --help .


Quick Start

>>> import asyncio
>>> from streamget import DouyinLiveStream
>>> url = "https://live.douyin.com/xxxxxxx"
>>> live = DouyinLiveStream()
>>> data = asyncio.run(live.fetch_web_stream_data(url))
>>> stream_obj = asyncio.run(live.fetch_stream_url(data, "OD"))
StreamData(platform='xxxx', anchor_name='xxxx', is_live=True, m3u8_url="xxx"...)
>>> json_str = stream_obj.to_json()
'{"anchor_name": "xxxx", "is_live": True, "flv_url": "...", "m3u8_url": "..."}'

Supported Platforms

Platform Support status HLS support FLV support Need cookie Requires Node.js
抖音
TikTok
快手
虎牙直播
斗鱼直播
YY直播
哔哩哔哩
小红书
Bigo
Blued
SOOP
网易CC
千度热播
PandaTV
猫耳FM
Look
WinkTV
FlexTV
PopkonTV
TwitCasting
百度直播
微博直播
酷狗直播
TwitchTV
LiveMe
花椒直播
ShowRoom
映客直播
Acfun
音播直播
知乎直播
CHZZK
嗨秀直播
vv星球直播
17Live
浪Live
畅聊直播
飘飘直播
六间房直播
乐嗨直播
花猫直播
Shopee
YouTube
淘宝
京东
Faceit
连接直播
咪咕直播
来秀直播
Picarto
More ...

Notes

  1. Support Status: ✅ indicates supported or necessary, ❌ indicates unsupported or optional.
  2. Cookie Need: ✅ indicates necessary
  3. Requires Node.js: require Node.js for fetching data

Supported Quality

Chinese clarity abbreviation Full Name Note
原画 OD Original Definition Highest clarity, original picture quality, Blue-ray
超清 UHD Ultra High Definition Ultra high definition
高清 HD High Definition High definition, usually referring to 1080p
标清 SD Standard Definition Standard clarity, usually referring to 480p
流畅 LD Low Definition Low definition, usually referring to 360p or lower

Contributing

Contributions are welcome! If you'd like to add support for a new platform or improve the package, please check out the GitHub repository and submit a pull request.


Documentation

For full documentation and advanced usage, visit the official documentation.

For a run-through of all the basics, head over to the QuickStart.


StreamGet is MIT licensed code.
Where there's a live stream, there's StreamGet.

— 🦅 —

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

streamget-4.0.9.tar.gz (110.7 kB view details)

Uploaded Source

Built Distribution

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

streamget-4.0.9-py3-none-any.whl (172.8 kB view details)

Uploaded Python 3

File details

Details for the file streamget-4.0.9.tar.gz.

File metadata

  • Download URL: streamget-4.0.9.tar.gz
  • Upload date:
  • Size: 110.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.10.13 Windows/10

File hashes

Hashes for streamget-4.0.9.tar.gz
Algorithm Hash digest
SHA256 b4eac3d08f07f2d1217956d8992cfa4d0f94a91097fda8cbbb192764b9f750cd
MD5 7cf565827d0430d06f8d73105162a7ce
BLAKE2b-256 32e9b1739ae25ad1ecc29aa05b590dee61e23f948bd8167e34f55ce64fb84584

See more details on using hashes here.

File details

Details for the file streamget-4.0.9-py3-none-any.whl.

File metadata

  • Download URL: streamget-4.0.9-py3-none-any.whl
  • Upload date:
  • Size: 172.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.10.13 Windows/10

File hashes

Hashes for streamget-4.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 6e8ecc0d5cbd4dcefaf2299b18436e64b206fb4a0e58009297eace4a6dc6916a
MD5 c4e7fc154955af42bbc2e0f911a7488c
BLAKE2b-256 23927d9259823edb6309f26b312bd219e7582a4cd5b4958e3c2c59460a750390

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