今天在采集网页的时候 发现请求连接之后,没有返回结果

代码如下:

  url = 'https://skinnerinc-res.cloudinary.com/images//v1501706307/1165786/pair-of-karl-springer-style-table-'

  response = requests.get(url=source_url, headers=headers)

这个时候我们    print response.response.status_code  不会有任何结果

 

解决办法:

  response = requests.get(url=source_url, headers=headers,verify=False)

相关文章:

  • 2022-12-23
  • 2021-10-26
  • 2021-04-20
  • 2022-02-07
  • 2022-02-04
  • 2022-12-23
  • 2022-12-23
  • 2021-06-11
猜你喜欢
  • 2022-12-23
  • 2022-02-12
  • 2022-02-07
  • 2022-01-22
  • 2022-02-05
  • 2021-12-14
  • 2021-12-15
相关资源
相似解决方案