summaryrefslogtreecommitdiff
path: root/crawler/shop_rumundco.go
diff options
context:
space:
mode:
Diffstat (limited to 'crawler/shop_rumundco.go')
-rw-r--r--crawler/shop_rumundco.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/crawler/shop_rumundco.go b/crawler/shop_rumundco.go
index 1ce202f..4b72c08 100644
--- a/crawler/shop_rumundco.go
+++ b/crawler/shop_rumundco.go
@@ -14,10 +14,7 @@ func (app *App) ScrapeRumundCo(shop Shop) []Angebot {
Whiskys := []Angebot{}
- c := colly.NewCollector(
- colly.AllowedDomains("rumundco.de"),
- colly.AllowedDomains("www.rumundco.de"),
- )
+ c := customCollector([]string{"rumundco.de", "www.rumundco.de"})
c.OnHTML(".product-teaser", func(e *colly.HTMLElement) {