This project is a Selenium-based scraper that collects data from Solscan and saves it to a Google Sheet.
- Python 3.11+
- Poetry package manager
First, clone the repository to your local machine:
git clone https://github.com/alexmudrak/solscan-parser.git
cd solscan-parser
Install the dependencies using Poetry:
poetry install
Before running the application, you need to enable the Google Sheets API and download the credentials.json
file:
-
Enable the Google Sheets API by visiting: Enable Google Sheets API
-
Download the
credentials.json
file from: Google API Credentials
Place the credentials.json
file in the root directory of the project.
To run the application, use the following command:
poetry run python src/main.py
The application will navigate to the Solscan website, extract the required data, and then authenticate with Google to access and update the specified Google Sheet with the transaction data.