diff options
| author | Maximilian Möhring | 2019-05-19 16:57:32 +0200 |
|---|---|---|
| committer | Maximilian Möhring | 2019-05-19 16:57:32 +0200 |
| commit | 04f1813c830e0d08e289b364edbd7f3a0efcb4f3 (patch) | |
| tree | cec75c6dac2716a37d4f30f021134b40b9e581ac /crawler | |
| parent | 90e75c9b9cded422a7678231baa1205cb38b7483 (diff) | |
| download | alkobote-04f1813c830e0d08e289b364edbd7f3a0efcb4f3.tar.gz | |
Workaround for a bug in d12s article description. #2
Diffstat (limited to 'crawler')
| -rw-r--r-- | crawler/shop_drankdozijn.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crawler/shop_drankdozijn.go b/crawler/shop_drankdozijn.go index fdfc3d8..f66ac78 100644 --- a/crawler/shop_drankdozijn.go +++ b/crawler/shop_drankdozijn.go @@ -232,6 +232,13 @@ func (app *App) ScrapeDrankdozijn(shop Shop) []Angebot { } W.Spirit_type = tmp_type } + if "Absinth" == tmp_type { + if tmp_type != W.Spirit_type { + W.Trace("Spirit Type Changed: " + W.Spirit_type + " -> " + tmp_type) + W.Spirit_type = tmp_type + } + W.Spirit_type = tmp_type + } } } |
