Using Smart Proxy Manager with Splash


Download and install Splash following this guide as explained here:

Assuming you installed Splash using Docker, proceed to run Splash with:

docker run -it -p 8050:8050 --rm scrapinghub/splash

You can confirm Splash is running by accessing the Splash web UI at http://localhost:8050

Sample script

Here is a sample script you can use to test the integration of Splash with Smart Proxy Manager, once you have also installed the Headless Proxy.

Just paste this code into Splash web UI main page, enter a URL and hit the “Render” button.

function main(splash)
    splash:on_request(function (request)
        request:set_proxy{"host.docker.internal", 3128}

    return splash:png()