Downloading videos from youtube is against the terms of service of the platform. It's considered a violation of copyrighted material. It's best to download videos from youtube only if you have the copyright owner's permission.