1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01:00

[kaltura] Clean description

This commit is contained in:
Sergey M․ 2015-11-21 01:39:29 +06:00
parent d80a39cec8
commit bdceea7afd

View File

@ -10,6 +10,7 @@
compat_urlparse,
)
from ..utils import (
clean_html,
ExtractorError,
int_or_none,
unsmuggle_url,
@ -166,7 +167,7 @@ def _real_extract(self, url):
'id': entry_id,
'title': info['name'],
'formats': formats,
'description': info.get('description'),
'description': clean_html(info.get('description')),
'thumbnail': info.get('thumbnailUrl'),
'duration': info.get('duration'),
'timestamp': info.get('createdAt'),