mirror of
https://codeberg.org/scip/kleingebaeck.git
synced 2025-12-16 20:11:01 +01:00
Fix/newline windows (#18)
* fix #17: use fmt.Println() after stats * bump version
This commit is contained in:
@@ -32,7 +32,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
VERSION string = "0.1.0"
|
||||
VERSION string = "0.1.1"
|
||||
Baseuri string = "https://www.kleinanzeigen.de"
|
||||
Listuri string = "/s-bestandsliste.html"
|
||||
Defaultdir string = "."
|
||||
|
||||
5
main.go
5
main.go
@@ -131,10 +131,11 @@ func Main() int {
|
||||
if conf.StatsCountAds == 1 {
|
||||
adstr = "ad"
|
||||
}
|
||||
fmt.Printf("Successfully downloaded %d %s with %d images to %s.\n",
|
||||
fmt.Printf("Successfully downloaded %d %s with %d images to %s.",
|
||||
conf.StatsCountAds, adstr, conf.StatsCountImages, conf.Outdir)
|
||||
fmt.Println()
|
||||
} else {
|
||||
fmt.Printf("No ads found.")
|
||||
fmt.Println("No ads found.")
|
||||
}
|
||||
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user