I decided to write a bot for work which will send me my daily schedule for the day. I'm still green in this case and I have a problem: when I connect a page with a schedule, the parser gives me a page without the table with the schedule itself, since it has not yet been generated.
Is there any way to wait for the generation of this table? For more info write in the comments, I will throw off everything you need.
Here is a piece of code:
import requests class Aquasoft(object): def schedule_parse(self): request_url = "http://aquasoft.dvfx.ru/" session = requests.Session() params = { "login": "login", # Изменено "password": "password" } auth_req = session.post(request_url, params) request_url = "http://aquasoft.dvfx.ru/views/customer_record.php" schedule_req = session.post(request_url) with open("test.html", "w", encoding="utf-8") as f: print(schedule_req.text, file=f) if __name__ == "__main__": test = Aquasoft() test.schedule_parse()