From 90e75c9b9cded422a7678231baa1205cb38b7483 Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 19 May 2019 16:43:51 +0200 Subject: Workaround for a bug in d12s article description. --- crawler/utility.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crawler/utility.go b/crawler/utility.go index dd37e16..3c8a6a6 100644 --- a/crawler/utility.go +++ b/crawler/utility.go @@ -167,7 +167,7 @@ func detect_spirit_type(name string) string { if matched { return "Pisco" } - matched, err = regexp.MatchString(`(^|\s)Absinth(\s|$)`, name) + matched, err = regexp.MatchString(`(^|\s)Absint(h?)(\s|$)`, name) if err != nil { Fatal(err, "Absinth regex failed") } -- cgit v1.2.3