鱼C论坛

 找回密码
 立即注册
查看: 2507|回复: 2

关于爬虫方面问题

[复制链接]
发表于 2022-3-28 22:47:18 | 显示全部楼层 |阅读模式
5鱼币
我的python代码里面有一段是需要获取海外网站的数据,不开代理获取不了数据,但是开了代理又会显示错误。
requests.exceptions.ProxyError: HTTPSConnectionPool(host='www.football-data.co.uk', port=443): Max retries exceeded with url: /mmz4281/2122/E0.csv (Caused by ProxyError('Your proxy appears to only use HTTP and not HTTPS, try changing your proxy URL to be HTTP. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#https-proxy-error-http-proxy', SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)'))))

这种情况应该怎么处理呢

小甲鱼最新课程 -> https://ilovefishc.com
回复

使用道具 举报

发表于 2022-3-29 00:25:34 | 显示全部楼层
本帖最后由 suchocolate 于 2022-3-29 00:32 编辑

So, where is your code?
小甲鱼最新课程 -> https://ilovefishc.com
回复

使用道具 举报

发表于 2022-3-29 02:09:38 From FishC Mobile | 显示全部楼层
免费代理基本都用不了
小甲鱼最新课程 -> https://ilovefishc.com
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2025-4-29 16:55

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表