[soundcloud] Set the 'webpage_url' field for each track

For playlists, YoutubeDL would set it to the playlist url.
This commit is contained in:
Jaime Marquínez Ferrándiz 2014-10-26 19:08:36 +01:00
parent 5f82b129e0
commit 579657ad87

View file

@ -141,6 +141,7 @@ def _extract_info_dict(self, info, full_title=None, quiet=False, secret_token=No
'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):