Last active
January 13, 2021 06:27
-
-
Save rmoriz/68a30c3ab7c5f7fb94ad9a6a54e96594 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# see https://streamlink.github.io/cli.html | |
# install streamlink and vlc on macos | |
brew install streamlink | |
brew cask install vlc | |
# Method 1 | |
# streamlink will download the stream and forward it to vlc which it starts | |
streamlink https://www.bloomberg.com/live/us 720p --player=vlc | |
# Method 2 | |
# streamlink will parse the website and print the m3u8 url which can be opened in vlc (open network) or Safari. | |
streamlink https://www.bloomberg.com/live/us 720p --stream-url | |
# https://liveproduseast.global.ssl.fastly.net/us/Channel-USTV-AWS-virginia-1/Source-USTV-1000-1_live.m3u8 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://streamlink.github.io/