Update get_artist_albums and get_user_playlists to work with new YTMusic update (closes #160)
Overall code quality improved through more consistent usage of nav() shortcuts
This commit is contained in:
parent
e7541c8da2
commit
eee9d38f55
6 changed files with 41 additions and 88 deletions
|
|
@ -2,8 +2,10 @@
|
|||
TAB_CONTENT = ['tabs', 0, 'tabRenderer', 'content']
|
||||
SINGLE_COLUMN_TAB = ['contents', 'singleColumnBrowseResultsRenderer'] + TAB_CONTENT
|
||||
SECTION_LIST = ['sectionListRenderer', 'contents']
|
||||
SECTION_LIST_ITEM = ['sectionListRenderer', 'contents', 0]
|
||||
ITEM_SECTION = ['itemSectionRenderer', 'contents', 0]
|
||||
MUSIC_SHELF = [0, 'musicShelfRenderer']
|
||||
MUSIC_SHELF = ['musicShelfRenderer']
|
||||
GRID_ITEMS = ['gridRenderer', 'items']
|
||||
MENU = ['menu', 'menuRenderer']
|
||||
MENU_ITEMS = MENU + ['items']
|
||||
MENU_LIKE_STATUS = MENU + ['topLevelButtons', 0, 'likeButtonRenderer', 'likeStatus']
|
||||
|
|
|
|||
Loading…
Reference in a new issue