]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[kaltura] Clean description
authorSergey M․ <dstftw@gmail.com>
Fri, 20 Nov 2015 19:39:29 +0000 (01:39 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 20 Nov 2015 19:39:29 +0000 (01:39 +0600)
youtube_dl/extractor/kaltura.py

index 1eaa09fea0e6528656c1596cc65a0df8df14e640..583b1a5adbc2692d78b5c01dc0063e37822e910c 100644 (file)
@@ -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'),