aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-10-26 19:08:36 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-10-26 19:08:36 +0100
commit579657ad8726ab0cdefd98fbbb28f09fbcf94e96 (patch)
tree63522dcaaaf2c38cd3fb18a8f40c7094d0ac90b9
parent5f82b129e085eb122b6129df36e45925f5b4546a (diff)
[soundcloud] Set the 'webpage_url' field for each track
For playlists, YoutubeDL would set it to the playlist url.
-rw-r--r--youtube_dl/extractor/soundcloud.py1
1 files changed, 1 insertions, 0 deletions
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):