mirror of
https://github.com/instaloader/instaloader.git
synced 2024-09-11 16:22:24 +02:00
Revert accidental change of comment.id to comment.unique_id
This commit is contained in:
parent
43f52198ff
commit
158c1433bb
@ -190,7 +190,7 @@ class Instaloader:
|
||||
|
||||
def update_comments(self, filename: str, post: Post) -> None:
|
||||
def _postcomment_asdict(comment):
|
||||
return {'id': comment.unique_id,
|
||||
return {'id': comment.id,
|
||||
'created_at': int(comment.created_at_utc.replace(tzinfo=timezone.utc).timestamp()),
|
||||
'text': comment.text,
|
||||
'owner': comment.owner._asdict()}
|
||||
|
Loading…
Reference in New Issue
Block a user