This project scrapes clients' information from the WHMCS portal and inputs them into a CSV file and an SQLite database.
First, clone this repository (git clone https://github.com/DigitalCarleton/WHMCS-Scraper.git
).
You will need the following to run this program:
- A working distribution of Python (3.11 recommended)
- An internet connection
- All packages inside of
requirements.txt
(Install Python, then runpython -m pip install -r requirements.txt
) - (optional) Install SQLite to work with the
clients.db
file.
After installing all of the requirements, you can run python main.py
to begin scraping!
- If you want to skip entering your username and password, make a document called
password.txt
. This file should be two (2) lines long: line 1 is your username, and line 2 is your password. - I have included many utility functions in the
/helpers/
folder, but I have not implemented them in the larger web scraper (specificallywhmcs_overdue.py
). Please tinker with them!