在Docker上运行时,如何修复scrapy_splash中的Lua错误?

时间:2019-05-11 19:34:35

标签: javascript docker lua scrapy scrapy-splash

我设置了docker镜像以防止刮擦,并使用许多网址对其进行了测试, 一段时间后,尝试输入网址(https://www.udemy.com/)时出现错误

HTTP Error 400 (Bad Request)
Type: ScriptError -> LUA_ERROR

Error happened while executing Lua script

Lua error: [string "function main(splash, args) ..."]:2: http403


{
    "type": "ScriptError",
    "info": {
        "message": "Lua error: [string \"function main(splash, args)\r...\"]:2: http403",
        "type": "LUA_ERROR",
        "source": "[string \"function main(splash, args)\r...\"]",
        "line_number": 2,
        "error": "http403"
    },
    "error": 400,
    "description": "Error happened while executing Lua script"
}

0 个答案:

没有答案