From c39913a5e81ad1111d6aed541a517bd2e5a202d7 Mon Sep 17 00:00:00 2001 From: Collin Chaffin Date: Fri, 20 Nov 2015 20:04:32 -0600 Subject: [PATCH] Update pluralsight.py Fixed regex line --- youtube_dl/extractor/pluralsight.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/pluralsight.py b/youtube_dl/extractor/pluralsight.py index fd32836cc..8b79b2afa 100644 --- a/youtube_dl/extractor/pluralsight.py +++ b/youtube_dl/extractor/pluralsight.py @@ -19,7 +19,7 @@ from ..utils import ( class PluralsightIE(InfoExtractor): IE_NAME = 'pluralsight' - _VALID_URL = r'https?://(?:www\.)?pluralsight\.com/training/player\?author=(?P[^&]+)&name=(?P[^&]+)(?:&mode=live)?&clip=(?P\d+)&course=(?P[^&]+)' + _VALID_URL = r'https?://?(?:www\.)?(?:app\.)?pluralsight\.com/training/player\?(?:(course=(?P[^&]+))(&author=(?P[^&]+))(&name=(?P[^&]+))(&clip=(?P\d+))(&mode=live))' _LOGIN_URL = 'https://www.pluralsight.com/id/' _NETRC_MACHINE = 'pluralsight'