summaryrefslogtreecommitdiff
path: root/crawler/shop_bottleworld.go
diff options
context:
space:
mode:
Diffstat (limited to 'crawler/shop_bottleworld.go')
-rw-r--r--crawler/shop_bottleworld.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/crawler/shop_bottleworld.go b/crawler/shop_bottleworld.go
index b92896d..de9fe13 100644
--- a/crawler/shop_bottleworld.go
+++ b/crawler/shop_bottleworld.go
@@ -12,10 +12,7 @@ func (app *App) ScrapeBottleWord(shop Shop) []Angebot {
Shop_url := "https://www.bottleworld.de/aktuelle-sonderpreise/show/all"
Whiskys := []Angebot{}
- c := colly.NewCollector(
- colly.AllowedDomains("bottleworld.de"),
- colly.AllowedDomains("www.bottleworld.de"),
- )
+ c := customCollector([]string{"bottleworld.de", "www.bottleworld.de"})
c.OnHTML("li.item", func(e *colly.HTMLElement) {
W := Angebot{}