Scrapes labels from etherscan website and stores into JSON/CSV.
- On the command-line, run the command
pip install -r requirements.txtwhile located at folder with code. - (Required) Setup selenium by downloading relevant drivers and adding to path
- (Optional) Add ETHERSCAN_USER and ETHERSCAN_PASS to
sample.config.jsonand rename toconfig.json - Run the script with the command
python main.py. - Login to your etherscan account (Prevents popup/missing data)
- Press enter in CLI once logged in
- Proceed to enter either
single(Retrieve specific label) orall(Retrieve ALL labels) - If
single: Follow up with the specific label e.g.exchange,bridge.... - If
all: Simply let it run (Take about ~1h+ to retrieve all, note that it occassionally crashes as well) - Individual JSON and CSV data is dumped into
datasubfolder. - Consolidated JSON label info is dumped into
combinedsubfolder.