Is that metadata protected by some sort of mechanism? Or is it just not queried by default using one's browser? I.e., is youtube-dl calling a public, unsecured API, or is it circumventing some sort of copy protection?
Because if it's just querying for metadata that anyone can already query for...your point seems immaterial as to the legality of the tool?