In testing, youtube-dl is often new enough to work with most sites. mpv has an option to use youtube-dl also -- via "man mpv"
Enable the youtube-dl hook-script. It will look at the input URL, and will play the video located on the website. This works with many streaming
sites, not just the one that the script is named after. This requires a recent version of youtube-dl to be installed on the system. (Enabled by
default, except when the client API / libmpv is used.)
If the script can't do anything with an URL, it will do nothing.
Video format/quality that is directly passed to youtube-dl. The possible values are specific to the website and the video, for a given url the
available formats can be found with the command youtube-dl --list-formats URL. See youtube-dl's documentation for available aliases. (Default:
youtube-dl's default, currently bestvideo+bestaudio/best)
Pass arbitrary options to youtube-dl. Parameter and argument should be passed as a key-value pair. Options without argument must include =.
There is no sanity checking so it's possible to break things (i.e. passing invalid parameters to youtube-dl).
and of course my favourite way to get music from "cough cough" is
youtube-dl --extract-audio --prefer-ffmpeg --audio-format mp3 --audio-quality 0 --embed-thumbnail "URL"
I have stopped using a few scripts via the above.
Of course, never underestimate "wget".