爬虫之Splash对象方法(三)

一 set_content() 1 点睛 用来设置页面内容。 2 代码 function main(splash) assert(splash:set_content("<html><body><h1>hello</h1></body></html>")) return splash:png() end 3 效果 二 html() 1 点睛 获取网页的源代码。 2 代码 funct
相关文章
相关标签/搜索