alvarobartt / investpy

Financial Data Extraction from Investing.com with Python
https://investpy.readthedocs.io/
MIT License
1.59k stars 374 forks source link

Error getting index from Brazil #507

Open addodelgrossi opened 2 years ago

addodelgrossi commented 2 years ago

Trying to get an index of Brazil I'm encountering the error below, is there any particular

>>> investpy.get_index_information(country='brazil', index='Brazil Index')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/addo/envs/marketscreener-env/lib/python3.8/site-packages/investpy/indices.py", line 764, in get_index_information
    raise RuntimeError("ERR#0004: data retrieval error while scraping.")
RuntimeError: ERR#0004: data retrieval error while scraping.