Okay, here’s my experience with “tiriac open scores”, told in a casual, blog-style format:
So, I was messing around, trying to get my hands on some data from the Tiriac Open. You know, just casually browsing, seeing what I could find. I wanted to play with the scores, see if I could do… well, something with them. Nothing fancy, just a little personal project.
First, I started poking around the official websites. Figured that would be the most, you know, official place to start. I spent a good chunk of time clicking through menus, looking for some kind of data download, an API, anything! But, honestly, it was kind of a maze. Lots of pretty pictures, schedules, player profiles… but no easy way to grab the raw scores.
Digging Deeper
Feeling a little stuck, I broadened my search. I started Googling all sorts of combinations of “Tiriac Open”, “scores”, “data”, “download”, “API”… you name it, I probably searched for it. I found some news articles mentioning results, and some third-party sites that showed the scores, but still nothing I could easily grab and work with.
The “Aha!” Moment (Kind Of)
After a little while longer i found a usefull page that showed scores. I was hyped! I spent a good 10 minutes looking at the format of the score on the site and figured I could do something with this.
I opened the Developer Tools and look at the html code that show the scores. I saw a class name, “so-and-so”, and started to create a scraper to pull that data.
Getting My Hands Dirty (With Code, Sort Of)
I fired up my trusty text editor and started cobbling together some code. I have my basic HTML structure ready, I use JavaScript and its `fetch()` command and find a way to get the target HTML.
Now that I have the targeted HTML, I was trying to create a simple loop, combined with some if statements, so that I can extract scores from the correct “so-and-so” class.
At the first run, I was only getting ‘undefined’. Feeling so frustrated and I go back to my code, look here and there. I found that I mispelled class name! What a silly mistake. Fixed the typo, and tried again.
Finally. Some numbers appeared on my console! It was a small win, but felt great!
Wrapping Up (For Now)
So, that’s where I’m at. I managed to extract all the scores I wanted, no more frustration and hitting the wall. Now I can finally do something with these scores!