Tab link scrape help

Could anyone please help me understand why some tab data is ignored. The scraper ignores data in the "details" tab and scrapes date in the "Performance" Tab

Url: FundsData Online - South African Unit Trusts

Sitemap:
{"_id":"investr_domestic","startUrl":["http://www.fundsdata.co.za/fdov2/MancoIndexLanding.aspx"],"selectors":[{"id":"Company","parentSelectors":["_root"],"type":"SelectorLink","selector":".fillcontainer .TableData td > a, strong a","multiple":true},{"id":"Fund Name","parentSelectors":["Company"],"type":"SelectorLink","selector":".TableRow_border a","multiple":true},{"id":"Fund Sector","parentSelectors":["Fund Name"],"type":"SelectorText","selector":".ShareCode span","multiple":false,"regex":""},{"id":"Reg 28","parentSelectors":["Fund Name"],"type":"SelectorText","selector":"span.Reg28","multiple":false,"regex":""},{"id":"Formation Date","parentSelectors":["Fund Name"],"type":"SelectorText","selector":"td.TableRowValue_border[nowrap]","multiple":false,"regex":""},{"id":"Fund Size","parentSelectors":["Fund Name"],"type":"SelectorText","selector":"tr:contains('Fund Size (ZAR)') td[align]","multiple":false,"regex":""},{"id":"Latest Price","parentSelectors":["Fund Name"],"type":"SelectorText","selector":"span.PriceLarge","multiple":false,"regex":""},{"id":"Price Change","parentSelectors":["Fund Name"],"type":"SelectorText","selector":"span#FundPrice_LblMove","multiple":false,"regex":""},{"id":"% Change","parentSelectors":["Fund Name"],"type":"SelectorText","selector":"span#FundPrice_LblPercMove","multiple":false,"regex":""},{"id":"SA Equities","parentSelectors":["Fund Name"],"type":"SelectorText","selector":".col1list3 tr:nth-of-type(2) td[align]","multiple":false,"regex":""},{"id":"Foreign Equities","parentSelectors":["Fund Name"],"type":"SelectorText","selector":".col1list3 tr:nth-of-type(3) td[align]","multiple":false,"regex":""},{"id":"SA Bonds","parentSelectors":["Fund Name"],"type":"SelectorText","selector":".col1list3 tr:nth-of-type(4) td[align]","multiple":false,"regex":""},{"id":"Foreign Bonds","parentSelectors":["Fund Name"],"type":"SelectorText","selector":".col1list3 tr:nth-of-type(5) td[align]","multiple":false,"regex":""},{"id":"SA Property","parentSelectors":["Fund Name"],"type":"SelectorText","selector":".col1list3 tr:nth-of-type(6) td[align]","multiple":false,"regex":""},{"id":"Foreign Property","parentSelectors":["Fund Name"],"type":"SelectorText","selector":".col1list3 tr:nth-of-type(7) td[align]","multiple":false,"regex":""},{"id":"SA Cash","parentSelectors":["Fund Name"],"type":"SelectorText","selector":".col1list3 tr:nth-of-type(8) td[align]","multiple":false,"regex":""},{"id":"Foreign Cash","parentSelectors":["Fund Name"],"type":"SelectorText","selector":".col1list3 tr:nth-of-type(9) td[align]","multiple":false,"regex":""},{"id":"Details Tab","parentSelectors":["Fund Name"],"type":"SelectorLink","selector":"div:nth-of-type(2) a.menuitem","multiple":false},{"id":"Fund Code","parentSelectors":["Details Tab"],"type":"SelectorText","selector":"tr:contains('JSE Code (A)') [align] p","multiple":false,"regex":""},{"id":"Currency","parentSelectors":["Details Tab"],"type":"SelectorText","selector":"tr:contains('Reporting Currency') [align] p","multiple":false,"regex":""},{"id":"Performance Tab","parentSelectors":["Fund Name"],"type":"SelectorLink","selector":"div:nth-of-type(7) a.menuitem","multiple":false},{"id":"1YR Return","parentSelectors":["Performance Tab"],"type":"SelectorText","selector":"td#PerformanceOverview_ls_returnID_1Y","multiple":false,"regex":""},{"id":"Login","parentSelectors":["_root"],"type":"SelectorPopupLink","selector":"td[onclick='Login();']","multiple":false}]}

@seabass Hi, most of the selectors seem to be based on the 'nth-of-type' selector which corresponds to the selector order HTML and can cause issues if the page structure is slightly different.

In order to fix this, you would have to remake these selectors using jQuery selector - ':contains()'.

Learn more:

Also, it appears that these details can be accessed by using an 'Element click' selector instead.