Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Comment, don't paste these. Replace the * with relevant information
- // Keep in mind I have noticed that streams recorded with this method (through the website url and not the m3u8 url) can't be opened with vlc for some reason but MPV works fine
- // The program just loops non-stop with a break of 10s, the website seems pretty shit so it never tells you "hey, too many requests stop that" so you can just keep this running idly forever
- // Everything below this is the script:
- #!/bin/bash
- while true
- do
- timedate=$( date '+%F_%H_%M_%S' )
- streamlink -r *****live$timedate.mp4 https://twitcasting.tv/******** best
- sleep 10s
- done
Add Comment
Please, Sign In to add comment