From: Sergey M․ Date: Mon, 27 Jul 2015 20:06:27 +0000 (+0600) Subject: [bbc] Fix regex X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=d247a2c8bf2fe4e071cb35a2e2777fe16acecab3;p=youtube-dl.git [bbc] Fix regex --- 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')