diff --git a/ytmusicapi/parsers/watch.py b/ytmusicapi/parsers/watch.py index c527ebd..46f9057 100644 --- a/ytmusicapi/parsers/watch.py +++ b/ytmusicapi/parsers/watch.py @@ -5,6 +5,8 @@ from .songs import * def parse_watch_playlist(results): tracks = [] for result in results: + if 'playlistPanelVideoWrapperRenderer' in result: + result = result['playlistPanelVideoWrapperRenderer']['primaryRenderer'] if 'playlistPanelVideoRenderer' not in result: continue data = result['playlistPanelVideoRenderer']