From aa57ace7420bcbb4712d8aab0736f00115634c4a Mon Sep 17 00:00:00 2001 From: Jesus E Date: Sun, 28 May 2023 21:42:13 -0400 Subject: Fix music list extraction Closes #160 --- youtube/watch.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'youtube/watch.py') diff --git a/youtube/watch.py b/youtube/watch.py index 53836aa..1db7895 100644 --- a/youtube/watch.py +++ b/youtube/watch.py @@ -688,6 +688,8 @@ def get_watch_page(video_id=None): for item in info['related_videos']: util.prefix_urls(item) util.add_extra_html_info(item) + for song in info['music_list']: + song['url'] = util.prefix_url(song['url']) if info['playlist']: playlist_id = info['playlist']['id'] for item in info['playlist']['items']: -- cgit v1.2.3