From a606b70f94f0a07ed524fdf2357699f8d54fdfc3 Mon Sep 17 00:00:00 2001 From: sigma67 Date: Tue, 23 Jul 2024 21:30:10 +0200 Subject: [PATCH] library uploads: fix broken index after downloads rollout --- ytmusicapi/parsers/library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ytmusicapi/parsers/library.py b/ytmusicapi/parsers/library.py index abb6ed5..1e2f279 100644 --- a/ytmusicapi/parsers/library.py +++ b/ytmusicapi/parsers/library.py @@ -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: