Dumps apple HLS stream format - including alternative audio tracks and all subtitles
- m3u8
- ffmpy (and ffmpeg)
- pycountry
mov_text
format is used for webvtt conversion - thus output container should supportmov_text
(e.g.,mp4
)
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"net/url" | |
"strings" | |
) |
LBL "COMPINT" | |
"Loop count:" | |
PROMPT | |
STO 00 | |
"Deposit amount " | |
├"per loop:" | |
PROMPT | |
STO 01 | |
"Interest rate (" | |
├"e.g., 1.05):" |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>ANSIBlackColor</key> | |
<data> | |
YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMS | |
AAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGjCwwTVSRudWxs0w0ODxARElVO | |
U1JHQlxOU0NvbG9yU3BhY2VWJGNsYXNzRjAgMCAwABABgALSFBUWF1okY2xhc3NuYW1l | |
WCRjbGFzc2VzV05TQ29sb3KiFhhYTlNPYmplY3QIERokKTI3SUxRU1ddZGp3foWHiY6Z |
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# | |
# Minorister | |
# Dirty mix of agnoster and paradox theme, now only with foreground colours! | |
# I missed paradox theme of prezto even after installing oh-my-zsh | |
# | |
# | |
# # README | |
# | |
# In order for this theme to render correctly, you will need a |
LBL "EPOCH" | |
DATE | |
TIME | |
LBL "T2Ep" | |
X<>Y | |
1970.0101 | |
X<>Y | |
DDAYS | |
24 | |
× |
LBL "ASPECTRTO" | |
LSTO "X" | |
X<>Y | |
LSTO "Y" | |
X<>Y | |
XEQ "GCD" | |
LSTO "GCD" | |
RCL "Y" | |
X<>Y | |
/ |
Section "InputClass" | |
MatchIsTouchpad "on" | |
Identifier "Touchpads" | |
Driver "mtrack" | |
# Personal preference - overall sensitivity | |
Option "Sensitivity" "0.6" | |
# Distance to move before start emulating two finger scroll mouse event | |
Option "ScrollDistance" "50" |
#!/bin/bash | |
STREAMER_STREAM_URL="STREAM_URL_HERE" | |
open /Applications/Tc.app | |
mpv "$STREAMER_STREAM_URL" 2> /dev/stdout | grep -Fxq "offline" | |
while [ $? -ne 0 ]; do | |
echo "Streamer is offline! Retrying after 10 seconds..." | |
sleep 10 |