| Name | Size |
|---|---|
| LICENSE | 1072B |
| README.md | 986B |
| pyproject.toml | 485B |
| quickstream/__init__.py | 1543B |
| quickstream/base.py | 229B |
| quickstream/providers/bandcamp.py | 862B |
| quickstream/providers/mixcloud.py | 1288B |
| quickstream/providers/soundcloud.py | 1822B |
| tests.py | 498B |
quickstream
Find stream URIs for common streaming services.
This project is similar in spirit to yt-dlp, with a few major differences:
- focus on audio rather than video
- focus on streaming rather than downloading
- focus on finding a usable URI quickly rather than finding the best one
- modern, clean code
- much smaller set of supported sites (due to a much smaller community)
usage
>>> import quickstream
>>> await quickstream.extract('http://youtube-dl.bandcamp.com/track/youtube-dl-test-song')
{
'id': 1812978515,
'url': 'https://youtube-dl.bandcamp.com/track/youtube-dl-test-song',
'title': 'youtube-dl "\'/\\ä↭ - youtube-dl test song "\'/\\ä↭',
'duration': 9.8485,
'stream': 'https://t4.bcbits.com/stream/de52650df97feb66af7cdb75ab0e20fa/mp3-128/1812978515?p=0&ts=1774681098&t=18489d2f73b58b6e5dbb97b30327531ae00776eb&token=1774681098_b56e7617d9e5f3c784567aa84a36ed7d077ccde8',
}