This is a web scrapping code which retrieves the data of a particular cypto currency.
Python 3.7
Chrome Driver
Selenium
CSV
Scrapy
Datetime
Time
BeautifulSoup4
Requests
To install these libraries, download the repo, extract it and open the command prompt or terminal in the folder.
Now run the command: pip install -r requirements.txt
to install the required libraries.
Now download the chrome driver for Selenium from https://chromedriver.chromium.org/downloads.
Check the version of chrome installed and then download the respective driver.
Now open main.py
in text editor and replace the path for chrome driver in line 8 with your chrome driver path.
Run the code.
You can find one file named coins.csv
in the folder with names of 50 crypto currencies from website, https://coinmarketcap.com/coins/.
Now enter the symbol of any crypto currency, after 5 seconds you can find a file with name coin_data_<datetime>.csv
created.
The details are in the order:
- Symbol
- Name
- WatchlistCount
- Website URL
- Circulating Supply %
- Price
- Volume / Market Cap
- Market Dominance
- Rank
- Market Cap
- All Time High - DATE
- All Time High - PRICE
- All Time Low - DATE
- All Time Low - PRICE
- What is ?
- Who are the founders?
- What makes it unique?