aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Kuznetsov <evgeny@kuznetsov.md>2020-12-26 16:56:42 +0300
committerEvgeny Kuznetsov <evgeny@kuznetsov.md>2020-12-26 16:56:42 +0300
commit02da09436844a677a550455ffd0d5bc0e03fe8e7 (patch)
tree8e6b7cdae39cee042da570e366f1ef56a607d03a
parentd285d4c97d5623840bae833e5d09a8810ecfab19 (diff)
downloadradiorus-rss-02da09436844a677a550455ffd0d5bc0e03fe8e7.tar.gz
radiorus-rss-02da09436844a677a550455ffd0d5bc0e03fe8e7.zip
satisfy linter
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 3059684..b7f3d04 100644
--- a/main.go
+++ b/main.go
@@ -272,7 +272,7 @@ func processEpisodeDesc(page []byte) (string, error) {
r = addText(r, doc.Find(".brand-episode__head").Find(".anons").Text())
r = addText(r, doc.Find(".brand-episode__body").Find(".body").Text())
- res := strings.Join(r, fmt.Sprintf("\n\n"))
+ res := strings.Join(r, "\n\n")
if res == "" {
return "", errCantParse
}