Maybe use something like this JSDOM based crawler to download all the files? https://crawlee.dev/api/jsdom-crawler