Asynchronous Requests with Python requests

前端 未结 12 1431
予麋鹿
予麋鹿 2020-11-22 08:47

I tried the sample provided within the documentation of the requests library for python.

With async.map(rs), I get the response codes, but I want to get

12条回答
  •  旧巷少年郎
    2020-11-22 09:20

    If you want to use asyncio, then requests-async provides async/await functionality for requests - https://github.com/encode/requests-async

提交回复
热议问题