chrippa / livestreamer

Command-line utility that extracts streams from various services and pipes them into a video player of choice. No longer maintained, use streamlink or youtube-dl instead.
http://livestreamer.io/
BSD 2-Clause "Simplified" License
3.88k stars 582 forks source link

How to extract stream URL without API? #1667

Closed bamtan closed 5 years ago

bamtan commented 5 years ago

Hi, I'd like to obtain the stream URL by using the CLI interface, and without the API as documented here (http://docs.livestreamer.io/api_guide.html#extracting-streams).

Are there any arguments to do this via CLI without creating a Python script?

My main goal is to simply get the .m3u8 URL of a quality I've requested, and not play it with a player.

cdrage commented 5 years ago

Use https://github.com/streamlink/streamlink/ mah friend

bamtan commented 5 years ago

Found the solution

livestreamer --stream-url twitch.tv/channel_name audio_only