From 98eb1c3fa265b2aeb7729e62e4349ec01148f8a6 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Sat, 2 Aug 2014 11:55:20 +0200 Subject: [PATCH] [youtube] Clean up -v signature output --- youtube_dl/extractor/youtube.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 511e30c05..97558b8c0 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -845,8 +845,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor): player_desc = u'html5 player %s' % player_version parts_sizes = u'.'.join(compat_str(len(part)) for part in encrypted_sig.split('.')) - self.to_screen(u'{%s} encrypted signature length %d (%s), itag %s, %s' % - (format_id, len(encrypted_sig), parts_sizes, url_data['itag'][0], player_desc)) + self.to_screen(u'{%s} signature length %s, %s' % + (format_id, parts_sizes, player_desc)) signature = self._decrypt_signature( encrypted_sig, video_id, player_url, age_gate)