From cbf185e111abc1489cf518713742044c6e400b10 Mon Sep 17 00:00:00 2001 From: IllusionMan1212 Date: Mon, 2 Sep 2024 04:20:09 +0200 Subject: [PATCH] fix: proper membership playlist title. tested --- main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.go b/main.go index 433bfad..3e1ce33 100644 --- a/main.go +++ b/main.go @@ -15,7 +15,6 @@ const ( Shorts = "shorts" Video = "video" Livestream = "livestream" - // TODO: Can't test this until I get my hands on a membership. Membership = "membership" ) @@ -149,7 +148,7 @@ func main() { continue } case Membership: - if !strings.HasSuffix(metadata.PlaylistTitle, "Membership") { + if !strings.HasSuffix(metadata.PlaylistTitle, "Members-only videos") { continue } }