aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-07-11 19:06:50 +0100
committerRemita Amine <remitamine@gmail.com>2016-07-11 19:06:50 +0100
commitf1b4af7d79e5ee5d74fddf5fe46ce4c6f661ad8d (patch)
tree53d6316cc22badfb67a90e23a65ded2c81986b0a /youtube_dl/extractor
parent8a8590a61784b9f4a8ff380058a1571d5400ba3d (diff)
downloadyoutube-dl-f1b4af7d79e5ee5d74fddf5fe46ce4c6f661ad8d.tar.xz
[beightcove:new] remove html tags from description
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/brightcove.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py
index 57ce0c174..c172bad2d 100644
--- a/youtube_dl/extractor/brightcove.py
+++ b/youtube_dl/extractor/brightcove.py
@@ -26,6 +26,7 @@ from ..utils import (
unescapeHTML,
unsmuggle_url,
update_url_query,
+ clean_html,
)
@@ -620,7 +621,7 @@ class BrightcoveNewIE(InfoExtractor):
return {
'id': video_id,
'title': title,
- 'description': json_data.get('description'),
+ 'description': clean_html(json_data.get('description')),
'thumbnail': json_data.get('thumbnail') or json_data.get('poster'),
'duration': float_or_none(json_data.get('duration'), 1000),
'timestamp': parse_iso8601(json_data.get('published_at')),