Hello guys!
A friend of mine has to do a lot of typing for school in her IT classes. That means, she has to learn how to type fast on the keyboard. As lazy as she is, she asked me if i have any idea how she's able to type her texts on https://at4.typewriter.at/index.php?r=site/index without actually doing something. I thought to myself "hey thats a cool idea, I'll look into it".
This is how the website looks like
Thats the website where she has to type. There is a <span id="actualLetter" tag with the current char that has to be typed and another <span id="remainingText" with the remaining text. I've been able scrape the fist "actualLetter" with BeautifulSoup and open the website with webbrowser. The problem is, that on first start the span "remainingText" does not have 100% of the remaining Text. After the first letter has been typen, the span updates to the "full" text and I could scrape it. After I'd scrape it, I'd just let it be written by the python program with pynput.keyboard.
The problem I am facing is that i have no Idea how to scrape data from a website that already has been opened in a webrowser / that already has been edited / that already has been interacted with. I'm happy about any advice or solutions!
Thanks!