diff options
author | rtz12 <koenig@fagott.pw> | 2016-03-29 16:06:16 (UTC) |
---|---|---|
committer | rtz12 <koenig@fagott.pw> | 2016-03-29 16:06:16 (UTC) |
commit | ae4f7f89849c4e94b388aabdb28d8f9f110df3c2 (patch) | |
tree | bbd843c8c973620e351580012cbf8e02401ae544 /tools | |
parent | c90b115314981c2452799df80ec9f5b15cb493ff (diff) |
Mit dem neuen Fehler handeln
Diffstat (limited to 'tools')
-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) |