From: Sergey M․ Date: Fri, 2 Jan 2015 14:37:54 +0000 (+0600) Subject: [bbccouk] Improve _VALID_URL X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=317639758a0f1728e6e1d612800b6eab69261e89;p=youtube-dl [bbccouk] Improve _VALID_URL --- diff --git a/youtube_dl/extractor/bbccouk.py b/youtube_dl/extractor/bbccouk.py index 53aea0ec9..73fe66b01 100644 --- a/youtube_dl/extractor/bbccouk.py +++ b/youtube_dl/extractor/bbccouk.py @@ -10,7 +10,7 @@ from ..compat import compat_HTTPError class BBCCoUkIE(SubtitlesInfoExtractor): IE_NAME = 'bbc.co.uk' IE_DESC = 'BBC iPlayer' - _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|playlist))/(?P[\da-z]{8})' _TESTS = [ { @@ -84,6 +84,9 @@ class BBCCoUkIE(SubtitlesInfoExtractor): # rtmp download 'skip_download': True, } + }, { + 'url': 'http://www.bbc.co.uk/iplayer/playlist/p01dvks4', + 'only_matching': True, } ]