summaryrefslogtreecommitdiff
path: root/crawler
diff options
context:
space:
mode:
authorhorus2018-02-15 02:30:37 +0100
committerhorus2018-02-15 02:30:37 +0100
commit8ee15ccf1f5ee54efc2f973ff59b5cc58dff44fa (patch)
tree6629df808a3dbad3c226fa0820e64b868528c1d5 /crawler
parent8e52f57e2654a4c3c00512175e78be26797f8cdc (diff)
parentcd9a8e7b1734efc16d5afd8692e4973cf835bfb3 (diff)
downloadalkobote-8ee15ccf1f5ee54efc2f973ff59b5cc58dff44fa.tar.gz
Merge branch 'master' of git.iamfabulous.de:alkobote.de
Diffstat (limited to 'crawler')
-rw-r--r--crawler/config.go2
-rw-r--r--crawler/main.go1
2 files changed, 2 insertions, 1 deletions
diff --git a/crawler/config.go b/crawler/config.go
index b0964f8..329c41b 100644
--- a/crawler/config.go
+++ b/crawler/config.go
@@ -71,7 +71,7 @@ func (c *Config) setsConfig() {
c.DBPort = viper.GetString("DB_Port")
c.DBUser = viper.GetString("DB_User")
c.DBPassword = viper.GetString("DB_Password")
- c.DBDBName = viper.GetString("DB_Name")
+ c.DBDBName = viper.GetString("DB_DBName")
c.DBOptions = viper.GetString("DB_Options")
c.DBPath = viper.GetString("DB_Path")
c.Debug = viper.GetBool("Debug")
diff --git a/crawler/main.go b/crawler/main.go
index 15e854c..f4a90b7 100644
--- a/crawler/main.go
+++ b/crawler/main.go
@@ -43,6 +43,7 @@ type Shop struct {
Id int
Name string
Url string
+ Short_url string
Logo_url string
Shipping_costs int
Free_shipping string