They already suggested yt-dlp, but also have a look at JDownloader. You can paste a webpage url and it will fetch all the elements it can download, video included. You can also create download collections in order to download the same files again (or in another computer with JDownloader installed).


It could be interesting to create a distro-package (I think it would be very easy to make one for deb/rpm/arch packages) with all these aliases to make them easily available to other people too.