projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a8590a
)
[beightcove:new] remove html tags from description
author
Remita Amine
<remitamine@gmail.com>
Mon, 11 Jul 2016 18:06:50 +0000
(19:06 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Mon, 11 Jul 2016 18:06:50 +0000
(19:06 +0100)
youtube_dl/extractor/brightcove.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/brightcove.py
b/youtube_dl/extractor/brightcove.py
index 57ce0c174ce92c45a80471e8088b2a951c0a0219..c172bad2d1814937e0b488fc5f81c913aef60087 100644
(file)
--- 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')),