Modify toot processing for loop

This commit is contained in:
jeancf 2023-07-16 11:37:32 +02:00
parent 3fab787738
commit 9b9c7702f1

View File

@ -960,7 +960,7 @@ def main(argv):
tweets = []
out_date_cnt = 0
in_db_cnt = 0
for status in timeline:
for reply_to, status in timeline:
# Extract tweet ID and status ID
tweet_id = status.find('a', class_='tweet-link').get('href').strip('#m')
status_id = tweet_id.split('/')[3]