aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/pluralsight.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-11-21 08:32:48 +0600
committerSergey M․ <dstftw@gmail.com>2015-11-21 08:32:48 +0600
commita5cd0eb8a4f2661cfe4863e958172d8f8f42d0f1 (patch)
tree87f1350b28938e746fcf56a0e972b829201733d2 /youtube_dl/extractor/pluralsight.py
parentc23e266427ef7fdcff3dc02e0d9978c58addea6c (diff)
downloadyoutube-dl-a5cd0eb8a4f2661cfe4863e958172d8f8f42d0f1.tar.xz
[pluralsight:course] Improve _VALID_URL
Diffstat (limited to 'youtube_dl/extractor/pluralsight.py')
-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 c6fd41d5a..93244f41d 100644
--- a/youtube_dl/extractor/pluralsight.py
+++ b/youtube_dl/extractor/pluralsight.py
@@ -175,7 +175,7 @@ class PluralsightIE(InfoExtractor):
class PluralsightCourseIE(InfoExtractor):
IE_NAME = 'pluralsight:course'
- _VALID_URL = r'https?://(?:www\.)?pluralsight\.com/courses/(?P<id>[^/]+)'
+ _VALID_URL = r'https?://(?:(?:www|app)\.)?pluralsight\.com/(?:library/)?courses/(?P<id>[^/]+)'
_TESTS = [{
# Free course from Pluralsight Starter Subscription for Microsoft TechNet
# https://offers.pluralsight.com/technet?loc=zTS3z&prod=zOTprodz&tech=zOttechz&prog=zOTprogz&type=zSOz&media=zOTmediaz&country=zUSz
@@ -190,6 +190,9 @@ class PluralsightCourseIE(InfoExtractor):
# available without pluralsight account
'url': 'https://www.pluralsight.com/courses/angularjs-get-started',
'only_matching': True,
+ }, {
+ 'url': 'https://app.pluralsight.com/library/courses/understanding-microsoft-azure-amazon-aws/table-of-contents',
+ 'only_matching': True,
}]
def _real_extract(self, url):