summaryrefslogtreecommitdiff
path: root/crawler
diff options
context:
space:
mode:
authorMax2019-05-19 16:43:51 +0200
committerMax2019-05-19 16:43:51 +0200
commit90e75c9b9cded422a7678231baa1205cb38b7483 (patch)
tree3bd8357abb3f683719e791e5ef7448f5015bbe4a /crawler
parentc9afd4e8afe6a719b5d930c9baa2699442849fd8 (diff)
downloadalkobote-90e75c9b9cded422a7678231baa1205cb38b7483.tar.gz
Workaround for a bug in d12s article description.
Diffstat (limited to 'crawler')
-rw-r--r--crawler/utility.go2
1 files changed, 1 insertions, 1 deletions
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")
}