AttributeError: module 'pyppeteer.launcher' has no attribute 'AUTOMATION_ARGS'
时间: 2023-10-01 19:02:21 浏览: 134
这个错误是由于pyppeteer库中的launcher模块没有AUTOMATION_ARGS属性引起的。根据引用的内容,你在运行时遇到了这个错误。根据引用,launcher.py脚本的位置在你的Python安装路径下的pyppeteer文件夹中。为了解决这个问题,你可以尝试引用中的方法,即在launcher.DEFAULT_ARGS.remove("--enable-automation")之后运行代码。这样可以删除AUTOMATION_ARGS属性并解决AttributeError错误。希望这个方法能帮助你解决问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [【Pyppeteer】如何避开网站的反爬检测](https://blog.csdn.net/wenxuhonghe/article/details/106843432)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [module ‘pyppeteer.launcher‘ has no attribute ‘AUTOMATION_ARGS](https://blog.csdn.net/weixin_56267866/article/details/131677245)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文