1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-25 19:52:11 +00:00

[youtube] Clean up -v signature output

This commit is contained in:
Philipp Hagemeister 2014-08-02 11:55:20 +02:00
parent 201e9eaa0e
commit 98eb1c3fa2

View file

@ -845,8 +845,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
player_desc = u'html5 player %s' % player_version player_desc = u'html5 player %s' % player_version
parts_sizes = u'.'.join(compat_str(len(part)) for part in encrypted_sig.split('.')) 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' % self.to_screen(u'{%s} signature length %s, %s' %
(format_id, len(encrypted_sig), parts_sizes, url_data['itag'][0], player_desc)) (format_id, parts_sizes, player_desc))
signature = self._decrypt_signature( signature = self._decrypt_signature(
encrypted_sig, video_id, player_url, age_gate) encrypted_sig, video_id, player_url, age_gate)