1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-23 17:22:55 +08:00

[bbc.co.uk] Add one more link format

This commit is contained in:
Sergey M 2014-02-08 22:53:40 +07:00
parent b3fa3917e2
commit 85cacb2f51

View 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',