Print full title in --get-title output (#1806)
authorPhilipp Hagemeister <phihag@phihag.de>
Fri, 22 Nov 2013 19:00:35 +0000 (20:00 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Fri, 22 Nov 2013 19:00:35 +0000 (20:00 +0100)
youtube_dl/YoutubeDL.py

index a2e3df1f9347e90e7f85d8e0a51de4b77a3d093b..2700051cf32309e5ba93397d0cf1f6ccb70be9db 100644 (file)
@@ -639,7 +639,7 @@ class YoutubeDL(object):
 
         # Forced printings
         if self.params.get('forcetitle', False):
-            compat_print(info_dict['title'])
+            compat_print(info_dict['fulltitle'])
         if self.params.get('forceid', False):
             compat_print(info_dict['id'])
         if self.params.get('forceurl', False):