Revert "Fix/newline windows (#18)" (#19)

This reverts commit eaf4db6cef.
This commit is contained in:
T.v.Dein
2023-12-23 18:00:51 +01:00
committed by GitHub
parent eaf4db6cef
commit 1e4b406aa4
2 changed files with 3 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ import (
) )
const ( const (
VERSION string = "0.1.1" VERSION string = "0.1.0"
Baseuri string = "https://www.kleinanzeigen.de" Baseuri string = "https://www.kleinanzeigen.de"
Listuri string = "/s-bestandsliste.html" Listuri string = "/s-bestandsliste.html"
Defaultdir string = "." Defaultdir string = "."

View File

@@ -131,11 +131,10 @@ func Main() int {
if conf.StatsCountAds == 1 { if conf.StatsCountAds == 1 {
adstr = "ad" adstr = "ad"
} }
fmt.Printf("Successfully downloaded %d %s with %d images to %s.", fmt.Printf("Successfully downloaded %d %s with %d images to %s.\n",
conf.StatsCountAds, adstr, conf.StatsCountImages, conf.Outdir) conf.StatsCountAds, adstr, conf.StatsCountImages, conf.Outdir)
fmt.Println()
} else { } else {
fmt.Println("No ads found.") fmt.Printf("No ads found.")
} }
return 0 return 0