[YoutubeDL] rework how the format spec is processed