logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: bdceea7afde4fe02fff90f84ef1f2fb6ebbac9d3
parent d80a39cec89e8ddfc3090c3d1b10d3fe105791e1
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sat, 21 Nov 2015 01:39:29 +0600

[kaltura] Clean description

Diffstat:

Myoutube_dl/extractor/kaltura.py3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/kaltura.py b/youtube_dl/extractor/kaltura.py @@ -10,6 +10,7 @@ from ..compat import ( compat_urlparse, ) from ..utils import ( + clean_html, ExtractorError, int_or_none, unsmuggle_url, @@ -166,7 +167,7 @@ class KalturaIE(InfoExtractor): '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'),