Fix get_playlist docs (closes #38)
This commit is contained in:
parent
d6540ac2a8
commit
b8e9078cba
1 changed files with 3 additions and 2 deletions
|
|
@ -504,7 +504,7 @@ class YTMusic:
|
||||||
To get liked songs and videos, use :py:func:`get_liked_songs`
|
To get liked songs and videos, use :py:func:`get_liked_songs`
|
||||||
|
|
||||||
:param limit: Number of songs to retrieve
|
:param limit: Number of songs to retrieve
|
||||||
:return: List of songs. . Same format as :py:func:`get_playlist`
|
:return: List of songs. Same format as :py:func:`get_playlist`
|
||||||
"""
|
"""
|
||||||
self.__check_auth()
|
self.__check_auth()
|
||||||
body = {'browseId': 'FEmusic_liked_videos'}
|
body = {'browseId': 'FEmusic_liked_videos'}
|
||||||
|
|
@ -718,7 +718,8 @@ class YTMusic:
|
||||||
|
|
||||||
:param playlistId: Playlist id
|
:param playlistId: Playlist id
|
||||||
:param limit: How many songs to return. Default: 100
|
:param limit: How many songs to return. Default: 100
|
||||||
:return: List of playlistItem dictionaries
|
:return: Dictionary with information about the playlist.
|
||||||
|
The key ``tracks`` contains a List of playlistItem dictionaries
|
||||||
|
|
||||||
Each item is in the following format::
|
Each item is in the following format::
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue