[GH-ISSUE #785] subscribe_artists only appears to allow subscribing to a single artist but function accepts a list #496

Open
opened 2026-02-27 23:01:07 +03:00 by kerem · 1 comment
Owner

Originally created by @nick42d on GitHub (Jul 4, 2025).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/785

  • I confirm that I have read the FAQ

Describe the bug

It appears that from the Google side, subscribe_artists throws a 400 error if more than 1 channel_id is provided.
unsubscribe_artists still allows multiple.

I propose subscribe_artists be renamed to subscribe_artist, and modified to accept a single string channel id (instead of a list).

ytmusicapi version

1.10.3-1

To Reproduce

// UCMyqqExD7o8zVB5SDUhhuCQ - The Dung Beatles
// UCwMzxvcq8VmfclCG6QUTm7g - Clube Big Beatles

// This works - doesn't matter if artist is subscribed or unsubscribed from youtube side
ytmusic.subscribe_artists(["UCMyqqExD7o8zVB5SDUhhuCQ"])
// This works - doesn't matter if artist is subscribed or unsubscribed from youtube side
ytmusic.subscribe_artists(["UCwMzxvcq8VmfclCG6QUTm7g"])
// This doesn't work - 400 error - even if both artists are unsubscribed from youtube side
ytmusic.subscribe_artists(["UCMyqqExD7o8zVB5SDUhhuCQ", "UCwMzxvcq8VmfclCG6QUTm7g"])

// This still works
ytmusic.unsubscribe_artists(["UCMyqqExD7o8zVB5SDUhhuCQ", "UCwMzxvcq8VmfclCG6QUTm7g"])
Originally created by @nick42d on GitHub (Jul 4, 2025). Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/785 - [x] I confirm that I have read the [FAQ](https://ytmusicapi.readthedocs.io/en/stable/faq.html#why-is-ytmusicapi-returning-more-results-than-requested-with-the-limit-parameter) **Describe the bug** It appears that from the Google side, subscribe_artists throws a 400 error if more than 1 channel_id is provided. unsubscribe_artists still allows multiple. I propose subscribe_artists be renamed to subscribe_artist, and modified to accept a single string channel id (instead of a list). **ytmusicapi version** 1.10.3-1 **To Reproduce** ``` // UCMyqqExD7o8zVB5SDUhhuCQ - The Dung Beatles // UCwMzxvcq8VmfclCG6QUTm7g - Clube Big Beatles // This works - doesn't matter if artist is subscribed or unsubscribed from youtube side ytmusic.subscribe_artists(["UCMyqqExD7o8zVB5SDUhhuCQ"]) // This works - doesn't matter if artist is subscribed or unsubscribed from youtube side ytmusic.subscribe_artists(["UCwMzxvcq8VmfclCG6QUTm7g"]) // This doesn't work - 400 error - even if both artists are unsubscribed from youtube side ytmusic.subscribe_artists(["UCMyqqExD7o8zVB5SDUhhuCQ", "UCwMzxvcq8VmfclCG6QUTm7g"]) // This still works ytmusic.unsubscribe_artists(["UCMyqqExD7o8zVB5SDUhhuCQ", "UCwMzxvcq8VmfclCG6QUTm7g"]) ```
Author
Owner

@sigma67 commented on GitHub (Jul 24, 2025):

I can confirm this. The inconsistency between subscribe and unsubscribe is quite strange though.

<!-- gh-comment-id:3114669013 --> @sigma67 commented on GitHub (Jul 24, 2025): I can confirm this. The inconsistency between subscribe and unsubscribe is quite strange though.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ytmusicapi#496
No description provided.