From 005c1239a654ef4f3594c028ae68ddac4fb30676 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Mon, 31 Dec 2018 00:00:06 -0800 Subject: Rename username to channel_id in more places --- youtube/post_comment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'youtube/post_comment.py') diff --git a/youtube/post_comment.py b/youtube/post_comment.py index dca8a1f..45e9f4b 100644 --- a/youtube/post_comment.py +++ b/youtube/post_comment.py @@ -108,8 +108,8 @@ def get_session_token(video_id, cookiejar): raise Exception("Couldn't find xsrf_token") def post_comment(parameters, fields): - username = fields['username'][0] - cookiejar = accounts.account_cookiejar(username) + channel_id = fields['channel_id'][0] + cookiejar = accounts.account_cookiejar(channel_id) #parameters = urllib.parse.parse_qs(query_string) try: -- cgit v1.2.3