diff options
author | Jesus E <heckyel@riseup.net> | 2023-05-28 21:42:13 -0400 |
---|---|---|
committer | Jesus E <heckyel@riseup.net> | 2023-05-28 21:42:13 -0400 |
commit | aa57ace7420bcbb4712d8aab0736f00115634c4a (patch) | |
tree | b475bda3b6ba4006b3611a931d310c8a57166914 /youtube/watch.py | |
parent | 512798366c935f57cf4c583a1de6bcd9ab7bb680 (diff) | |
download | yt-local-aa57ace7420bcbb4712d8aab0736f00115634c4a.tar.lz yt-local-aa57ace7420bcbb4712d8aab0736f00115634c4a.tar.xz yt-local-aa57ace7420bcbb4712d8aab0736f00115634c4a.zip |
Fix music list extraction
Closes #160
Diffstat (limited to 'youtube/watch.py')
-rw-r--r-- | youtube/watch.py | 2 |
1 files changed, 2 insertions, 0 deletions
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']: |