From: Philipp Hagemeister Date: Mon, 21 Apr 2014 10:37:16 +0000 (+0200) Subject: [ted] Extend search for description X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=621f33c9d00a82c2d119046917a8bb628dc38067;p=youtube-dl [ted] Extend search for description --- diff --git a/youtube_dl/extractor/ted.py b/youtube_dl/extractor/ted.py index 5b24716d9..abe1c34d3 100644 --- a/youtube_dl/extractor/ted.py +++ b/youtube_dl/extractor/ted.py @@ -178,7 +178,10 @@ class TEDIE(SubtitlesInfoExtractor): title = self._html_search_regex( r"(?s)(.+?)", webpage, 'title') description = self._html_search_regex( - r'(?s)

.*?

(.*?)', + [ + r'(?s)

.*?

(.*?)', + r'(?s)

About this talk:\s+(.*?)

', + ], webpage, 'description', fatal=False) return {