My wrapper for youtube-dl / yt-dlp has been published to GitHub at github.com/palevell/ydl_fetch