91

爬虫遇反爬 HTTP Error 403: Forbidden,如何破?

 6 years ago
source link: https://www.v2ex.com/t/444955
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Python - @pyse - ```py```代码中也加了 ```User-Agent```,但一运行仍会以下错误,有什么解决办法吗?ps:手动可以打开网页,可以正常访问,但用代码发请求,就提示 403:```python

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK