#!/bin/bash

streamlink --output="{id}-{time:%Y%m%d%H%M%S}.ts" \
    --config="${XDG_CONFIG_HOME:-${HOME}/.config}/streamlink/config" \
    --twitch-api-header="Authorization=OAuth qa785702fhg1kzf494c7nmmekxhm1u" \
    "$1" \
    "best"