diff options
author | Minijackson | 2014-10-24 10:30:43 +0200 |
---|---|---|
committer | Minijackson | 2014-10-24 10:30:43 +0200 |
commit | 16529a0d212e1387eacd590c0e5e1b1a13dc2641 (patch) | |
tree | f8fdd14320a4d7ecb8118a2e0620445a320aca18 | |
parent | 75f1e0428893e75184e833d332201fdf6bf4cb3d (diff) | |
download | wikistats-16529a0d212e1387eacd590c0e5e1b1a13dc2641.tar.gz |
Gathering from internet
-rw-r--r-- | main.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,11 +8,11 @@ BAN_MAP_FILE = "output/ban-map.svg" | |||
8 | BAN_DURATION_MAP_FILE = "output/ban-duration-map.svg" | 8 | BAN_DURATION_MAP_FILE = "output/ban-duration-map.svg" |
9 | HIST_FILE = "output/histogram.svg" | 9 | HIST_FILE = "output/histogram.svg" |
10 | 10 | ||
11 | SAMPLES = 30000 | 11 | SAMPLES = 1000 |
12 | 12 | ||
13 | BAN_FILE = "resources/ban_list.json" | 13 | BAN_FILE = "resources/ban_list.json" |
14 | 14 | ||
15 | ban_dict_list = bandict.BanList(BAN_FILE) | 15 | ban_dict_list = bandict.BanList(BAN_FILE, samples=SAMPLES, from_internet=True) |
16 | 16 | ||
17 | # ======== HISTOGRAM ======= # | 17 | # ======== HISTOGRAM ======= # |
18 | 18 | ||