invidious: respect -T
This commit is contained in:
parent
db2e270018
commit
a444cdcbfd
@ -94,6 +94,6 @@ id=$(get_id "$url")
|
||||
[ ${#id} -eq 11 ] || err "invalid video ID $id"
|
||||
|
||||
# XXX choose in some clever way
|
||||
itag=$(torsocks ftp -MVo - "$(api "/api/v1/videos/$id")" |
|
||||
itag=$($torsocks ftp -MVo - "$(api "/api/v1/videos/$id")" |
|
||||
jq -r ".formatStreams[].itag" | head -n 1)
|
||||
api "/latest_version?id=$id&itag=$itag"
|
||||
|
Loading…
Reference in New Issue
Block a user