作业需要使用python爬取网页内容,由于信息是js加载的,想使用 requests_html中的html.render()。但本地运行时报错,信息输出pyppeteer.errors.BrowserError: Browser closed unexpectedly。使用pycharm编辑,环境是python3.9。应该如何解决?(补充:也自己找过相关贴子,但大多都是在ubuntu上报这个错。然而我的是win11)
换个网站试试呢
参考一下: