1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[mixcloud] Fix _VALID_RE (fixes #2462)

Accept any character except `/` for uploader and the name, caused problems with non ASCII characters
This commit is contained in:
Jaime Marquínez Ferrándiz 2014-02-26 00:04:03 +01:00
parent f3ac523794
commit 8b286571c3

View file

@ -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 = {