2024/03/16 19:47:39 Executing command executable: /home/user/bin/yt-dlp) in /home/user/down panic: strconv.ParseFloat: parsing "1.1.1.1": invalid syntax
This needs proper error handling:
percentRE := regexp.MustCompile(`download.+?([\d\.]+)%`) matches = percentRE.FindStringSubmatch(s) if len(matches) == 2 { p, err := strconv.ParseFloat(matches[1], 32) if err == nil { dl.Percent = float32(p) } else { panic(err) } }
Probably caused by matching on this:
[debug] Invoking hlsnative downloader ...
where the URL on the line includes an IP address.
wrong repo
No dependencies set.
The note is not visible to the blocked user.
2024/03/16 19:47:39 Executing command executable: /home/user/bin/yt-dlp) in /home/user/down
panic: strconv.ParseFloat: parsing "1.1.1.1": invalid syntax
This needs proper error handling:
Probably caused by matching on this:
where the URL on the line includes an IP address.
wrong repo