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

This commit is contained in:
Philipp Hagemeister 2013-11-22 20:00:35 +01:00
parent 0b63aed8df
commit 00ea0f11eb

View file

@ -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):