1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-05 03:54:13 +08:00

Update pluralsight.py

Fixed regex line
This commit is contained in:
Collin Chaffin 2015-11-20 20:04:32 -06:00
parent 6da620de58
commit c39913a5e8

View File

@ -19,7 +19,7 @@ from ..utils import (
class PluralsightIE(InfoExtractor):
IE_NAME = 'pluralsight'
_VALID_URL = r'https?://(?:www\.)?pluralsight\.com/training/player\?author=(?P<author>[^&]+)&name=(?P<name>[^&]+)(?:&mode=live)?&clip=(?P<clip>\d+)&course=(?P<course>[^&]+)'
_VALID_URL = r'https?://?(?:www\.)?(?:app\.)?pluralsight\.com/training/player\?(?:(course=(?P<course>[^&]+))(&author=(?P<author>[^&]+))(&name=(?P<name>[^&]+))(&clip=(?P<clip>\d+))(&mode=live))'
_LOGIN_URL = 'https://www.pluralsight.com/id/'
_NETRC_MACHINE = 'pluralsight'