Browse Source

Print full title in --get-title output (#1806)

Philipp Hagemeister 11 years ago
parent
commit
00ea0f11eb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/YoutubeDL.py

+ 1 - 1
youtube_dl/YoutubeDL.py

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