diff options
author | remitamine <remitamine@gmail.com> | 2016-01-15 12:34:28 +0100 |
---|---|---|
committer | remitamine <remitamine@gmail.com> | 2016-01-15 12:35:31 +0100 |
commit | ffbc0baf72f456b1f4f4ac989e4a7b75b69c7a54 (patch) | |
tree | 31967a707aad92b6f1be37c3e15af06f9f6728fa /youtube_dl/extractor/theplatform.py | |
parent | 345f12196c9ed37094aec8c029809be888052d3a (diff) |
[history] fix signature and media url extraction(fixes #8240)
Diffstat (limited to 'youtube_dl/extractor/theplatform.py')
-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 0bf6726b5..10f2cad55 100644 --- a/youtube_dl/extractor/theplatform.py +++ b/youtube_dl/extractor/theplatform.py @@ -85,7 +85,7 @@ class ThePlatformBaseIE(InfoExtractor): class ThePlatformIE(ThePlatformBaseIE): _VALID_URL = r'''(?x) (?:https?://(?:link|player)\.theplatform\.com/[sp]/(?P<provider_id>[^/]+)/ - (?:(?P<media>(?:[^/]+/)+select/media/)|(?P<config>(?:[^/\?]+/(?:swf|config)|onsite)/select/))? + (?:(?P<media>(?:(?:[^/]+/)+select/)?media/)|(?P<config>(?:[^/\?]+/(?:swf|config)|onsite)/select/))? |theplatform:)(?P<id>[^/\?&]+)''' _TESTS = [{ |