摘要: 最近运行之前用selenium获取cookie的一段脚本时,报如下错误 selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver 阅读全文
posted @ 2022-04-15 14:55 emunshe 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 1、电脑上安装nodejs 下载:https://nodejs.org/en/ 下载后直接点击安装,一直下一步就OK。 安装完成后,一般他自己添加进了系统环境变量,然后打开cmd输入 node -v测试一下是否安好。如果没有,自己去环境变量中添加一下。 2、pycharm中下载安装nodejs 首先 阅读全文
posted @ 2022-02-07 16:56 emunshe 阅读(5150) 评论(0) 推荐(0) 编辑
摘要: 最近pip install pymono后,连接时认证出现问题,报了TypeError: 'Collection' object is not callable. If you meant to call the 'authenticate' method on a 'Database' objec 阅读全文
posted @ 2022-01-10 09:42 emunshe 阅读(2478) 评论(0) 推荐(0) 编辑
摘要: aioredis升级到2.0后,会发现create_redis_pool来创建连接池的方法无法使用,源码中也找不到这个方法了。 通过官方文档查看得知,2.0后已经舍弃了create_redis_pool的连接方式,整个核心和公共 API 已被重新编写,以尽可能地遵循redis-py的实现不再通过调用 阅读全文
posted @ 2022-01-04 10:37 emunshe 阅读(3108) 评论(0) 推荐(0) 编辑