Skip to content

Commit

Permalink
test_home: hotfix failing podcast entries on homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
sigma67 committed Jan 1, 2024
1 parent e0d73c0 commit fb48dcc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ytmusicapi/parsers/browsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ def parse_mixed_content(rows):
elif page_type == "MUSIC_PAGE_TYPE_PLAYLIST":
content = parse_playlist(data)
else:
data = nav(result, [MRLIR])
data = nav(result, [MRLIR], True)
if not data:
continue
content = parse_song_flat(data)

contents.append(content)
Expand Down

0 comments on commit fb48dcc

Please sign in to comment.