I'd go with a NodeJS approach because...why not, eh?
Download all images and put them in a folder.
Open your terminal (cmd, GitBash, etc) and navigate to your folder:
Inside the folder, create a JS file (e.g compress.js) and add the following code:
const imagemin = require('imagemin')
const imageminWebp = require('...