summaryrefslogtreecommitdiff
path: root/crawler
diff options
context:
space:
mode:
Diffstat (limited to 'crawler')
-rw-r--r--crawler/config.go2
-rw-r--r--crawler/init.go2
-rw-r--r--crawler/log.go2
-rw-r--r--crawler/main.go2
-rw-r--r--crawler/post_process.go2
-rw-r--r--crawler/sanitize.go2
-rw-r--r--crawler/scrape.go2
-rw-r--r--crawler/shop_drankdozijn.go2
-rw-r--r--crawler/shop_rumundco.go2
-rw-r--r--crawler/shops.go2
10 files changed, 10 insertions, 10 deletions
diff --git a/crawler/config.go b/crawler/config.go
index ba3c92f..d6efee8 100644
--- a/crawler/config.go
+++ b/crawler/config.go
@@ -3,7 +3,7 @@ package main
import (
"os"
- log "github.com/Sirupsen/logrus"
+ log "github.com/sirupsen/logrus"
"github.com/spf13/viper"
)
diff --git a/crawler/init.go b/crawler/init.go
index 34e440e..f943452 100644
--- a/crawler/init.go
+++ b/crawler/init.go
@@ -4,7 +4,7 @@ import (
"errors"
"strings"
- log "github.com/Sirupsen/logrus"
+ log "github.com/sirupsen/logrus"
flag "github.com/spf13/pflag"
)
diff --git a/crawler/log.go b/crawler/log.go
index 6288a29..d284a74 100644
--- a/crawler/log.go
+++ b/crawler/log.go
@@ -1,7 +1,7 @@
package main
import (
- log "github.com/Sirupsen/logrus"
+ log "github.com/sirupsen/logrus"
)
func Fatal(err error, msg string) {
diff --git a/crawler/main.go b/crawler/main.go
index 0f417b2..54c351f 100644
--- a/crawler/main.go
+++ b/crawler/main.go
@@ -8,8 +8,8 @@ import (
_ "github.com/go-sql-driver/mysql"
//_ "github.com/mattn/go-sqlite3"
- log "github.com/Sirupsen/logrus"
"github.com/jmoiron/sqlx"
+ log "github.com/sirupsen/logrus"
flag "github.com/spf13/pflag"
)
diff --git a/crawler/post_process.go b/crawler/post_process.go
index 8ef4dce..bb1ca46 100644
--- a/crawler/post_process.go
+++ b/crawler/post_process.go
@@ -6,7 +6,7 @@ import (
"net/http"
"net/url"
- log "github.com/Sirupsen/logrus"
+ log "github.com/sirupsen/logrus"
)
func (app *App) post_process() error {
diff --git a/crawler/sanitize.go b/crawler/sanitize.go
index 2cc839c..db0faec 100644
--- a/crawler/sanitize.go
+++ b/crawler/sanitize.go
@@ -7,7 +7,7 @@ import (
"strconv"
"strings"
- log "github.com/Sirupsen/logrus"
+ log "github.com/sirupsen/logrus"
)
func sanitize_offer(angebote []Angebot, shop Shop, try int) []Angebot {
diff --git a/crawler/scrape.go b/crawler/scrape.go
index 6874239..927bb48 100644
--- a/crawler/scrape.go
+++ b/crawler/scrape.go
@@ -3,8 +3,8 @@ package main
import (
"time"
- log "github.com/Sirupsen/logrus"
"github.com/gocolly/colly"
+ log "github.com/sirupsen/logrus"
)
func (app *App) ScrapeHTML(shops []Shop) {
diff --git a/crawler/shop_drankdozijn.go b/crawler/shop_drankdozijn.go
index ffa8904..5cd12d5 100644
--- a/crawler/shop_drankdozijn.go
+++ b/crawler/shop_drankdozijn.go
@@ -6,8 +6,8 @@ import (
"net/http"
"strings"
- log "github.com/Sirupsen/logrus"
"github.com/gocolly/colly"
+ log "github.com/sirupsen/logrus"
)
func (app *App) ScrapeDrankdozijn(shop Shop) []Angebot {
diff --git a/crawler/shop_rumundco.go b/crawler/shop_rumundco.go
index 01e6fe0..86d8b8a 100644
--- a/crawler/shop_rumundco.go
+++ b/crawler/shop_rumundco.go
@@ -6,8 +6,8 @@ import (
"strings"
// "github.com/PuerkitoBio/goquery"
- log "github.com/Sirupsen/logrus"
"github.com/gocolly/colly"
+ log "github.com/sirupsen/logrus"
)
func (app *App) ScrapeRumundCo(shop Shop) []Angebot {
diff --git a/crawler/shops.go b/crawler/shops.go
index 224ae96..95d8c99 100644
--- a/crawler/shops.go
+++ b/crawler/shops.go
@@ -3,7 +3,7 @@ package main
import (
"strings"
- log "github.com/Sirupsen/logrus"
+ log "github.com/sirupsen/logrus"
)
func (app *App) insertShops() error {