Can someone help me extract the data tables for eps and revenue from tradingview? I tried to use table type but unable to select the selector.
Url: NVIDIA Earnings and Revenue – NASDAQ:NVDA – TradingView
Can someone help me extract the data tables for eps and revenue from tradingview? I tried to use table type but unable to select the selector.
Url: NVIDIA Earnings and Revenue – NASDAQ:NVDA – TradingView
Hi,
The 'Table' selector is designed for basic HTML tables; however, if you inspect the HTML for the tables on tradingview, you will notice that those are div elements arranged in a specific order, hence the Table selector will not work here.
To get a structured data output, the selectors will have to be created manually one-by-one. Here is a reference sitemap to get you started:
{"_id":"tradingview","startUrl":["https://www.tradingview.com/symbols/NASDAQ-NVDA/financials-earnings/?earnings-period=FQ&revenues-period=FQ"],"selectors":[{"elementLimit":0,"id":"EPS-Reported","multiple":true,"parentSelectors":["_root"],"scroll":false,"selector":"[class*=\"heading-\"]:contains('EPS')++ div [data-name=\"Reported\"]","type":"SelectorElement"},{"id":"Q2-23","multiple":false,"parentSelectors":["EPS-Reported"],"regex":"","selector":"[class*=\"container-\"]:nth-of-type(15)","type":"SelectorText"},{"id":"Q3-23","multiple":false,"parentSelectors":["EPS-Reported"],"regex":"","selector":"[class*=\"container-\"]:nth-of-type(16)","type":"SelectorText"}]}
Thank you for your help!