A feature-rich command-line audio/video downloader
[faz] Use a regex for getting the description
Jaime Marquínez Ferrándizaf4d506eb35a
diff --git a/youtube_dl/extractor/faz.py b/youtube_dl/extractor/faz.pyindex deaa4ed2d9..89ed08db4c 100644--- a/youtube_dl/extractor/faz.py+++ b/youtube_dl/extractor/faz.py@@ -5,8 +5,6 @@ import xml.etree.ElementTreefrom .common import InfoExtractorfrom ..utils import (determine_ext,- clean_html,- get_element_by_attribute,)@@ -47,12 +45,12 @@ class FazIE(InfoExtractor):'format_id': code.lower(),})- descr_html = get_element_by_attribute('class', 'Content Copy', webpage)+ descr = self._html_search_regex(r'<p class="Content Copy">(.*?)</p>', webpage, u'description')info = {'id': video_id,'title': self._og_search_title(webpage),'formats': formats,- 'description': clean_html(descr_html),+ 'description': descr,'thumbnail': config.find('STILL/STILL_BIG').text,}# TODO: Remove when #980 has been merged