From 4a5b336deb29154e416eeea2898c5846a648aaf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Fri, 26 Feb 2021 12:15:02 -0500 Subject: minor fix --- youtube/comments.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'youtube') diff --git a/youtube/comments.py b/youtube/comments.py index a4a4f73..d47c826 100644 --- a/youtube/comments.py +++ b/youtube/comments.py @@ -107,7 +107,8 @@ def post_process_comments_info(comments_info): print('Error setting ctoken value:') print(err) comment['replies_url'] = None - comment['replies_url'] = concat_or_none(util.URL_ORIGIN, + comment['replies_url'] = concat_or_none( + util.URL_ORIGIN, '/comments?replies=1&ctoken=' + ctoken) if reply_count == 0: @@ -117,7 +118,6 @@ def post_process_comments_info(comments_info): else: comment['view_replies_text'] = str(reply_count) + ' replies' - if comment['like_count'] == 1: comment['likes_text'] = '1 like' else: -- cgit v1.2.3