0
Follow
0
View

The use of https proxies for requests in python

duck125 注册会员
2023-02-28 08:27

Thank you for your answer. I still have some questions. I can successfully request the data using the local IP address, but I get an error using the HTTPS proxy IP address. What causes this? Is there a solution

cyz555 注册会员
2023-02-28 08:27

Request original address https://ip.900cha.com/%EF%BC%8C%E9%80%9A%E8%BF%87%E6%B5%8F%E8%A7%88%E5%99%A8F12%E6%8A%93%E5%8C%85% E5 E4 AF 8 f % % % % % BB A5 E7% % 9 E5 8 b c % % % 87% BA EF E8 BC 8 c % % % % % BF % 98% % 99% % E6 AFhttp2.0 E7%9 a % 84% B1 E6 B7 AF E8% % % % % 82 < / span > < / a >

< div class = "aw - list - img > img

< br / > http2.0 boasts the latest super anti the crawler program!(Disable all HTTP 1.x requests), and the Requests module, which so far only supports HTTP/1.1, is simply rejected. You can try using the https module, there should be a lot of links, filter it yourself.

If it helps, please click to accept ~

About the Author

Question Info

Publish Time
2023-02-28 08:26
Update Time
2023-02-28 08:26