aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-10-16 17:20:32 +0700
committerSergey M․ <dstftw@gmail.com>2016-10-16 17:20:32 +0700
commitb0dfcab60ace0a99d9287b9e9674c60cc935d67b (patch)
tree6c5e2fda5084e779a3da638faae66a6e08cee68d
parentbbd7706898e52f5e45f712c684737851a7fe5834 (diff)
downloadyoutube-dl-b0dfcab60ace0a99d9287b9e9674c60cc935d67b.tar.xz
[pluralsight] Relax _VALID_URL (closes #10941)
-rw-r--r--youtube_dl/extractor/pluralsight.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/pluralsight.py b/youtube_dl/extractor/pluralsight.py
index ea5caefa9..b66adfc00 100644
--- 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'
- _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'
@@ -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,
+ }, {
+ '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):