Closed ajskateboarder closed 2 years ago
Unfortunately, this doesn't appear to be working for me.
Replies can be identified by checking if there is a dot in the comment ID. So, you can just add a 'reply': '.' in comment['commentId']
field to the resulting dict.
Thanks for looking over this PR! I have made the changes requested, although it's a pretty minor change you could add yourself :laughing:
Could you please tell me what the purpose is of the other changes?
The purpose is to simply to check if a comment is replying to another comment. This can be useful for sentiment analysis since you probably don't want comments unrelated to a topic video.
I didn't really know you could just search for a period in a comment ID to check if it's a reply.
In that case, please remove them so I can merge this PR.
I already have. Reply checking now uses 'reply': '.' in comment['commentId']
in every comment dict yielded.
Whoops, I forgot about those. That was just during development :)
Thanks!
This PR will allow users to distinguish comments from replies. Any comment yielded from
YoutubeCommentDownloader
will havereply: bool
This would make data processing far easier!