简体   繁体   中英

Splash UI examples running in Docker

I've splash on windows running with Docker toolbox.

I am in Splash UI running a built-in example:

启动界面

It seems correct but... it doesn't work!

错误信息

Seem strange to me. Do you figure out why?

EDIT: same thing with飞溅示例 2

output

在此处输入图片说明

The errors are due probably to legacy commands in the scripts. The first exemple works substituting the first instructions with

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

The second isn't working simply because of unsure javascript evaluation with splash:evaljs not permitted under the site policy.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM