'Python - create stateful connection with website and get data after X seconds
I have a website that once you entered, it's starting a timer of 5 seconds and randomly enters a number to the screen. I want to open the URL with python and get the number after 5 seconds. It's not possible with requests because python ends the connection as soon as it starts. Any ideas?
Solution 1:[1]
If you know how the site functions, you can either use selenium or build a web scraper using Beautifulsoup https://www.geeksforgeeks.org/implementing-web-scraping-python-beautiful-soup/
And see this answer here
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Linkx_lair |
