遇到这种错误:pyppeteer.errors.NetworkError: Protocol error Network.getCookies: Target close
方法:
卸载websockets 7.0 安装6.0版本就行了。
pip uninstall websockets #卸载websockets
pip install websockets==6.0 #指定安装6.0版本
亲测成功了!
遇到这种错误:pyppeteer.errors.NetworkError: Protocol error Network.getCookies: Target close
方法:
卸载websockets 7.0 安装6.0版本就行了。
pip uninstall websockets #卸载websockets
pip install websockets==6.0 #指定安装6.0版本
亲测成功了!