1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-31 03:08:23 +08:00

[bbccouk] Extend _VALID_URL

This commit is contained in:
Sergey M․ 2017-06-29 22:29:28 +07:00
parent b2ed954fc6
commit 72d256c434
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -36,7 +36,7 @@ class BBCCoUkIE(InfoExtractor):
(?:
programmes/(?!articles/)|
iplayer(?:/[^/]+)?/(?:episode/|playlist/)|
music/clips[/#]|
music/(?:clips|audiovideo/popular)[/#]|
radio/player/
)
(?P<id>%s)(?!/(?:episodes|broadcasts|clips))
@ -229,8 +229,10 @@ class BBCCoUkIE(InfoExtractor):
}, {
'url': 'http://www.bbc.co.uk/radio/player/p03cchwf',
'only_matching': True,
}
]
}, {
'url': 'https://www.bbc.co.uk/music/audiovideo/popular#p055bc55',
'only_matching': True,
}]
_USP_RE = r'/([^/]+?)\.ism(?:\.hlsv2\.ism)?/[^/]+\.m3u8'