From: Tithen-Firion Date: Wed, 3 Dec 2014 10:49:53 +0000 (+0100) Subject: [soundcloud] Improve_VALID_URL X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=0403b06985bcb004efb3683bca6a56a47e3227b1;p=youtube-dl [soundcloud] Improve_VALID_URL Add support for links from Audiomack --- diff --git a/youtube_dl/extractor/soundcloud.py b/youtube_dl/extractor/soundcloud.py index 3c1d058db..ab9483d2d 100644 --- a/youtube_dl/extractor/soundcloud.py +++ b/youtube_dl/extractor/soundcloud.py @@ -32,7 +32,7 @@ class SoundcloudIE(InfoExtractor): (?P[\w\d-]+)/? (?P<token>[^?]+?)?(?:[?].*)?$) |(?:api\.soundcloud\.com/tracks/(?P<track_id>\d+) - (?:/?\?secret_token=(?P<secret_token>[^&]+?))?$) + (?:/?\?secret_token=(?P<secret_token>[^&]+))?) |(?P<player>(?:w|player|p.)\.soundcloud\.com/player/?.*?url=.*) ) '''