The copyright law in the United States protects the content on YouTube, making any recording or conversion of this copyrighted content illegal. But you can record the screen from YouTube for personal use or for entertainment purposes.