1
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-03-23 10:43:18 +00:00

[theplatform] Check for /select/media URLs first ()

This commit is contained in:
Sergey M․ 2015-06-09 23:12:13 +06:00
parent 6e054aacca
commit bd5bc0cd5a

View file

@ -26,7 +26,7 @@
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 = [{