Splash UI示例不起作用

问题描述 投票:-2回答:1

我在Splash UI中运行一个内置示例:

Splash UI

这似乎是正确的但是......它不起作用!

Error message

对我来说似乎很奇怪。你弄清楚为什么?

编辑:与Splash example 2相同的事情

产量

enter image description here

python docker scrapy-splash splash-js-render
1个回答
0
投票

错误可能是由脚本中的遗留命令引起的。第一个例子用第一个指令代替

splash:set_viewport_size(800, 600)
splash:set_user_agent('Splash bot')

第二个不能正常工作,因为不确定javascript评估与splash:evaljs不允许在网站政策下。

© www.soinside.com 2019 - 2024. All rights reserved.