From: Jaime Marquínez Ferrándiz Date: Tue, 25 Feb 2014 23:04:03 +0000 (+0100) Subject: [mixcloud] Fix _VALID_RE (fixes #2462) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=8b286571c3041ae79a72cbe0bad51d2ebf59162e;p=youtube-dl [mixcloud] Fix _VALID_RE (fixes #2462) Accept any character except `/` for uploader and the name, caused problems with non ASCII characters --- diff --git a/youtube_dl/extractor/mixcloud.py b/youtube_dl/extractor/mixcloud.py index f3356db50..b8d363eb6 100644 --- a/youtube_dl/extractor/mixcloud.py +++ b/youtube_dl/extractor/mixcloud.py @@ -10,7 +10,7 @@ from ..utils import ( class MixcloudIE(InfoExtractor): - _VALID_URL = r'^(?:https?://)?(?:www\.)?mixcloud\.com/([\w\d-]+)/([\w\d-]+)' + _VALID_URL = r'^(?:https?://)?(?:www\.)?mixcloud\.com/([^/]+)/([^/]+)' IE_NAME = 'mixcloud' _TEST = {