-
-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Description
code
from cryptocmd import CmcScraper
scraper = CmcScraper(crypto, start_date, end_date)
scraper.get_data()
result
Error fetching coin id data for coin code BTC
Error message: Expecting value: line 1 column 1 (char 0)
Error fetching price data for BTC for interval '21-12-2021' and '29-12-2021'
Error message (download_data) : Expecting value: line 1 column 1 (char 0)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
[<ipython-input-8-a93c11da712a>](https://localhost:8080/#) in <cell line: 0>()
----> 1 scraper.get_data()
1 frames
[/usr/local/lib/python3.11/dist-packages/cryptocmd/core.py](https://localhost:8080/#) in _download_data(self, **kwargs)
94 )
95
---> 96 for _row in coin_data["data"]["quotes"]:
97
98 _row_quote = list(_row["quote"].values())[0]
TypeError: 'NoneType' object is not subscriptable
best regards
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels