v2.1.0
Changes
- From now on,
YouTubeNotifier
extendsAsyncYouTubeNotifier
andAsyncYouTubeNotifier
extendsobject
.BaseYouTubeNotifier
was removed. - Added
(Async)YouTubeNotifier.run_in_background()
. It works like therun()
method but immediately returns when the notifier starts running. - Added
(Async) YouTubeNotifier.unsubscribe()
. It unsubscribes the subscribed channel IDs - From now on,
(Async)YouTubeNotifier.subscribe()
immediately raisesValueError
when the given channel IDs are invalid. It didn't raise an error in the past until the notifier started running. - Improved the speed of verifying channel IDs
Deprecations
The following methods are deprecated and will be removed in version 3.0.0
AsyncYouTubeNotifier.serve()
->use AsyncYouTubeNotifier.run()
(Async)YouTubeNotifier.add_listener()
-> use eitheradd_any_listener()
,add_upload_listener()
, oradd_edit_listener()
The following decorators are deprecated and will be removed in version 3.0.0
(Async)YouTubeNotifier.listener()
-> use eitherany
,upload
oredit
Full Changelog: v2.0.1...v2.1.0