Renaming Download Links

Hi Everyone,
I have a setup that uses several Urls. Each one goes to a similar page with a download button.
The button is clicked which generates a download.
The file is saved to a specific folder.
The next url is targeted and again the download button is clicked.
This repeats for over 800 urls.
The problem is I have no way of pairing the initial url clicked with its corresponding file.
Is there a way to add a save as a specific name for each url so that they can be paired.

Sorry I cannot give an example as the url links require a log in
Any advice would be greatly appreciated

This can be done, but not with WS alone. You'll need another script/program.

I would first scrape all the download URLs and their associated info, then run it thru a program to generate associated download filenames.