Boris-code/feapder

在使用playwright的时候总是报错,sync_playwright().start()这里会报错

rottengeek opened this issue · 2 comments

iShot_2023-04-26_01 24 33

报错如下:
signal only works in main thread 第一次运行
it looks like you are using playwright sync api inside the asyncio loop 第二次运行

好像应该要使用异步接口

我也是, 遇到了这个问题

使用spider.run方法运行爬虫