>>106457423
there is probably a way. but i don't bother with learning format selection syntax because i simply parse yt-dlp json data directly which gives me maximum flexibility.
for example, to get "fastly" 1080 video url from vimeo:
yt-dlp --cookies cookies.txt --skip-download --no-playlist -J $vimeo_url > info.json
jq -r '.formats[]| select(.height==1080) | select(.format | test(".*fastly.*")) | .url' info.json