-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.js
25 lines (20 loc) · 828 Bytes
/
conf.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
module.exports = exports = {
imgDir : __dirname + '/images',
dbURL : 'mongodb://localhost:27017/images',
// time to wait (ms) between requests.
// 3 seconds is safe
// 1 second is ok, but might be pushing it on some networks
pause : 2000,
// number of random words to search per execution
wordCount : 12,
// results per page (max 8)
rsz : 8,
// Restricts the search to images of the specified size, where size can be one of:
// imgsz=icon restricts results to small images
// imgsz=small|medium|large|xlarge restricts results to medium-sized images
// imgsz=xxlarge restricts results to large images
// imgsz=huge restricts results to extra-large images
imgsz : 'xxlarge',
// number of images to download per word (max 64)
imgCount : 64
};