]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[bbc.co.uk] Add one more link format
authorSergey M <dstftw@gmail.com>
Sat, 8 Feb 2014 15:53:40 +0000 (22:53 +0700)
committerSergey M <dstftw@gmail.com>
Sat, 8 Feb 2014 15:54:05 +0000 (22:54 +0700)
youtube_dl/extractor/bbccouk.py

index 43e8ad3b6b3fb9da299305ca9855e7d52aec2dcf..5461c2fba009c11bab0b42e9dd903e8632fc446d 100644 (file)
@@ -9,7 +9,7 @@ from ..utils import ExtractorError
 class BBCCoUkIE(InfoExtractor):
     IE_NAME = 'bbc.co.uk'
     IE_DESC = 'BBC - iPlayer Radio'
-    _VALID_URL = r'https?://(?:www\.)?bbc\.co\.uk/programmes/(?P<id>[\da-z]{8})'
+    _VALID_URL = r'https?://(?:www\.)?bbc\.co\.uk/(programmes|iplayer/episode)/(?P<id>[\da-z]{8})'
 
     _TEST = {
         'url': 'http://www.bbc.co.uk/programmes/p01q7wz1',