I am trying to save images from https://picsum.photos/1024/1024/?random
on visiting this site it directs you to https://picsum.photos/1024/1024/?image=392
the image number is generated randomly on the website.
What I am trying to do is save the image with the filename as the number mentioned in the URL. I am a little lost here, can anyone help?