aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Shklyaev <shk.slava@gmail.com>2015-06-02 12:56:36 +0300
committerSlava Shklyaev <shk.slava@gmail.com>2015-06-02 12:56:36 +0300
commit34c0f95db273ac5e7a7f8a6d23a3f90ceadf4695 (patch)
tree42b357d845f401a70c75fba89d902a4130243d72
parentfcb04bcaca1b83cd3f13f494d7d775e35e0b6182 (diff)
[nova] Remove html tags from description
-rw-r--r--youtube_dl/extractor/nova.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/extractor/nova.py b/youtube_dl/extractor/nova.py
index 30c64aaf8..140312f9c 100644
--- a/youtube_dl/extractor/nova.py
+++ b/youtube_dl/extractor/nova.py
@@ -4,7 +4,7 @@ from __future__ import unicode_literals
import re
from .common import InfoExtractor
-from ..utils import determine_ext
+from ..utils import clean_html, determine_ext
class NovaIE(InfoExtractor):
@@ -42,7 +42,7 @@ class NovaIE(InfoExtractor):
'display_id': '5591-policie-modrava-15-dil-blondynka-na-hrbitove',
'ext': 'mp4',
'title': 'Policie Modrava - 15. díl - Blondýnka na hřbitově',
- 'description': 'md5:d804ba6b30bc7da2705b1fea961bddfe',
+ 'description': 'md5:dc24e50be5908df83348e50d1431295e',
'thumbnail': 're:^https?://.*\.(?:jpg)',
},
'params': {
@@ -140,7 +140,7 @@ class NovaIE(InfoExtractor):
video_url = video_url.replace('&{}:'.format(ext), '')
title = mediafile.get('meta', {}).get('title') or self._og_search_title(webpage)
- description = self._og_search_description(webpage)
+ description = clean_html(self._og_search_description(webpage, default=None))
thumbnail = config.get('poster')
mobj = None