Splash 基础使用 JavaScript渲染 爬虫

args

获取加载时配置得参数,如URL,GET,POST

function main(splash,args)
    local url = args.url
end
**以上等价于**
function main(splash)
    local url = splash.args.url
end

猜你喜欢

转载自www.cnblogs.com/duoban/p/11374742.html