diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-01-02 20:37:54 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-01-02 20:37:54 +0600 |
commit | 317639758a0f1728e6e1d612800b6eab69261e89 (patch) | |
tree | 13dc766ea61e0c540a7012efa87428896eed5f9b /youtube_dl/extractor/bbccouk.py | |
parent | fdbabca85f80e47961329972bcbf627f25638ce4 (diff) |
[bbccouk] Improve _VALID_URL
Diffstat (limited to 'youtube_dl/extractor/bbccouk.py')
-rw-r--r-- | youtube_dl/extractor/bbccouk.py | 5 |
1 files changed, 4 insertions, 1 deletions
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<id>[\da-z]{8})' + _VALID_URL = r'https?://(?:www\.)?bbc\.co\.uk/(?:programmes|iplayer/(?:episode|playlist))/(?P<id>[\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, } ] |