mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-27 15:16:57 +01:00
[beightcove:new] remove html tags from description
This commit is contained in:
parent
8a8590a617
commit
f1b4af7d79
@ -26,6 +26,7 @@ from ..utils import (
|
|||||||
unescapeHTML,
|
unescapeHTML,
|
||||||
unsmuggle_url,
|
unsmuggle_url,
|
||||||
update_url_query,
|
update_url_query,
|
||||||
|
clean_html,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@ -620,7 +621,7 @@ class BrightcoveNewIE(InfoExtractor):
|
|||||||
return {
|
return {
|
||||||
'id': video_id,
|
'id': video_id,
|
||||||
'title': title,
|
'title': title,
|
||||||
'description': json_data.get('description'),
|
'description': clean_html(json_data.get('description')),
|
||||||
'thumbnail': json_data.get('thumbnail') or json_data.get('poster'),
|
'thumbnail': json_data.get('thumbnail') or json_data.get('poster'),
|
||||||
'duration': float_or_none(json_data.get('duration'), 1000),
|
'duration': float_or_none(json_data.get('duration'), 1000),
|
||||||
'timestamp': parse_iso8601(json_data.get('published_at')),
|
'timestamp': parse_iso8601(json_data.get('published_at')),
|
||||||
|
Loading…
Reference in New Issue
Block a user