18.4.2018, 15:15
Jééé, blbě jsem to pochopil :/
Tak to asi takhle:
či moderněji takhle:
Tak to asi takhle:
Kód:
wget -qO - ` grep -A 1 "$*$" .../playlist.m3u8 | head -n 2 | tail -n 1`
či moderněji takhle:
Kód:
wget -qO - $(grep -A 1 "$*$" .../playlist.m3u8 | head -n 2 | tail -n 1)