Downloading YouTube videos using third-party apps violates YouTube's terms of service that states users are to stream videos directly from their servers. You might also be liable to potential copyright infringement unless you own the video yourself or have permission from the copyright owner or the video is in the public domain.