From: Jaime Marquínez Ferrándiz Date: Sun, 26 Oct 2014 18:08:36 +0000 (+0100) Subject: [soundcloud] Set the 'webpage_url' field for each track X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=579657ad8726ab0cdefd98fbbb28f09fbcf94e96;p=youtube-dl [soundcloud] Set the 'webpage_url' field for each track For playlists, YoutubeDL would set it to the playlist url. --- diff --git a/youtube_dl/extractor/soundcloud.py b/youtube_dl/extractor/soundcloud.py index c77671fd3..54256e1a2 100644 --- a/youtube_dl/extractor/soundcloud.py +++ b/youtube_dl/extractor/soundcloud.py @@ -141,6 +141,7 @@ class SoundcloudIE(InfoExtractor): 'description': info['description'], 'thumbnail': thumbnail, 'duration': int_or_none(info.get('duration'), 1000), + 'webpage_url': info.get('permalink_url'), } formats = [] if info.get('downloadable', False):