Skip to content

Python-based scraper for market cap, supply, exchange price, and exchange volume data from coinmarketcap.com

License

Notifications You must be signed in to change notification settings

gogogoutham/coinmarketcap-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coinmarketcap-scraper

Python-based scraper for market cap, supply, exchange price, and exchange volume data from coinmarketcap.com

Installation

a) Make sure required python packages are installed

pip install cssselect lxml psycopg2 requests

b) Create tables in target PostgreSQL DB (see sql/)

c) Create .pgpass file in top-level of this directory containing connection info to the DB from previous step. Use the following format (9.1):

http://www.postgresql.org/docs/9.1/static/libpq-pgpass.html

d) Create "data" folder within the application folder, or change the _saveToFile method in memoizer.py to point to a different data directory.

Usage

Simply run "python scrape.py".

About

Python-based scraper for market cap, supply, exchange price, and exchange volume data from coinmarketcap.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages