feature: add get_song_related (closes #252)

This commit is contained in:
sigma67 2022-05-10 14:12:16 +02:00
commit edb963766c
No known key found for this signature in database
GPG key ID: 1545A01D4474BAF0
6 changed files with 149 additions and 64 deletions

View file

@ -29,8 +29,10 @@ NAVIGATION_VIDEO_TYPE = [
'musicVideoType'
]
HEADER_DETAIL = ['header', 'musicDetailHeaderRenderer']
DESCRIPTION_SHELF = ['musicDescriptionShelfRenderer']
DESCRIPTION = ['description'] + RUN_TEXT
CAROUSEL = ['musicCarouselShelfRenderer']
IMMERSIVE_CAROUSEL = ['musicImmersiveCarouselShelfRenderer']
CAROUSEL_CONTENTS = CAROUSEL + ['contents']
CAROUSEL_TITLE = ['header', 'musicCarouselShelfBasicHeaderRenderer', 'title', 'runs', 0]
FRAMEWORK_MUTATIONS = ['frameworkUpdates', 'entityBatchUpdate', 'mutations']