Bug fix python code

Job ID: 35520326

Budget: $10 – $30 USD

I have Python code that comments on the comment in the social network truthsocial.com. Works in Python and JSON,with pips like webdriver-manager, selenium and packaging. It performs several tasks: it logs in, waits for the first post, waits for the first comment on the first post, and then comments with an image and text on the first comment. I want some changes because waiting for the first comment makes a bug. Then log out. He repeats this nonstop.
Edit:
1. Wait for a new post or open the first post with less than 3 comments.
2. To comment on some of the first 3 comments that do not have a comment (with a picture and text).
Related categories: PHP JavaScript Python Django Software Architecture