It's a very grey area. YouTube's TOS prohibits its users form
downloading from the site full stop (except if they permit it) and
copyright holders own the content. If you are copying from YouTube
it may be considered akin to recording a VHS (which is fully
legal).