Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.

Releases: Sorok-Dva/coinmarketcap-scraper

Release - v1.1.1

09 Sep 15:23
Compare
Choose a tag to compare

This release contains mainly some fix and code improvements

  • Readme file has been updated

Improvements

  • Code style improvements (e.g: remove unecessary semicolon)

Know issue

If you plan to run this script on a WSL2 environment, you'll have probably some troubles like a Failed Error: Could not find expected browser (chrome) locally. Run npm install to download the correct Chromium revision (xxx). error.
To fix this problem you just need to run the script under a windows powershell terminal.

Follow this issue for me information. (need to find it)

Release 1.1.0 - Improvements & update

09 Sep 00:19
Compare
Choose a tag to compare

Breaking changes

This new version is now workable with the new version of the website of CoinMarketCap

  • Node.js has been updated from v11 to v11.7
  • Puppeteer has ben updated from v1.11 to 10.2.0

New feature

  • Retrieve your assets list in image (⚠If you have lot of assets in your wallet, the image preview sent on discord may be unreadable, but no panic, just open the original in your browser and you'll be able to perfectly zoom)

Improvements

  • Using now text selector instead of class that changes at every update of CMC website
  • Using now the native screenshot method of puppeteer

Note for users

To get your cookies I recommend you using the EditThisCookie broswer addon then exports your cookies in the data/cookies file.
To get your u key from Local Storage, on CMC open the developer console then go in Application tab > Local Storage > https://coinmarketcap.com and find the u key, Copy its value in the data/storage file.

  • u key from Local Storage contains some sensitive informations, don't share it.
  • data/cookies & data/storage don't have extension but it's JSON. (but a priori you don't have to worry about it as EditThisCookie and the LocalStorage value are already in JSON formats)

[Outdated] Initial Release - v1.0.0

01 Apr 22:11
ae5841d
Compare
Choose a tag to compare

Features

  • Retrieve CoinMarketCap Balance (text or screenshot of the chart), plannified with a cronjob
  • Funds balance diff (when text method is used)