'Import Tradingview data to google sheets

I've tried to import RSI from trading view to google sheet but I can't. The formula I used :

=IMPORTXML("https://www.tradingview.com/symbols/NASDAQ-AAPL/technicals/","//div[@id='technicals-root']/td[@class='cell-2-juHm8n']") 

Please help!



Solution 1:[1]

by disabling JavaScript there is nothing left to be scrapped:

enter image description here

Solution 2:[2]

I found it much simpler using TradingView.To/googlesheet to import Tradingview data to Google spreadsheet. You just need to enable the permission to read and write in the sheet.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 player0
Solution 2 Hsat