您的位置:首页 > 编程语言 > Go语言

Scraping multiple sites in parallel and memory consumption - Google Groups

2012-05-06 22:40 344 查看
Scraping multiple sites in parallel and memory consumption - Google Groups

Ross Chapman
Post reply



May 4 (2 days ago)

Other recipients: Depending on how thorough you're scraping, you can disable image loading, running javascript, and loading plugins (flash, silverlight, etc...) when constructing casper in the options argument. This will definitely save memory.Eg:var casper = require('casper').create({ loadImages: false, javascriptEnabled: false, loadPlugins: false});
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐