diff options
| author | Max | 2019-05-19 16:43:51 +0200 |
|---|---|---|
| committer | Max | 2019-05-19 16:43:51 +0200 |
| commit | 90e75c9b9cded422a7678231baa1205cb38b7483 (patch) | |
| tree | 3bd8357abb3f683719e791e5ef7448f5015bbe4a /crawler/utility.go | |
| parent | c9afd4e8afe6a719b5d930c9baa2699442849fd8 (diff) | |
| download | alkobote-90e75c9b9cded422a7678231baa1205cb38b7483.tar.gz | |
Workaround for a bug in d12s article description.
Diffstat (limited to 'crawler/utility.go')
| -rw-r--r-- | crawler/utility.go | 2 |
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") } |
