]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[pluralsight] Omit module title from video title (closes #12506)
authorSergey M․ <dstftw@gmail.com>
Tue, 21 Mar 2017 19:28:04 +0000 (02:28 +0700)
committerSergey M․ <dstftw@gmail.com>
Tue, 21 Mar 2017 19:28:04 +0000 (02:28 +0700)
youtube_dl/extractor/pluralsight.py

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