Scrapping using get_cryptos_overview is currently failing me, likely due to some change in Investing.com's page at https://www.investing.com/crypto/currencies. The error is at follows:
RuntimeError: ERR#0092: no data found while retrieving the overview from Investing.com
Using the documentation, I replicated the error. It seems that req = requests.get(url, headers=header)_ is returning a page that contains everything but the table that is being asked for.
This is a problem with the following line that attempts to extract the information. It returns an empty object:
table = root.xpath(".//table[contains(@class, 'allCryptoTlb')]/tbody/tr")
Strangely enough, the filtering with one less is successful, but not readable:
table = root.xpath(".//table[contains(@class, 'allCryptoTlb')]/tbody")
Has this issue been resolved somehow? Is there something I'm missing?
I have already updated investpy and been trying for a few hours. All other functions in the module are operational.
Good afternoon, everyone,
Scrapping using get_cryptos_overview is currently failing me, likely due to some change in Investing.com's page at https://www.investing.com/crypto/currencies. The error is at follows: RuntimeError: ERR#0092: no data found while retrieving the overview from Investing.com
Using the documentation, I replicated the error. It seems that req = requests.get(url, headers=header)_ is returning a page that contains everything but the table that is being asked for.![image](https://user-images.githubusercontent.com/104793441/166316454-1ce1adc3-e21d-439f-bfb7-cddc009f9f3f.png)
This is a problem with the following line that attempts to extract the information. It returns an empty object: table = root.xpath(".//table[contains(@class, 'allCryptoTlb')]/tbody/tr")
Strangely enough, the filtering with one less is successful, but not readable: table = root.xpath(".//table[contains(@class, 'allCryptoTlb')]/tbody")
Has this issue been resolved somehow? Is there something I'm missing? I have already updated investpy and been trying for a few hours. All other functions in the module are operational.