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:
parent
8e06e62536
commit
eb89876d8c
@ -221,9 +221,9 @@ class SoundcloudIE(InfoExtractor):
|
|||||||
if isinstance(thumbnail, compat_str):
|
if isinstance(thumbnail, compat_str):
|
||||||
thumbnail = thumbnail.replace('-large', '-original')
|
thumbnail = thumbnail.replace('-large', '-original')
|
||||||
thumbnails.append({
|
thumbnails.append({
|
||||||
'url': thumbnail.replace('-original', '-t500x500'),
|
'url': thumbnail.replace('-original', '-t500x500'),
|
||||||
'width': 500,
|
'width': 500,
|
||||||
'height': 500
|
'height': 500
|
||||||
})
|
})
|
||||||
thumbnails.append({'url': thumbnail})
|
thumbnails.append({'url': thumbnail})
|
||||||
username = try_get(info, lambda x: x['user']['username'], compat_str)
|
username = try_get(info, lambda x: x['user']['username'], compat_str)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user