Element Click returning Parent doesnt contain selected element

I am currently trying to scrape the strategy data from tradingview but im unable to get the scraper to click through the different elements. I have tried the link selector with no luck and the element selector with no luck also. When i created the text selector for an individual page i am able to get the data but as i try to build the site map with the element selector the child text selector returns parent doesn't contain select element error. Is there a way to build a site map manually with URLs? i have tried to use sitemap.xlm links as the parent with the text selector as a child but this produced no data. Any help would be really appreciated

https://www.tradingview.com/chart/9d4ACFM9/

Sitemap:
sorry no sitemap

It's saying "We can't open this chart layout for you".

Sorry the url was linked to my account Live stock, index, futures, Forex and Bitcoin charts on TradingView should work.

i am trying to build a site map that goes throught the watch list on the left hand side and scrapes the data from the strategy tester at the bottom.

as mentioned i can get it to scrape the data on one chart but im struggling to get it to move through the watchlist.

thanks in advance for any help you can give.

Hi @kborn

Are you targeting the "watchlist"? I see only one in the right side.

I would just target each of the rows with an "element" selector and set child "text" selectors for each of the cells.

{"_id":"tradingview-com","startUrl":["https://www.tradingview.com/chart/"],"selectors":[{"id":"wrapper","type":"SelectorElement","parentSelectors":["_root"],"selector":"div[class*=\"listContainer\"] div[class*=\"wrap\"]:has(span[class*=\"symbolNameText\"])","multiple":true,"delay":0},{"id":"symbol","type":"SelectorText","parentSelectors":["wrapper"],"selector":"span[class*=\"symbolNameText\"]","multiple":false,"regex":"","delay":0},{"id":"last","type":"SelectorText","parentSelectors":["wrapper"],"selector":"span[class*=\"inner\"]:nth(1)","multiple":false,"regex":"","delay":0},{"id":"chg","type":"SelectorText","parentSelectors":["wrapper"],"selector":"span[class*=\"inner\"]:nth(2)","multiple":false,"regex":"","delay":0},{"id":"chg %","type":"SelectorText","parentSelectors":["wrapper"],"selector":"span[class*=\"inner\"]:nth(3)","multiple":false,"regex":"","delay":0}]}

Hope it helps! :slight_smile: