我使用scrapinghubs splash来渲染javascript页面。它确实是一个很棒的工具,但我不明白为什么等待的最大值是10。有没有可能设置更高的值?
非常感谢。
致以最好的问候,朱利安
发布于 2015-03-31 03:38:33
你可以使用splash:wait -它没有10秒的限制。查看关于Splash Lua脚本的教程:http://splash.readthedocs.org/en/latest/scripting-tutorial.html。
不幸的是,除了/execute之外,目前还没有办法覆盖端点的'wait‘最大值。所有其他端点都可以作为一个/execute Lua脚本实现,但是可以配置限制还是很好的。另请参阅- https://github.com/scrapinghub/splash/issues/141。
https://stackoverflow.com/questions/29341252
复制相似问题