You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comment#isPinnedComment renamed to Comment#isPinned
Client constructor parameters changes:
cookie renamed to initialCookie
requestOptions changed to fetchOptions (which is a node-fetch request options)
https removed
Remove URL support from Client#getVideo and Client#getPlaylist, you will have to extract video / playlist id from URL string before passing it
SearchResult now is a Continuable (look below)
Continuable implementations. All .next*() methods in all classes will be removed (e.g. Channel#nextVideos, Channel#nextPlaylists, or Video#nextComments), and the property used to store fetched data (e.g Channel.videos, Channel.playlists, or Video.comments) will be replaced with a Continuable. Instead of doing:
v1 is now finally on RC!
The
0-rc
version won't be maintained anymore.New v1 docs: https://suspiciouslookingowl.github.io/youtubei
Migration Guide
List of breaking changes on v1:
youtubei
now requires Node version>= 16
ChannelCompact
renamed toBaseChannel
Comment#isPinnedComment
renamed toComment#isPinned
Client
constructor parameters changes:cookie
renamed toinitialCookie
requestOptions
changed tofetchOptions
(which is anode-fetch
request options)https
removedClient#getVideo
andClient#getPlaylist
, you will have to extract video / playlist id from URL string before passing itSearchResult
now is aContinuable
(look below)Continuable
implementations. All.next*()
methods in all classes will be removed (e.g.Channel#nextVideos
,Channel#nextPlaylists
, orVideo#nextComments
), and the property used to store fetched data (e.gChannel.videos
,Channel.playlists
, orVideo.comments
) will be replaced with aContinuable
. Instead of doing:on v1:
The text was updated successfully, but these errors were encountered: