summaryrefslogtreecommitdiff
path: root/crawler/shop_bottleworld.go
diff options
context:
space:
mode:
authorhorus2018-06-15 23:44:07 +0200
committerhorus2018-06-15 23:44:07 +0200
commit482ac52e2db7ca3db7005dcc01d21b69da0faf89 (patch)
treec805441ef1f9a81b9d685aee6311d8d4e58c47ce /crawler/shop_bottleworld.go
parent8d68ac7c900241eb8499a94c23ab1f60750e7aed (diff)
downloadalkobote-482ac52e2db7ca3db7005dcc01d21b69da0faf89.tar.gz
Removes unnecessary code. (crawler)
Diffstat (limited to 'crawler/shop_bottleworld.go')
-rw-r--r--crawler/shop_bottleworld.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/crawler/shop_bottleworld.go b/crawler/shop_bottleworld.go
index d679b43..8722211 100644
--- a/crawler/shop_bottleworld.go
+++ b/crawler/shop_bottleworld.go
@@ -6,8 +6,6 @@ import (
// "github.com/PuerkitoBio/goquery"
"github.com/gocolly/colly"
- "log"
- "time"
)
func (app *App) ScrapeBottleWord(shop Shop) []Angebot {
@@ -16,9 +14,6 @@ func (app *App) ScrapeBottleWord(shop Shop) []Angebot {
c := app.customCollector([]string{"bottleworld.de", "www.bottleworld.de"})
- log.Println(c.IgnoreRobotsTxt)
- log.Println(time.Duration(app.Config.Delay))
-
c.OnHTML("li.item", func(e *colly.HTMLElement) {
W := Angebot{}