subscribe

YouTubeNotifier.subscribe(channel_ids: str | Iterable[str]) Self

Subscribe to YouTube channels to receive push notifications. This is lazy and will subscribe when the notifier is ready. If the notifier is already ready, it will subscribe immediately.

Parameters:

channel_ids – The channel ID(s) to subscribe to.

Returns:

The YouTubeNotifier instance to allow for method chaining.