Closed MadMowgli closed 2 years ago
Same problem
grequests.map
returns the result you're looking for. It will not modify rs
.
The corrected version would be something like this:
for domain_list in chunks:
rs = (grequests.get('https://' + url, timeout=timeout) for url in domain_list)
results = grequests.map(rs)
result_list.append(results)
I have the following code:
However, the generators seem to be empty:
Length check is based on the following stack overflow response: https://stackoverflow.com/a/50645935/10765169
Am I doing something wrong?