From 1e4b406aa408727e9583070fd66fc52dd1ff5ac9 Mon Sep 17 00:00:00 2001 From: "T.v.Dein" Date: Sat, 23 Dec 2023 18:00:51 +0100 Subject: [PATCH] Revert "Fix/newline windows (#18)" (#19) This reverts commit eaf4db6cef2c84b3850d8cfce296152e099777c0. --- config.go | 2 +- main.go | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/config.go b/config.go index 7adbdf9..6d05ef8 100644 --- a/config.go +++ b/config.go @@ -32,7 +32,7 @@ import ( ) const ( - VERSION string = "0.1.1" + VERSION string = "0.1.0" Baseuri string = "https://www.kleinanzeigen.de" Listuri string = "/s-bestandsliste.html" Defaultdir string = "." diff --git a/main.go b/main.go index 638b520..fdefc9a 100644 --- a/main.go +++ b/main.go @@ -131,11 +131,10 @@ func Main() int { if conf.StatsCountAds == 1 { 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) - fmt.Println() } else { - fmt.Println("No ads found.") + fmt.Printf("No ads found.") } return 0