How to set splash timeout in scrapy-splash?

来源:互联网 发布:mysql 1064 syntax 编辑:程序博客网 时间:2024/05/21 06:51

https://stackoverflow.com/questions/44627694/how-to-set-splash-timeout-in-scrapy-splash

I use scrapy-splash package and set the timeout in args parameter of SplashRequest like this:

yield scrapy_splash.SplashRequest(    url, self.parse, endpoint='execute',    args={'lua_source': script, 'timeout': 3600})

It works for me.

原创粉丝点击