Inspiration

As a competitive tennis player, I play a lot of tennis tournaments, so I'm frequently checking the USTA and Universal Tennis websites for tournament listings. Sometimes I forget, and I miss the registration deadline for a tournament that I want to play. I decided to build a web-scraping program that automatically compiles tournament information from these two websites and emails it to me every week.

What it does

This java program automatically logs into the USTA and Universal Tennis websites, searches for tennis tournament that meet certain criteria, scrapes the tournament information off the websites, and sends an email with all of this information. I used Windows Task Scheduler to schedule this program to run once a week.

How we built it

This program was built in Java. It uses Selenium for automating web browsers and xPath expressions to access specific HTML elements on the webpage. It also uses Windows Task Scheduler.

Challenges we ran into

I ran into a problem scraping a webpage but was able to resolve it. I underestimated the amount of work required so I ended up staying up late to finish coding.

Accomplishments that we're proud of

I'm proud of building a useful program that automates a task that I perform frequently that will save me time and effort. I'm also proud of building this program under a tight schedule.

What we learned

I learned to allow extra time to resolve issues that will arise.

What's next for tournamentScraper

I'd like to build a similar program to compile a list of upcoming Hackathons on a regular basis.

Built With

Share this project:

Updates