我在Splash UI中运行一个内置示例:
这似乎是正确的但是......它不起作用!
对我来说似乎很奇怪。你弄清楚为什么?
编辑:与相同的事情
产量
错误可能是由脚本中的遗留命令引起的。第一个例子用第一个指令代替
splash:set_viewport_size(800, 600) splash:set_user_agent('Splash bot')
第二个不能正常工作,因为不确定javascript评估与splash:evaljs不允许在网站政策下。
splash:evaljs