diff --git a/yt_dlp/extractor/youtube.py b/yt_dlp/extractor/youtube.py index 82d421ad49..1978933d48 100644 --- a/yt_dlp/extractor/youtube.py +++ b/yt_dlp/extractor/youtube.py @@ -17,7 +17,6 @@ import time import traceback import urllib.parse - from .common import InfoExtractor, SearchInfoExtractor from .openload import PhantomJSwrapper from ..compat import functools @@ -3314,7 +3313,7 @@ def _extract_comment(self, view_model, entity, parent=None): info = { 'id': comment_id, 'text': entity_payload['properties']['content']['content'], - 'like_count': entity_payload['toolbar']['likeCountLiked'], + 'like_count': entity_payload['toolbar']['likeCountNotliked'], 'author_id': traverse_obj(entity_payload, ('author', 'channelId', {self.ucid_or_none})), 'author': entity_payload['author']['displayName'], 'author_thumbnail': traverse_obj(entity_payload, ('author', 'avatarThumbnailUrl', {url_or_none})),