This commit is contained in:
nkanaev 2025-03-04 17:05:41 +00:00
parent e6d32946c1
commit 097a2da5cb
6 changed files with 8 additions and 3 deletions

View File

@ -43,9 +43,9 @@ func FindFeeds(body string, base string) map[string]string {
channelID, found := strings.CutPrefix(l.Query().Get("channel_id"), "UC") channelID, found := strings.CutPrefix(l.Query().Get("channel_id"), "UC")
if found { if found {
const url string = "https://www.youtube.com/feeds/videos.xml?playlist_id=" const url string = "https://www.youtube.com/feeds/videos.xml?playlist_id="
candidates[url + "UULF" + channelID] = name + " - Videos" candidates[url+"UULF"+channelID] = name + " - Videos"
candidates[url + "UULV" + channelID] = name + " - Live Streams" candidates[url+"UULV"+channelID] = name + " - Live Streams"
candidates[url + "UUSH" + channelID] = name + " - Short videos" candidates[url+"UUSH"+channelID] = name + " - Short videos"
} }
} }
} }

View File

@ -1,3 +1,4 @@
//go:build darwin || windows
// +build darwin windows // +build darwin windows
/* /*

View File

@ -1,3 +1,4 @@
//go:build never
// +build never // +build never
package systray package systray

View File

@ -1,3 +1,4 @@
//go:build darwin
// +build darwin // +build darwin
package systray package systray

View File

@ -1,3 +1,4 @@
//go:build windows
// +build windows // +build windows
package systray package systray

View File

@ -1,3 +1,4 @@
//go:build windows
// +build windows // +build windows
package systray package systray