Browse Source

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

For playlists, YoutubeDL would set it to the playlist url.
totalwebcasting
Jaime Marquínez Ferrándiz 10 years ago
parent
commit
579657ad87
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      youtube_dl/extractor/soundcloud.py

+ 1
- 0
youtube_dl/extractor/soundcloud.py View File

@ -141,6 +141,7 @@ class SoundcloudIE(InfoExtractor):
'description': info['description'], 'description': info['description'],
'thumbnail': thumbnail, 'thumbnail': thumbnail,
'duration': int_or_none(info.get('duration'), 1000), 'duration': int_or_none(info.get('duration'), 1000),
'webpage_url': info.get('permalink_url'),
} }
formats = [] formats = []
if info.get('downloadable', False): if info.get('downloadable', False):


Loading…
Cancel
Save