mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-28 21:22:13 +00:00
[pluralsight] Relax _VALID_URL (closes #10941)
This commit is contained in:
parent
bbd7706898
commit
b0dfcab60a
1 changed files with 4 additions and 1 deletions
|
@ -28,7 +28,7 @@ class PluralsightBaseIE(InfoExtractor):
|
||||||
|
|
||||||
class PluralsightIE(PluralsightBaseIE):
|
class PluralsightIE(PluralsightBaseIE):
|
||||||
IE_NAME = 'pluralsight'
|
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/'
|
_LOGIN_URL = 'https://app.pluralsight.com/id/'
|
||||||
|
|
||||||
_NETRC_MACHINE = 'pluralsight'
|
_NETRC_MACHINE = 'pluralsight'
|
||||||
|
@ -50,6 +50,9 @@ class PluralsightIE(PluralsightBaseIE):
|
||||||
# available without pluralsight account
|
# 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',
|
'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,
|
'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):
|
||||||
|
|
Loading…
Reference in a new issue