Преглед изворни кода

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

For playlists, YoutubeDL would set it to the playlist url.
Jaime Marquínez Ferrándiz пре 11 година
родитељ
комит
579657ad87
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      youtube_dl/extractor/soundcloud.py

+ 1 - 0
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):