Open syncml opened 7 years ago
I got too same type of error. Sometime it loaded correctly sometime got error : 400 Is this for any kinds of block from website?
HTTP Error 400 (Bad Request) Type: ScriptError -> LUA_ERROR Error happened while executing Lua script
Lua error: [string "function main(splash, args) ..."]:2: render_error
{ "info": { "source": "[string \"function main(splash, args)\r...\"]", "line_number": 2, "error": "render_error", "message": "Lua error: [string \"function main(splash, args)\r...\"]:2: render_error", "type": "LUA_ERROR" }, "description": "Error happened while executing Lua script", "error": 400, "type": "ScriptError" }
@expired-brain Any luck on this? I'm facing the same error.
same here, I get:
Bad request to Splash: {
'type': 'ScriptError',
'error': 400,
'description': 'Error happened while executing Lua script',
'info': {
'type': 'LUA_ERROR',
'error': 'http400',
'source': '[string "function use_crawlera(splash)..."]',
'line_number': 52,
'message': 'Lua error: [string "function use_crawlera(splash)..."]:52: http400'
}
}
and my line 52 is: assert(splash:go(splash.args.url))
@expired-brain Any luck on this? I'm facing the same error.
yes in my case that was because site uses some js detection. I fixed this by adding some random mouse click on the page & wait on the that page 2-3 second before next request.
Hi
I want to crawl http://www.kuaidaili.com/free/, unfortunately, it throws error message "http521". However, if I crawl a normal URL, such as: http://www.baidu.com, I can get the correct result. Thank you, please help me
splash container:
docker run -p 8050:8050 -v /etc/localtime:/etc/localtime -d scrapinghub/splash --disable-private-mode
I got this error message: