Open ercdude opened 5 years ago
Just took a quick look into the code and removing the "https:" +
from line 121 works just fine, but I don't know the impact on the other links
for i, _ := range streams {
//convert duration to int
duration, err := strconv.ParseFloat(durations[i][1], 64)
if err != nil {
duration = 0
}
// stream := "https:" + streams[i][1]
stream := streams[i][1]
track := Track{Title: titles[i][1], Stream: stream, Duration: int(duration)}
tracks = append(tracks, track)
}
Hello dude.
First of all, thanks for this, it works like a glove for me :D But I had to make some hand-work to be perfect.
Running this:
it generates urls like this:
I couldn't have the opportunity to check what's wrong yet, sorry :( but I think you should know. Removing the extras
https
it works just fine: