Skip to content

Commit

Permalink
library uploads: fix broken index after downloads rollout
Browse files Browse the repository at this point in the history
  • Loading branch information
sigma67 committed Jul 23, 2024
1 parent 895ebb0 commit a606b70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ytmusicapi/parsers/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def get_library_contents(response, renderer):
section = nav(response, SINGLE_COLUMN_TAB + SECTION_LIST, True)
contents = None
if section is None: # empty library
contents = nav(response, SINGLE_COLUMN + TAB_1_CONTENT + SECTION_LIST_ITEM + renderer, True)
contents = nav(response, SINGLE_COLUMN + TAB_2_CONTENT + SECTION_LIST_ITEM + renderer, True)
else:
results = find_object_by_key(section, "itemSectionRenderer")
if results is None:
Expand Down

0 comments on commit a606b70

Please sign in to comment.