diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-08-30 05:27:56 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-08-30 05:27:56 +0700 |
commit | 53647dfd0ae5f3d369e01f04acd5eff9713cc91d (patch) | |
tree | 12ece06230be8516e137fd268c728bfd4d55c697 /youtube_dl | |
parent | 22f65a9efcfd834905f9d3c046da22b750b6280b (diff) |
[bbccouk] Add support for w-prefixed ids (closes #14056)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/bbc.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/bbc.py b/youtube_dl/extractor/bbc.py index 911ae6780..8b20c03d6 100644 --- a/youtube_dl/extractor/bbc.py +++ b/youtube_dl/extractor/bbc.py @@ -29,7 +29,7 @@ from ..compat import ( class BBCCoUkIE(InfoExtractor): IE_NAME = 'bbc.co.uk' IE_DESC = 'BBC iPlayer' - _ID_REGEX = r'[pb][\da-z]{7}' + _ID_REGEX = r'[pbw][\da-z]{7}' _VALID_URL = r'''(?x) https?:// (?:www\.)?bbc\.co\.uk/ @@ -233,6 +233,9 @@ class BBCCoUkIE(InfoExtractor): }, { 'url': 'https://www.bbc.co.uk/music/audiovideo/popular#p055bc55', 'only_matching': True, + }, { + 'url': 'http://www.bbc.co.uk/programmes/w3csv1y9', + 'only_matching': True, }] _USP_RE = r'/([^/]+?)\.ism(?:\.hlsv2\.ism)?/[^/]+\.m3u8' |