Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将如何完成以下任务:
rs = (self.exporter.grequester(url) for url in url_chunk) res_items = grequests.map(rs, timeout=10s) # this is the item that times out
尝试这个:
reqs = grequests.map(grequests.get(link, headers=header, timeout=1) for link in links)
资源