From 579657ad8726ab0cdefd98fbbb28f09fbcf94e96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Sun, 26 Oct 2014 19:08:36 +0100 Subject: [PATCH] [soundcloud] Set the 'webpage_url' field for each track For playlists, YoutubeDL would set it to the playlist url. --- youtube_dl/extractor/soundcloud.py | 1 + 1 file changed, 1 insertion(+) 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):