Last active
December 31, 2023 09:44
-
-
Save Swyter/a69c655504be5dd93b62fe9952bde747 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
https://dl.fujifilm-x.com/global/special/camera-control-sdk/download/SDK12800.zip | |
https://dl.fujifilm-x.com/global/special/camera-control-sdk/download/SDK12700.zip | |
https://dl.fujifilm-x.com/global/special/camera-control-sdk/download/SDK12500.zip | |
https://dl.fujifilm-x.com/global/special/camera-control-sdk/download/SDK12200.zip | |
https://dl.fujifilm-x.com/global/special/camera-control-sdk/download/SDK12100.zip | |
*/ | |
for (i=125; i>0; i--) | |
{ | |
xhr = new XMLHttpRequest() | |
xhr.open("GET", `https://dl.fujifilm-x.com/global/special/camera-control-sdk/download/SDK${('000' + i).slice(-3)}00.zip`) | |
xhr.onloadend = function(e) | |
{ | |
if (e.target.readyState != e.target.DONE) | |
return; | |
if (e.target.status != 200) | |
return; | |
console.log("VALID", e.target.responseURL); | |
} | |
xhr.send() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment