Skip to content

Commit

Permalink
search: fix profile edge case (closes #429)
Browse files Browse the repository at this point in the history
  • Loading branch information
sigma67 committed Aug 25, 2023
1 parent 6660058 commit c5dca0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ytmusicapi/parsers/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def parse_search_result(data, search_result_types, result_type, category):
search_result['playlistId'] = nav(data, NAVIGATION_PLAYLIST_ID)

elif result_type == 'profile':
search_result['name'] = get_item_text(data, 1, 2)
search_result['name'] = get_item_text(data, 1, 2, True)

elif result_type == 'song':
search_result['album'] = None
Expand Down

0 comments on commit c5dca0a

Please sign in to comment.