-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.h
More file actions
31 lines (24 loc) · 825 Bytes
/
Copy pathconfig.h
File metadata and controls
31 lines (24 loc) · 825 Bytes
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
26
27
28
29
30
31
/* See LICENSE file for copyright and license details.
* sbot - Simple Archiver Bot
* configuration header
*/
#ifndef CONFIG_H
#define CONFIG_H
/* Archiver metadata */
#define ARCHIVER_NAME "Kris Yotam"
#define ARCHIVER_SITE "krisyotam.com"
#define ARCHIVER_VERSION "0.3.0"
/* Network settings */
#define USER_AGENT "sbot/0.3 (+https://krisyotam.com)"
#define CONNECT_TIMEOUT 30L
#define REQUEST_TIMEOUT 60L
#define MAX_REDIRECTS 10L
/* Crawl settings */
#define MAX_DEPTH 5
#define RATE_LIMIT_MS 1000 /* milliseconds between requests */
#define MAX_FILE_SIZE (50 * 1024 * 1024) /* 50 MB max per resource */
/* Output settings */
#define OUTPUT_EXT ".gwtar.html"
/* Progress reporting interval (pages between status lines) */
#define PROGRESS_INTERVAL 10
#endif /* CONFIG_H */