From e0c51f2717cc323e971d81a79fea3daaaa026224 Mon Sep 17 00:00:00 2001 From: czifumasa Date: Thu, 11 Jul 2024 10:43:03 +0200 Subject: [PATCH] get_album: fix invalid track list artists (#617) --- ytmusicapi/parsers/playlists.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ytmusicapi/parsers/playlists.py b/ytmusicapi/parsers/playlists.py index 82ee879..9307b5f 100644 --- a/ytmusicapi/parsers/playlists.py +++ b/ytmusicapi/parsers/playlists.py @@ -112,8 +112,7 @@ def parse_playlist_item( navigation_endpoint = nav(flex_column_item, [*TEXT_RUN, "navigationEndpoint"], True) if not navigation_endpoint: - if nav(flex_column_item, TEXT_RUN_TEXT, True) is not None: - unrecognized_index = index if unrecognized_index is None else unrecognized_index + unrecognized_index = index if unrecognized_index is None else unrecognized_index continue if "watchEndpoint" in navigation_endpoint: