projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e054aa
)
[theplatform] Check for /select/media URLs first (#5746)
author
Sergey M․
<dstftw@gmail.com>
Tue, 9 Jun 2015 17:12:13 +0000
(23:12 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 9 Jun 2015 17:12:13 +0000
(23:12 +0600)
youtube_dl/extractor/theplatform.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/theplatform.py
b/youtube_dl/extractor/theplatform.py
index 48c6ff03f482a9489952f9bee9875ac0ee6a00b4..83d833e30dbeb60caa43aa272bfd4d35f4507a53 100644
(file)
--- 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 = [{