diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-07-28 02:06:27 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-07-28 02:06:27 +0600 |
commit | d247a2c8bf2fe4e071cb35a2e2777fe16acecab3 (patch) | |
tree | 84497cd1b5ae1918cb0d9e1781f85ef2e6f995e1 /youtube_dl/extractor | |
parent | 88ed52aec9f2e622188f304d74f2f5568b0caa1e (diff) |
[bbc] Fix regex
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/bbc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/bbc.py b/youtube_dl/extractor/bbc.py index c0433eabd..01d07c9c0 100644 --- a/youtube_dl/extractor/bbc.py +++ b/youtube_dl/extractor/bbc.py @@ -654,7 +654,7 @@ class BBCIE(BBCCoUkIE): # Multiple video article (e.g. # http://www.bbc.co.uk/blogs/adamcurtis/entries/3662a707-0af9-3149-963f-47bea720b460) - EMBED_URL = r'https?://(?:www\.)?bbc\.co\.uk/(?:[^/]+/)+[\da-z]{8}(?:\b[^"]*)?' + EMBED_URL = r'https?://(?:www\.)?bbc\.co\.uk/(?:[^/]+/)+[\da-z]{8}(?:\b[^"]+)?' entries = [] for match in extract_all(r'new\s+SMP\(({.+?})\)'): embed_url = match.get('playerSettings', {}).get('externalEmbedUrl') |