You can use this program to download youtube videos and audios...
You could also try using it with other sites
see the list of supported sites here ==> https://github.com/ytdl-org/youtube-dl/blob/master/docs/supportedsites.md
git clone https://github.com/Genesis123456/Youmate
chmod +x youmate.py
python3 youmate.py
Please report bugs to me ...... Thanks