diff options
author | Remita Amine <remitamine@gmail.com> | 2019-11-09 13:11:59 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2019-11-09 13:11:59 +0100 |
commit | f81dd65ba2c1e7be549e5c8cfe6cbf0f0829edfe (patch) | |
tree | 6bfecf751301a275763ad2c1541501afdc85840d /youtube_dl/extractor | |
parent | ce112a8c19ebcc9d401ff26a5cdcf58ba565901c (diff) |
[extractor/common] clean jwplayer description HTML tags
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index 4a683f6d6..4c2f9303e 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -2689,7 +2689,7 @@ class InfoExtractor(object): entry = { 'id': this_video_id, 'title': unescapeHTML(video_data['title'] if require_title else video_data.get('title')), - 'description': video_data.get('description'), + 'description': clean_html(video_data.get('description')), 'thumbnail': urljoin(base_url, self._proto_relative_url(video_data.get('image'))), 'timestamp': int_or_none(video_data.get('pubdate')), 'duration': float_or_none(jwplayer_data.get('duration') or video_data.get('duration')), |