alvarobartt / investpy

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

🐛 Fix bugs when retrieving information from indices and commodities #454

Closed alvarobartt closed 2 years ago

alvarobartt commented 2 years ago

This PR solves some bugs found during the last couple of weeks regarding both functions investpy.get_commodity_information and investpy.get_index_information, as the HTML in Investing.com changed so the parsing was failing and so on, the CI tests too.

This issue currently just affects both commodities and indices as mentioned above, but at some point, it may affect also other financial products as Investing.com may change the HTML for the rest of them :weary: