The general path of values would like to get are:
#squad1 > tbody > tr > td:nth-child(1) > div.nomobil
And
#squad1 > tbody > tr > td:nth-child(1) > i > div.nomobil
So as they are in the list, I would like to search them all together, the string I could use would be this:
//table[@id="squad1"]/tbody/tr/td[1]//div[@class="nomobil"]/text()
The //
makes me able to skip the i
that's different, how can I jump in jquery? I honestly didn't find anything related to this.
I'll give a weird example just to make understand better, something I tried was the following:
#squad1 > tbody > tr > td:nth-child(1) >> div.nomobil
I tried putting >>
to jump, but logically it didn't work.
On this site (https://www.soccer-rating.com/Ferencvaros-Budapest/1950/), i can get the name of athlets:
And to collect them, it is noticed that some have this i
element and others do not.