Respond to lstn.lv being renamed to lsn.lv
All checks were successful
Alpine 3.21 Success

This commit is contained in:
Přemysl Eric Janouch 2025-08-02 19:13:45 +02:00
parent 4c2f1d6691
commit 72ab92d6b8
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -35,7 +35,7 @@ func get(url string) (resp *http.Response, err error) {
if err != nil {
return nil, err
}
// lstn.lv returned 403 for the default net.http User-Agent.
// lsn.lv returned 403 for the default net.http User-Agent.
req.Header.Set("User-Agent", "bbc-on-ice/1")
return client.Do(req)
}
@ -197,7 +197,7 @@ func resolveM3U8(target string) (out []string, err error) {
return out, nil
}
const resolveURI = "https://lstn.lv/bbcradio.m3u8?station=%s"
const resolveURI = "https://lsn.lv/bbcradio.m3u8?station=%s"
var poolRE = regexp.MustCompile(`/pool_([^/]+)/`)