1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-29 21:52:54 +00:00

[bbc.co.uk] Fix regex

This commit is contained in:
Sergey M. 2014-02-08 22:55:43 +07:00
parent 85cacb2f51
commit 8b7f73404a

View file

@ -9,7 +9,7 @@ from ..utils import ExtractorError
class BBCCoUkIE(InfoExtractor): class BBCCoUkIE(InfoExtractor):
IE_NAME = 'bbc.co.uk' IE_NAME = 'bbc.co.uk'
IE_DESC = 'BBC - iPlayer Radio' IE_DESC = 'BBC - iPlayer Radio'
_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)/(?P<id>[\da-z]{8})'
_TEST = { _TEST = {
'url': 'http://www.bbc.co.uk/programmes/p01q7wz1', 'url': 'http://www.bbc.co.uk/programmes/p01q7wz1',