fixed KeyError in get_charts

This commit is contained in:
ankit yadav 2023-09-25 22:52:20 +05:30 • committed by sigma67
commit f1141d3f5a
2 changed files with 6 additions and 1 deletions

View file

@ -26,6 +26,8 @@ PAGE_TYPE = [
]
WATCH_VIDEO_ID = ['watchEndpoint', 'videoId']
NAVIGATION_VIDEO_ID = ['navigationEndpoint'] + WATCH_VIDEO_ID
QUEUE_VIDEO_ID = ['queueAddEndpoint','queueTarget','videoId']
NAVIGATION_VIDEO_ID_2 = MENU_ITEMS+[0]+MENU_SERVICE+QUEUE_VIDEO_ID
NAVIGATION_PLAYLIST_ID = ['navigationEndpoint', 'watchEndpoint', 'playlistId']
NAVIGATION_WATCH_PLAYLIST_ID = ['navigationEndpoint', 'watchPlaylistEndpoint', 'playlistId']
NAVIGATION_VIDEO_TYPE = [