I am using the grequests to asynchronously download data from a website using the same url but different parameters.
For example,
unsent_requests = []
for param in params: # assume params is a list containing different parameters or query strings
unsent_requests.append(grequests.get(url = url, params = param))
responses = grequests.map(unsent)
How can I possibly get to know which response from responses belongs to which request from unsent_requests? Or are the responses in the same order as the unsent requests?
PS: response.url does not give any clue because a completely different url returns.