From 85cacb2f517b510ad9a209223593a0a478d9c56f Mon Sep 17 00:00:00 2001 From: Sergey M Date: Sat, 8 Feb 2014 22:53:40 +0700 Subject: [PATCH 1/2] [bbc.co.uk] Add one more link format --- youtube_dl/extractor/bbccouk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/bbccouk.py b/youtube_dl/extractor/bbccouk.py index 43e8ad3b6..5461c2fba 100644 --- a/youtube_dl/extractor/bbccouk.py +++ b/youtube_dl/extractor/bbccouk.py @@ -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[\da-z]{8})' + _VALID_URL = r'https?://(?:www\.)?bbc\.co\.uk/(programmes|iplayer/episode)/(?P[\da-z]{8})' _TEST = { 'url': 'http://www.bbc.co.uk/programmes/p01q7wz1', From 8b7f73404ad717fc5237d9f62b452196e1af2229 Mon Sep 17 00:00:00 2001 From: "Sergey M." Date: Sat, 8 Feb 2014 22:55:43 +0700 Subject: [PATCH 2/2] [bbc.co.uk] Fix regex --- youtube_dl/extractor/bbccouk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/bbccouk.py b/youtube_dl/extractor/bbccouk.py index 5461c2fba..915644dc6 100644 --- a/youtube_dl/extractor/bbccouk.py +++ b/youtube_dl/extractor/bbccouk.py @@ -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|iplayer/episode)/(?P[\da-z]{8})' + _VALID_URL = r'https?://(?:www\.)?bbc\.co\.uk/(?:programmes|iplayer/episode)/(?P[\da-z]{8})' _TEST = { 'url': 'http://www.bbc.co.uk/programmes/p01q7wz1',