diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-12-10 23:45:36 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-12-10 23:48:18 +0700 |
commit | 655cb545ab2a037465e18bcb88b54a4375fe2f37 (patch) | |
tree | a559ff79ce2d4c335ef714a6ac3b9108ec5b0b34 /youtube_dl/extractor | |
parent | f0b69fa91a00a1efe00e75f8ffaef3d27656f6dc (diff) |
[mixcloud] Relax _VALID_URL (closes #11406)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/mixcloud.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/mixcloud.py b/youtube_dl/extractor/mixcloud.py index 560fe188b..202c05dcb 100644 --- a/youtube_dl/extractor/mixcloud.py +++ b/youtube_dl/extractor/mixcloud.py @@ -22,7 +22,7 @@ from ..utils import ( class MixcloudIE(InfoExtractor): - _VALID_URL = r'^(?:https?://)?(?:www\.)?mixcloud\.com/([^/]+)/(?!stream|uploads|favorites|listens|playlists)([^/]+)' + _VALID_URL = r'https?://(?:(?:www|beta|m)\.)?mixcloud\.com/([^/]+)/(?!stream|uploads|favorites|listens|playlists)([^/]+)' IE_NAME = 'mixcloud' _TESTS = [{ @@ -51,6 +51,9 @@ class MixcloudIE(InfoExtractor): 'view_count': int, 'like_count': int, }, + }, { + 'url': 'https://beta.mixcloud.com/RedLightRadio/nosedrip-15-red-light-radio-01-18-2016/', + 'only_matching': True, }] # See https://www.mixcloud.com/media/js2/www_js_2.9e23256562c080482435196ca3975ab5.js |