@ -5,6 +5,7 @@ import (
"fmt"
"io/ioutil"
"os"
"strings"
"github.com/PuerkitoBio/goquery"
)
@ -56,7 +57,7 @@ func main() {
return
}
err = ioutil.WriteFile(fmt.Sprintf("%s/%s.%s.json", path, mensa, day), content, 0644)
err = ioutil.WriteFile(fmt.Sprintf("%s/%s.%s.json", path, strings.ToLower(mensa), day), content, 0644)
if err != nil {
fmt.Println(err.Error())