0

我有以下代码:

>>> import grequests
>>> urls=[
     'https://www.microsoft.com/en-us/store/movies/the-legend-of-blood-castle/8d6kgwzzx9hm', 
     'https://www.microsoft.com/en-us/store/movies/babe/8d6kgwzl64t3']
>>> rs = (grequests.get(url) for url in urls)
>>> res_items=grequests.map(rs)
>>> res_items
[<Response [200]>]

但是,它应该返回:

[<Response [200]>, <Response [404]>]

但无论出于何种原因,它对 404 没有任何作用。为什么会这样,我需要做什么才能使 404 出现在结果中?

4

0 回答 0