为了账号安全,请及时绑定邮箱和手机立即绑定

我想问问python网络爬虫这样还是不没爬取到知乎网内容,是问题出现在哪里

我想问问python网络爬虫这样还是不没爬取到知乎网内容,是问题出现在哪里

import requests headers = {     'User-Agent:Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36' } response = requests.get('https://www.zhihu.com/explore',data=headers) print(response.text)
查看完整描述

1 回答

  • 1 回答
  • 0 关注
  • 916 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信