1
0
mirror of https://github.com/l1ving/youtube-dl synced 2020-11-18 19:53:54 -08:00

Add -original quality to soundcloud thumbnails

This commit is contained in:
Harry Kwon 2019-04-13 07:02:00 +00:00
parent 8e06e62536
commit eb89876d8c

View File

@ -221,9 +221,9 @@ class SoundcloudIE(InfoExtractor):
if isinstance(thumbnail, compat_str):
thumbnail = thumbnail.replace('-large', '-original')
thumbnails.append({
'url': thumbnail.replace('-original', '-t500x500'),
'width': 500,
'height': 500
'url': thumbnail.replace('-original', '-t500x500'),
'width': 500,
'height': 500
})
thumbnails.append({'url': thumbnail})
username = try_get(info, lambda x: x['user']['username'], compat_str)