0

My setup downloads files, but this link "Optifine" generates a link in the Download button with a key that it only lasts a few hours.

So I would like setup to go to the site before downloading any files, get the href with the new key and save it to a variable (or something like that) so that after that I download the file through the link with the new key.

Example of links:

Link to generate key
https://optifine.net/adloadx?f=preview_OptiFine_1.18.1_HD_U_H5_pre4.jar&x=

Link with key in Download button (ready to download)
https://optifine.net/downloadx?f=preview_OptiFine_1.18.1_HD_U_H5_pre4.jar&x=6186e26845aa9286e830e790af238d3b

0 Answers0