Questions tagged [splash-js-render]

Splash JS is a javascript rendering service. It’s a lightweight web browser with an HTTP API, implemented in Python using Twisted and QT. It's Selenium's competitor.

https://splash.readthedocs.io/en/stable/

Splash - A javascript rendering service

Splash is a javascript rendering service. It’s a lightweight web browser with an HTTP API, implemented in Python using Twisted and QT. The (twisted) QT reactor is used to make the sever fully asynchronous allowing to take advantage of webkit concurrency via QT main loop. Some of Splash features:

  • process multiple webpages in parallel;
  • get HTML results and/or take screenshots;
  • turn OFF images or use Adblock Plus rules to make rendering faster;
  • execute custom JavaScript in page context;
  • write Lua browsing scripts;
  • develop Splash Lua scripts in Splash-Jupyter Notebooks.
  • get detailed rendering info in HAR format.
138 questions
0
votes
1 answer

How can I force scrapy-splash to retry failed items?

I'm using scrapy-splash to extract information from Javascript-driven IFRAMEd HTML pages. Sometimes, my splash Javascript function fails due to some browser condition and returns an error message like {"error": "NotSupportedError: DOM Exception…
0
votes
1 answer

Error expected near on Splash Lua Script

I need to run this simple Lua script on Splash: script = """ function main(splash) local url = splash.args.url assert(splash:go(url)) assert(splash:wait(1)) -- go back 1 month in time and wait a little (1…
Aminah Nuraini
  • 18,120
  • 8
  • 90
  • 108
-2
votes
1 answer

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 output
Lore
  • 1,286
  • 1
  • 22
  • 57
1 2 3
9
10