mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-11 15:25:57 +08:00
This commit is contained in:
parent
4bf0727b1f
commit
19355761b4
@ -13,7 +13,7 @@ from ..utils import (
|
|||||||
|
|
||||||
ExtractorError,
|
ExtractorError,
|
||||||
unified_strdate,
|
unified_strdate,
|
||||||
)
|
int_or_none)
|
||||||
|
|
||||||
|
|
||||||
class SoundcloudIE(InfoExtractor):
|
class SoundcloudIE(InfoExtractor):
|
||||||
@ -119,6 +119,7 @@ class SoundcloudIE(InfoExtractor):
|
|||||||
'title': info['title'],
|
'title': info['title'],
|
||||||
'description': info['description'],
|
'description': info['description'],
|
||||||
'thumbnail': thumbnail,
|
'thumbnail': thumbnail,
|
||||||
|
'duration': int(int_or_none(info.get("duration")) / 1000),
|
||||||
}
|
}
|
||||||
formats = []
|
formats = []
|
||||||
if info.get('downloadable', False):
|
if info.get('downloadable', False):
|
||||||
|
Loading…
Reference in New Issue
Block a user