diff options
Diffstat (limited to 'tools/charcrawler')
-rw-r--r-- | tools/charcrawler/crawler/crawler.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/charcrawler/crawler/crawler.go b/tools/charcrawler/crawler/crawler.go index 64d1a27..3d27ea2 100644 --- a/tools/charcrawler/crawler/crawler.go +++ b/tools/charcrawler/crawler/crawler.go | |||
@@ -53,6 +53,8 @@ func Start(c Crawler) { | |||
53 | faultCounter++ | 53 | faultCounter++ |
54 | case CrawlError: | 54 | case CrawlError: |
55 | panic(err) | 55 | panic(err) |
56 | case Banned: | ||
57 | panic(err) | ||
56 | default: | 58 | default: |
57 | cData, _ := json.Marshal(char) | 59 | cData, _ := json.Marshal(char) |
58 | ioutil.WriteFile("data/"+name+"/"+strconv.Itoa(current)+".json", cData, 0755) | 60 | ioutil.WriteFile("data/"+name+"/"+strconv.Itoa(current)+".json", cData, 0755) |