diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-06-09 23:12:13 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-06-09 23:12:13 +0600 |
commit | bd5bc0cd5af257abf7a1a4c14a9dd39c4f97e622 (patch) | |
tree | 9e6a941f31193a2fbcca074d4493ab2ff9b628ea /youtube_dl | |
parent | 6e054aacca2ac44413ed37ee8b1d63a09c8b4ae2 (diff) |
[theplatform] Check for /select/media URLs first (#5746)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/theplatform.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/theplatform.py b/youtube_dl/extractor/theplatform.py index 48c6ff03f..83d833e30 100644 --- a/youtube_dl/extractor/theplatform.py +++ b/youtube_dl/extractor/theplatform.py @@ -26,7 +26,7 @@ _x = lambda p: xpath_with_ns(p, {'smil': 'http://www.w3.org/2005/SMIL21/Language class ThePlatformIE(InfoExtractor): _VALID_URL = r'''(?x) (?:https?://(?:link|player)\.theplatform\.com/[sp]/(?P<provider_id>[^/]+)/ - (?:(?P<config>(?:[^/\?]+/(?:swf|config)|onsite)/select/)|(?P<media>(?:[^/]+/)+select/media/))? + (?:(?P<media>(?:[^/]+/)+select/media/)|(?P<config>(?:[^/\?]+/(?:swf|config)|onsite)/select/))? |theplatform:)(?P<id>[^/\?&]+)''' _TESTS = [{ |