From 913c258093d63f7b41c015587b6a8fad3b033bf3 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Sun, 30 Dec 2018 23:27:51 -0800 Subject: Use channel id to uniquely identify accounts, not username --- youtube/comments.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'youtube/comments.py') diff --git a/youtube/comments.py b/youtube/comments.py index bec7ea4..e650a35 100644 --- a/youtube/comments.py +++ b/youtube/comments.py @@ -312,10 +312,10 @@ video_metadata_template = Template('''
''') account_option_template = Template(''' - ''') + ''') def comment_box_account_options(): - return ''.join(account_option_template.substitute(username=username) for username in accounts.username_list()) + return ''.join(account_option_template.substitute(channel_id=channel_id, display_name=display_name) for channel_id, display_name in accounts.account_list_data()) comment_box_template = Template('''
-- cgit v1.2.3