diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-11-08 17:03:21 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-11-08 17:03:21 +0600 |
commit | aa8d2d5be6a99542b85a85af3310fab1bf641e86 (patch) | |
tree | a8668f14327ae80eb9f0d808a70827546ce3a8fb /youtube_dl/extractor/rtbf.py | |
parent | 114e6025b09e12bd01b5ce22bd2c43a3ef0ba460 (diff) |
[rtbf] Make www optional in _VALID_URL
Diffstat (limited to 'youtube_dl/extractor/rtbf.py')
-rw-r--r-- | youtube_dl/extractor/rtbf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/rtbf.py b/youtube_dl/extractor/rtbf.py index acf10e253..e42b319a3 100644 --- a/youtube_dl/extractor/rtbf.py +++ b/youtube_dl/extractor/rtbf.py @@ -9,7 +9,7 @@ from ..utils import ( class RTBFIE(InfoExtractor): - _VALID_URL = r'https?://www\.rtbf\.be/(?:video/[^?]+\?.*\bid=|ouftivi/(?:[^/]+/)*[^?]+\?.*\bvideoId=)(?P<id>\d+)' + _VALID_URL = r'https?://(?:www\.)?rtbf\.be/(?:video/[^?]+\?.*\bid=|ouftivi/(?:[^/]+/)*[^?]+\?.*\bvideoId=)(?P<id>\d+)' _TESTS = [{ 'url': 'https://www.rtbf.be/video/detail_les-diables-au-coeur-episode-2?id=1921274', 'md5': '799f334ddf2c0a582ba80c44655be570', |