1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-14 13:25:38 +00:00

[pluralsight] Omit module title from video title (closes #12506)

This commit is contained in:
Sergey M․ 2017-03-22 02:28:04 +07:00
parent e1e35d1ac6
commit 8e5a7c5e67
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -40,7 +40,7 @@ class PluralsightIE(PluralsightBaseIE):
'info_dict': { 'info_dict': {
'id': 'hosting-sql-server-windows-azure-iaas-m7-mgmt-04', 'id': 'hosting-sql-server-windows-azure-iaas-m7-mgmt-04',
'ext': 'mp4', 'ext': 'mp4',
'title': 'Management of SQL Server - Demo Monitoring', 'title': 'Demo Monitoring',
'duration': 338, 'duration': 338,
}, },
'skip': 'Requires pluralsight account credentials', 'skip': 'Requires pluralsight account credentials',
@ -187,7 +187,7 @@ class PluralsightIE(PluralsightBaseIE):
if not clip: if not clip:
raise ExtractorError('Unable to resolve clip') raise ExtractorError('Unable to resolve clip')
title = '%s - %s' % (module['title'], clip['title']) title = clip['title']
QUALITIES = { QUALITIES = {
'low': {'width': 640, 'height': 480}, 'low': {'width': 640, 'height': 480},