-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
playwright._impl._api_types.Error: It looks like you are using Playwright Sync API inside the asyncio loop. Please use the Async API instead. #54
Comments
麻烦贴一下你 sign 函数,确保是最新的 basic_usage.py |
@ReaJason 我刚才用了你这个最新的跑,分别在colab和阿里云服务器上运行,都报这个错误 |
我运行的完整代码,只改了cookie和stealth.min.js路径 |
本地能正常运行,报这个错误你可能需要自己改写成 async 的方式 |
你用上面代码可以本地运行吗 |
是可以的哦 |
@ReaJason 那我这是什么问题。。。xhs或playwright的版本不对吗? |
@ReaJason example的代码换了5个不同环境,只修改必须配置项,均不能运行。哥们,这项目没法推广呀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
RT,大佬这是什么错误,我该如何消除
The text was updated successfully, but these errors were encountered: