Browse Source

[kaltura] Clean description

master
Sergey M․ 9 years ago
parent
commit
bdceea7afd
1 changed files with 2 additions and 1 deletions
  1. 3
      youtube_dl/extractor/kaltura.py

3
youtube_dl/extractor/kaltura.py

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

Loading…
Cancel
Save