mirror of
https://github.com/bellingcat/polyphemus.git
synced 2026-06-07 19:08:33 +03:00
changed type of Comment.created from int (timestamp) to datetime.datetime
This commit is contained in:
@@ -238,7 +238,7 @@ def process_raw_comment_info(raw_comment_info: dict) -> Comment:
|
||||
|
||||
return Comment(
|
||||
text = raw_comment_info['comment'],
|
||||
created = raw_comment_info['timestamp'],
|
||||
created = datetime.fromtimestamp(int(raw_comment_info['timestamp'])),
|
||||
claim_id = raw_comment_info.get('comment_id'),
|
||||
video_claim_id = raw_comment_info['claim_id'],
|
||||
channel_id = raw_comment_info['channel_id'],
|
||||
|
||||
Reference in New Issue
Block a user