From: Sergey M․ Date: Thu, 28 Jan 2016 17:23:13 +0000 (+0600) Subject: [bbc] Add another description regex X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=a853427427269549593a0217db203305332ac983;p=youtube-dl.git [bbc] Add another description regex --- diff --git a/youtube_dl/extractor/bbc.py b/youtube_dl/extractor/bbc.py index 210ce568b..5be0ff476 100644 --- a/youtube_dl/extractor/bbc.py +++ b/youtube_dl/extractor/bbc.py @@ -485,7 +485,8 @@ class BBCCoUkIE(InfoExtractor): (r']+id="parent-title"[^>]*>(.+?)', r']+class="info"[^>]*>\s*

(.+?)

'), webpage, 'title') description = self._search_regex( - r'

([^<]+)

', + (r'

([^<]+)

', + r']+class="info_+synopsis"[^>]*>([^<]+)'), webpage, 'description', default=None) if not description: description = self._html_search_meta('description', webpage)