diff --git a/src/content/scraper/finder.go b/src/content/scraper/finder.go index 70b31c1..8722058 100644 --- a/src/content/scraper/finder.go +++ b/src/content/scraper/finder.go @@ -43,9 +43,9 @@ func FindFeeds(body string, base string) map[string]string { channelID, found := strings.CutPrefix(l.Query().Get("channel_id"), "UC") if found { const url string = "https://www.youtube.com/feeds/videos.xml?playlist_id=" - candidates[url + "UULF" + channelID] = name + " - Videos" - candidates[url + "UULV" + channelID] = name + " - Live Streams" - candidates[url + "UUSH" + channelID] = name + " - Short videos" + candidates[url+"UULF"+channelID] = name + " - Videos" + candidates[url+"UULV"+channelID] = name + " - Live Streams" + candidates[url+"UUSH"+channelID] = name + " - Short videos" } } } diff --git a/src/systray/systray.go b/src/systray/systray.go index 13d2717..490003d 100644 --- a/src/systray/systray.go +++ b/src/systray/systray.go @@ -1,3 +1,4 @@ +//go:build darwin || windows // +build darwin windows /* diff --git a/src/systray/systray_linux.go b/src/systray/systray_linux.go index 7c38433..2d490bd 100644 --- a/src/systray/systray_linux.go +++ b/src/systray/systray_linux.go @@ -1,3 +1,4 @@ +//go:build never // +build never package systray diff --git a/src/systray/systray_nonwindows.go b/src/systray/systray_nonwindows.go index 178b1b1..e17358a 100644 --- a/src/systray/systray_nonwindows.go +++ b/src/systray/systray_nonwindows.go @@ -1,3 +1,4 @@ +//go:build darwin // +build darwin package systray diff --git a/src/systray/systray_windows.go b/src/systray/systray_windows.go index c2c6f1d..ecd3b90 100644 --- a/src/systray/systray_windows.go +++ b/src/systray/systray_windows.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package systray diff --git a/src/systray/systray_windows_test.go b/src/systray/systray_windows_test.go index 7cb6c75..ca2a9c9 100644 --- a/src/systray/systray_windows_test.go +++ b/src/systray/systray_windows_test.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package systray