Skip to content

Commit

Permalink
Store tweet created_at timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
andylolz committed Jun 8, 2024
1 parent d4ec934 commit 589e435
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x_notes/tweets.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ async def fetch_tweets() -> None:
note_update["lang"] = tweet.lang
note_update["user"] = tweet.user.username
note_update["tweet"] = tweet.rawContent
note_update["tweet_created_at"] = tweet.date.isoformat()
else:
note_update["deleted"] = 1
for update_note_id in tweets_with_multi_notes.get(note["tweet_id"], [note_id]):
Expand Down

0 comments on commit 589e435

Please sign in to comment.