diff options
Diffstat (limited to 'crawler/shop_whic.go')
| -rw-r--r-- | crawler/shop_whic.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crawler/shop_whic.go b/crawler/shop_whic.go index af86bdc..2d0170b 100644 --- a/crawler/shop_whic.go +++ b/crawler/shop_whic.go @@ -12,9 +12,7 @@ func (app *App) ScrapeWhic(shop Shop) []Angebot { Shop_url := "https://whic.de/angebote" Whiskys := []Angebot{} - c := colly.NewCollector( - colly.AllowedDomains("whic.de"), - ) + c := customCollector([]string{"whic.de"}) c.OnHTML("li.item", func(e *colly.HTMLElement) { |
