xhs
xhs copied to clipboard
playwright._impl._errors.Error: Execution context was destroyed, most likely because of a navigation
升级到最新版本后,按照 https://reajason.github.io/xhs/basic 重新部署了一次,但一直报这个错误
playwright._impl._errors.Error: Execution context was destroyed, most likely because of a navigation
playwright._impl._errors.Error: TypeError: window._webmsxyw is not a function
at eval (eval at evaluate (:226:30), <anonymous>:1:25)
at UtilityScript.evaluate (<anonymous>:233:19)
at UtilityScript.<anonymous> (<anonymous>:1:44)
这个可能是网络环境的问题导致部署的网页被验证码挡住了,只能尝试换个地方部署了
@ReaJason 这个验证码可以被破解吗? 另外我按照 https://github.com/ReaJason/xhs/issues/83 尝试首次本机ip获取sign签名,之后每次创建1个新的client用不同的ip做代理,发现第一次可以正常爬取,之后新创建的client则报上面的错误,这是什么问题呢