]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[bbc] Fix regex
authorSergey M․ <dstftw@gmail.com>
Mon, 27 Jul 2015 20:06:27 +0000 (02:06 +0600)
committerSergey M․ <dstftw@gmail.com>
Mon, 27 Jul 2015 20:06:27 +0000 (02:06 +0600)
youtube_dl/extractor/bbc.py

index c0433eabd5af2130c0e13d83370784f3cab4b036..01d07c9c0c3e9dedb41ba560e7aecae5ff26c2e5 100644 (file)
@@ -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')