From: Sergey M․ Date: Thu, 3 Dec 2015 14:49:14 +0000 (+0600) Subject: [bbc] Fix _VALID_URL X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=49358274d7145788f2e99471dbb7c7c4301a3d3d;p=youtube-dl [bbc] Fix _VALID_URL --- diff --git a/youtube_dl/extractor/bbc.py b/youtube_dl/extractor/bbc.py index 5f7265a06..7fb80aa38 100644 --- a/youtube_dl/extractor/bbc.py +++ b/youtube_dl/extractor/bbc.py @@ -23,7 +23,7 @@ class BBCCoUkIE(InfoExtractor): IE_NAME = 'bbc.co.uk' IE_DESC = 'BBC iPlayer' _ID_REGEX = r'[pb][\da-z]{7}' - _VALID_URL = r'https?://(?:(?:www\.)?bbc\.co\.uk/(?:(?:programmes/(?!articles/)|iplayer(?:/[^/]+)?/(?:episode/|playlist/))|music/clips[/#])|)(?P%s)' % _ID_REGEX + _VALID_URL = r'https?://(?:www\.)?bbc\.co\.uk/(?:(?:programmes/(?!articles/)|iplayer(?:/[^/]+)?/(?:episode/|playlist/))|music/clips[/#])(?P%s)' % _ID_REGEX _MEDIASELECTOR_URLS = [ # Provides HQ HLS streams with even better quality that pc mediaset but fails