Skip to content

Commit

Permalink
[mixcloud] allow uppercase letters in format urls(closes #19280)
Browse files Browse the repository at this point in the history
  • Loading branch information
remitamine authored and meunierd committed Feb 13, 2020
1 parent 84b2540 commit 6aa02d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/mixcloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def _real_extract(self, url):
def decrypt_url(f_url):
for k in (key, 'IFYOUWANTTHEARTISTSTOGETPAIDDONOTDOWNLOADFROMMIXCLOUD'):
decrypted_url = self._decrypt_xor_cipher(k, f_url)
if re.search(r'^https?://[0-9a-z.]+/[0-9A-Za-z/.?=&_-]+$', decrypted_url):
if re.search(r'^https?://[0-9A-Za-z.]+/[0-9A-Za-z/.?=&_-]+$', decrypted_url):
return decrypted_url

for url_key in ('url', 'hlsUrl', 'dashUrl'):
Expand Down

0 comments on commit 6aa02d9

Please sign in to comment.