scrapinghub / splash

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

splash is not rendering this page form properly #1126

Open darkstar360 opened 3 years ago

darkstar360 commented 3 years ago

The page https://focus.pcsb.org/focus/ is supposed to look like this: image

But splash is rendering the page without the form in the middle, like this: image

My Lua is :

function main(splash)
                        splash: set_viewport_size(1980, 1020)
                        splash.private_mode_enabled = false
                        splash:set_user_agent(splash.args.agents)
                        assert(splash:go(splash.args.url))
                        assert(splash:wait(5))
                        return {{html = splash:html(), pic=splash:jpeg(),cookies = splash:get_cookies()}}
                    end

I am using scrapy splash plugin

MADDY312 commented 2 years ago

same problem, have you figured this out?