mirror of
https://github.com/IllusionMan1212/yt-db-completer.git
synced 2026-10-24 10:12:27 +00:00
fix: proper membership playlist title. tested
This commit is contained in:
@@ -15,7 +15,6 @@ const (
|
|||||||
Shorts = "shorts"
|
Shorts = "shorts"
|
||||||
Video = "video"
|
Video = "video"
|
||||||
Livestream = "livestream"
|
Livestream = "livestream"
|
||||||
// TODO: Can't test this until I get my hands on a membership.
|
|
||||||
Membership = "membership"
|
Membership = "membership"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -149,7 +148,7 @@ func main() {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
case Membership:
|
case Membership:
|
||||||
if !strings.HasSuffix(metadata.PlaylistTitle, "Membership") {
|
if !strings.HasSuffix(metadata.PlaylistTitle, "Members-only videos") {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user