projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bbd7706
)
[pluralsight] Relax _VALID_URL (closes #10941)
author
Sergey M․
<dstftw@gmail.com>
Sun, 16 Oct 2016 10:20:32 +0000
(17:20 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 16 Oct 2016 10:20:32 +0000
(17:20 +0700)
youtube_dl/extractor/pluralsight.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/pluralsight.py
b/youtube_dl/extractor/pluralsight.py
index ea5caefa90da858f143d1f512d036698f6726b16..b66adfc00bfa01cf84e58b4741a9e856fab63e50 100644
(file)
--- a/
youtube_dl/extractor/pluralsight.py
+++ b/
youtube_dl/extractor/pluralsight.py
@@
-28,7
+28,7
@@
class PluralsightBaseIE(InfoExtractor):
class PluralsightIE(PluralsightBaseIE):
IE_NAME = 'pluralsight'
class PluralsightIE(PluralsightBaseIE):
IE_NAME = 'pluralsight'
- _VALID_URL = r'https?://(?:(?:www|app)\.)?pluralsight\.com/
training/
player\?'
+ _VALID_URL = r'https?://(?:(?:www|app)\.)?pluralsight\.com/
(?:training/)?
player\?'
_LOGIN_URL = 'https://app.pluralsight.com/id/'
_NETRC_MACHINE = 'pluralsight'
_LOGIN_URL = 'https://app.pluralsight.com/id/'
_NETRC_MACHINE = 'pluralsight'
@@
-50,6
+50,9
@@
class PluralsightIE(PluralsightBaseIE):
# available without pluralsight account
'url': 'http://app.pluralsight.com/training/player?author=scott-allen&name=angularjs-get-started-m1-introduction&mode=live&clip=0&course=angularjs-get-started',
'only_matching': True,
# available without pluralsight account
'url': 'http://app.pluralsight.com/training/player?author=scott-allen&name=angularjs-get-started-m1-introduction&mode=live&clip=0&course=angularjs-get-started',
'only_matching': True,
+ }, {
+ 'url': 'https://app.pluralsight.com/player?course=ccna-intro-networking&author=ross-bagurdes&name=ccna-intro-networking-m06&clip=0',
+ 'only_matching': True,
}]
def _real_initialize(self):
}]
def _real_initialize(self):