https://github.com/aandrew-me/ytDownloader
For this, I've been having issues with the latest version, but that probably has to do with me being on an older (21.3) version of Linux Mint so half my libraries are out of date. What worked for me was downgrading to version 3.19.3 of this application and disabling auto-updates in preferences so it doesn't give me that annoying popup every time I open the application.
For downloading age-restricted videos it will require you to be signed in with a google account that is able to view age-restricted videos on a browser then change the settings to scan cookies for that browser. This will not work if your browser is a flatpak (and I think there will be issues if this application is also a flatpak).