made info dict more consistent between video and comment objects

This commit is contained in:
Tristan Lee
2022-02-28 09:00:41 -06:00
parent 2617077654
commit 18b89f19ec

View File

@@ -165,6 +165,7 @@ class OdyseeComment:
self.info = {
'text' : full_comment_info['comment'],
'created' : full_comment_info['timestamp'],
'claim_id' : full_comment_info.get('comment_id'),
'video_claim_id' : full_comment_info['claim_id'],
'channel_id' : full_comment_info['channel_id'],
'channel_name' : full_comment_info['channel_name'],