Yes, it is safe to download YouTube videos only for personal use. However, it's forbidden to use copyrighted contents for commercial or business purposes, unless it was covers by "fair use". The video that contains copyright material or music may be blocked to download to prevent stream-ripping.