CronShot 中间件 cronshot-local
- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/yahoo/cronshot-local
- 官方下载: https://github.com/yahoo/cronshot-local
软件介绍
cronshot-local 是 CronShot 中间件,用来保存图片到本地文件系统。
安装
安装 CronShot
npm install cronshot
示例
var cronshot = require('cronshot'),
middleware = {
local: require('cronshot-local')
};
// Local File Example
// ------------------
// Takes a screenshot of sports.yahoo.com,
// and saves the screenshot to the local file system
// Save Local File Example
cronshot.startCapturing({
'url': 'http://sports.yahoo.com',
'path': __dirname,
'cronPattern': false,
'saveMiddleware': [middleware.local],
}, function(err) {
// optional callback function once all screenshots have been taken
if (err) {
console.error(err);
}
});
Rationality for Mortals
Gerd Gigerenzer / Oxford University Press, USA / 2008-05-02 / USD 65.00
Gerd Gigerenzer's influential work examines the rationality of individuals not from the perspective of logic or probability, but from the point of view of adaptation to the real world of human behavio......一起来看看 《Rationality for Mortals》 这本书的介绍吧!
