logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

SSLError(1, ‘[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1000)‘)

试了很多种办法,最终通过给urllib3降级,解决报错问题。urllib3降级到1.26.5就可以了,亲测有效。

文章图片
#ssl#python
wkhtmltopdf exited with non-zero code 1. error:QPainter::begin(): Returned false Exit with code 1

Python wkhtmltopdf exited with non-zero code 1. error:QPainter::begin(): Returned false Exit with code 1, due to unknown error.

文章图片
#python
flask模块化、封装使用缓存cache(flask_caching)

flask使用缓存;flask使用cache(flask_caching);flask中模块化使用flask_caching;flask中封装使用flask_caching

文章图片
#flask#python#后端
pipreqs ./ --encoding=utf-8 --force 报错问题解决

python、pip、pipreqs、requirements.txt

文章图片
#pip#python
ModuleNotFoundError: No module named ‘blinker._saferef‘

from seleniumwire.thirdparty.mitmproxy import optmanager;import seleniumwire.thirdparty.mitmproxy.options;from seleniumwire.thirdparty.mitmproxy.net import tls, tcpfrom seleniumwire.thirdparty.mitmpro

文章图片
#python#flask#selenium
Centos8报错:Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

3.查看是否删除成功,若没有显示.repo就删除成功了。yum makecache(生成 Yum 缓存)4.下载阿里可以正常使用的.repo文件。2.删除所有扩展名为.repo的文件。6.测试yum能否正常使用。或者wget命令的使用。安装curl命令的使用。两个命令任选其一执行。

文章图片
#linux
python selenium selenium-wire使用代理

最近使用selenium、selenium-wire爬取数据,在使用代理时查阅很多资料,在使用过程中发现很多资料、博客中都是错误的用法,误导初学selenium使用代理的开发者描述:我这里使用的是Python 3.12.2。

文章图片
#python#selenium#爬虫
到底了