A simple scraper for exchanges' information on CoinMarketCap.com. All data can be saved into a remote MongoDB. For example,
The installation shell script can be found in this repo.
- Clone this repo
git clone https://github.com/0xboz/coinmarketcap_scraper.git
cd coinmarketcap_scraper
- Create virtual environment (optional but recommended)
python3 -m venv venv
- Activate virtual environment (optional but recommended)
source venv/source/activate
- Install required packages
pip install -r requirements.txt
- Create a config.ini in the root directory
username = USERNAME
password = PASSWORD
ip = SERVER_IP
database_name = crypto
collection_name = exchanges
- Run
python exchanges.py
- Update the database
Re-run the program whenever you would like to update the database.