More config options, bug fixes

This commit is contained in:
simon
2019-05-29 22:49:51 -04:00
parent f6ac796dfd
commit 69f28f1ff7
7 changed files with 127 additions and 53 deletions

View File

@@ -20,10 +20,14 @@ and error handling. Built for automated web scraping.
```json
{
"addr": "localhost:5050",
"timeout": "15s",
"wait": "4s",
"multiplier": 2.5,
"retries": 3,
"proxies": [
{
"name": "squid_P0",
"url": "http://p0.exemple.com:8080"
"url": "http://user:pass@p0.exemple.com:8080"
},
{
"name": "privoxy_P1",
@@ -38,7 +42,7 @@ and error handling. Built for automated web scraping.
},
"reddit.com": {
"every": "2s",
"burst": 1,
"burst": 2,
"headers": {"User-Agent": "mybot_v0.1"}
}
}