This Java project is designed to scrape lottery results from a DLB Lottery Results website and store them in a MySQL database. It provides a convenient way to automate the collection and storage of lottery results for further analysis or reporting.
Getting Started
- Clone this repository.
- Open the project in your preferred Java development environment
Usage
- Create a database.
- Set your database connection details in the DBConnect class (dbIP, dbName, username, password).
- Run the Main class to scrape lottery results and store them in the database.
Web Scraping The project uses the Jsoup library to scrape lottery results from the website. Extracted data includes the lottery name, draw date, draw number, and lottery results.

