about summary refs log tree commit diff
path: root/youtube_dl/extractor/theplatform.py
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2016-01-15 12:34:28 +0100
committerremitamine <remitamine@gmail.com>2016-01-15 12:35:31 +0100
commitffbc0baf72f456b1f4f4ac989e4a7b75b69c7a54 (patch)
tree31967a707aad92b6f1be37c3e15af06f9f6728fa /youtube_dl/extractor/theplatform.py
parent345f12196c9ed37094aec8c029809be888052d3a (diff)
downloadyoutube-dl-ffbc0baf72f456b1f4f4ac989e4a7b75b69c7a54.tar.gz
youtube-dl-ffbc0baf72f456b1f4f4ac989e4a7b75b69c7a54.tar.xz
youtube-dl-ffbc0baf72f456b1f4f4ac989e4a7b75b69c7a54.zip
[history] fix signature and media url extraction(fixes #8240)
Diffstat (limited to 'youtube_dl/extractor/theplatform.py')
-rw-r--r--youtube_dl/extractor/theplatform.py2
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 = [{