You can use a CLI tool like yt-dlp. You'll need all the URL's for the vids.
Not 💯 on what the best command would be for yt-dlp. You could try this command from the terminal:
yt-dlp -a urls.txt -f bestaudio --extract-audio --audio-format mp3 --audio-quality 0