In a word, for those who ensure the downloaded YouTube videos are only for personal use, not for organization, you don’t must place an excessive amount anxiety on the phrase “illegal”.
" The exception is YouTube https://savefromx.net/download-youtube-videos/