.m3u8 url for YouTube and Kick #5580
-
DescriptionI'm using streamlink to get the .m3u8 url for twitch VODs, streams = streamlink.streams(url) I'm not able to find anything about the Kick platform, I found few plugins made for kick but they don't have much docs and I think they are for command line (not sure). |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Streamlink does not have a plugin for that site, for various reasons. You won't find support here for third party plugins.
The job of a plugin is to implement Streamlink's plugin API, so that the Streamlink session can retrieve the streams. The retrieved streams are then presented to the user via Streamlink's CLI. However, if you're using Streamlink's Python API in your Python application, then you should take a look at the documentation, because Streamlink's CLI won't be of use for you.
Streams must be
Streamlink's YouTube plugin does only return $ streamlink --json twitch.tv/eslcs | jq '.streams | map_values(.url)' {
"audio_only": "https://...",
"160p": "https://...",
"360p": "https://...",
"480p": "https://...",
"720p": "https://...",
"720p60": "https://...",
"1080p60": "https://...",
"worst": "https://...",
"best": "https://..."
} >>> from streamlink import Streamlink
>>> from streamlink.stream import HLSStream
>>>
>>> session = Streamlink()
>>> streams = session.streams("twitch.tv/eslcs")
>>> {name: stream.url for name, stream in streams.items() if isinstance(stream, HLSStream)}
{'audio_only': 'https://...', '160p': 'https://...', '360p': 'https://...', '480p': 'https://...', '720p': 'https://...', '720p60': 'https://...', '1080p60': 'https://...', 'worst': 'https://...', 'best': 'https://...'} |
Beta Was this translation helpful? Give feedback.
Streamlink does not have a plugin for that site, for various reasons. You won't find support here for third party plugins.
The job of a plugin is to implement Streamlink's plugin API, so that the Streamlink session can retrieve the streams. The retrieved streams are then presented to the user via Streamlink's CLI. However, if you're using Streamlink's Python API in your Python application, then you should take a look at the documentation, because Streamlink's CLI won't be of use for you.
Streams must be
HLSStream
instances. …