diff options
| author | Sergey M․ <dstftw@gmail.com> | 2016-01-28 23:23:13 +0600 | 
|---|---|---|
| committer | Sergey M․ <dstftw@gmail.com> | 2016-01-28 23:23:13 +0600 | 
| commit | a853427427269549593a0217db203305332ac983 (patch) | |
| tree | de85ed707149f98fd4d2990179a6f8a9239bfbac | |
| parent | 50e989e2636fc59ed896cc021b1b594bd10e9e17 (diff) | |
[bbc] Add another description regex
| -rw-r--r-- | youtube_dl/extractor/bbc.py | 3 | 
1 files changed, 2 insertions, 1 deletions
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'<h2[^>]+id="parent-title"[^>]*>(.+?)</h2>',                   r'<div[^>]+class="info"[^>]*>\s*<h1>(.+?)</h1>'), webpage, 'title')              description = self._search_regex( -                r'<p class="[^"]*medium-description[^"]*">([^<]+)</p>', +                (r'<p class="[^"]*medium-description[^"]*">([^<]+)</p>', +                 r'<div[^>]+class="info_+synopsis"[^>]*>([^<]+)</div>'),                  webpage, 'description', default=None)              if not description:                  description = self._html_search_meta('description', webpage)  | 
