Hello Everyone,
I am new to Python and created a simple web scraper that would scrape the winning pick 3 number from the Florida lottery website (I find web scraping interesting and wanted to try it out on a simple page first). It was working fine until the Florida lottery revamped the website. I would like to scrape the winning pick 3 numbers from the new site link removed however when I look at the HTML source code the numbers are not in the source. Opening the developer's tools under "Sources" I see the document "pick-3" inside the "games/draw-games" folder and in this document are the numbers. How would I access the data in this document so that I can scrape the winning numbers? I've been reading where I can use selenium or json, however no matter what I try I keep running in to errors. I am running python from a raspberry pi on bookworm (version 12).
Any help or guidance would be greatly appreciated.
Keifn
I am new to Python and created a simple web scraper that would scrape the winning pick 3 number from the Florida lottery website (I find web scraping interesting and wanted to try it out on a simple page first). It was working fine until the Florida lottery revamped the website. I would like to scrape the winning pick 3 numbers from the new site link removed however when I look at the HTML source code the numbers are not in the source. Opening the developer's tools under "Sources" I see the document "pick-3" inside the "games/draw-games" folder and in this document are the numbers. How would I access the data in this document so that I can scrape the winning numbers? I've been reading where I can use selenium or json, however no matter what I try I keep running in to errors. I am running python from a raspberry pi on bookworm (version 12).
Any help or guidance would be greatly appreciated.

Keifn
Larz60+ write Feb-16-2025, 03:34 PM:
clickbait link removed
clickbait link removed