From 9b9c7702f1f81ef1aa49d9aefdc9b96bfd1de2da Mon Sep 17 00:00:00 2001 From: jeancf Date: Sun, 16 Jul 2023 11:37:32 +0200 Subject: [PATCH] Modify toot processing for loop --- twoot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twoot.py b/twoot.py index 2807bde..5769822 100755 --- a/twoot.py +++ b/twoot.py @@ -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]