Browse Source

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

Sergey M․ 8 years ago
parent
commit
8e5a7c5e67
1 changed files with 2 additions and 2 deletions
  1. 2 2
      youtube_dl/extractor/pluralsight.py

+ 2 - 2
youtube_dl/extractor/pluralsight.py

@@ -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},