scrapinghub / splash

Lightweight, scriptable browser as a service with an HTTP API
BSD 3-Clause "New" or "Revised" License
4.04k stars 508 forks source link

How to realize multiple interaction through Lua script #1128

Open gollumHome opened 3 years ago

gollumHome commented 3 years ago

Problem Description:

  1. First, get an image link by injecting Lua script

2 to get the URL, you need to call a third-party service to identify the image

  1. After identifying a picture, we need to inject Lua script again to realize the web login process

How to deal with this problem? All the data retrieved are injected with Lua script to complete the interaction at one time, which can not meet the requirements