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
The :func:`pafy.get_playlist2` serves the same purpose as the :func:`pafy.get_playlist`, but uses version 3 of youtube's api, making it able to retrieve playlists of over 200 items. It also provides a different interface, returning a :class:`pafy.Playlist` instead of a dictionary.
:param signature: fetch data required to decrypt urls, if encrypted
534
+
:type signature: bool
535
+
:param size: fetch the size of each stream (slow)(decrypts urls if needed)
536
+
:type size: bool
537
+
:param callback: a callback function to receive status strings
538
+
:type callback: function
539
+
:rtype::class:`pafy.Playlist`
540
+
541
+
Playlist Attributes
542
+
-------------------
543
+
544
+
Once you have retrieved a playlist with :func:`pafy.get_playlist2` you can iterate over it to get the Pafy objects for the items in it, or use `len(playlist)` to get its length. In addition, you can access the following attributes:
0 commit comments