jayaganeshkumar / CoinMarketCap-Scrapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CoinMarketCap-Scrapper

This is a web scrapping code which retrieves the data of a particular cypto currency.

Technologies needed:

Python 3.7
Chrome Driver

Required Libraries

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.

Execution

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:

  1. Symbol
  2. Name
  3. WatchlistCount
  4. Website URL
  5. Circulating Supply %
  6. Price
  7. Volume / Market Cap
  8. Market Dominance
  9. Rank
  10. Market Cap
  11. All Time High - DATE
  12. All Time High - PRICE
  13. All Time Low - DATE
  14. All Time Low - PRICE
  15. What is ?
  16. Who are the founders?
  17. What makes it unique?

Thank you

About


Languages

Language:Python 100.0%