What's wrong in this scrap

Hello, I get (think) all the match but the results do not go well. This is my sitemap:

{"_id":"prueba","startUrl":["https://www.mismarcadores.com/futbol/espana/laliga/resultados/"],"selectors":[{"id":"partidos","type":"SelectorElementClick","parentSelectors":["_root"],"selector":"div.container__fsbody","multiple":false,"delay":0,"clickElementSelector":"td a","clickType":"clickMore","discardInitialElements":false,"clickElementUniquenessType":"uniqueText"},{"id":"fecha","type":"SelectorText","parentSelectors":["partidos"],"selector":"td.cell_ad","multiple":true,"regex":"","delay":0},{"id":"local","type":"SelectorText","parentSelectors":["partidos"],"selector":"span.padr","multiple":true,"regex":"","delay":0},{"id":"visitante","type":"SelectorText","parentSelectors":["partidos"],"selector":"span.padl","multiple":true,"regex":"","delay":0},{"id":"resultado","type":"SelectorText","parentSelectors":["partidos"],"selector":"td.cell_sa","multiple":true,"regex":"","delay":0}]}

I think I get all the results because I see loading when I scrap. So, I think all the pages are loaded but the result I got are disorganized.

Best regards.

You need to select the element that you are after with the 'Element Click' selector.

There should be a delay to the 'Click' selector, otherwise it will crash as it will try to get data asap, before the next set of data has rendered, causing it to stop.

If you select the element that you are after, with the 'Element selector' your text selectors do not need to be 'Multiple'.

Here is a working version of the sitemap:

{"_id":"prueba","startUrl":["https://www.mismarcadores.com/futbol/espana/laliga/resultados/"],"selectors":[{"id":"partidos","type":"SelectorElementClick","parentSelectors":["_root"],"selector":"tr.stage-finished:nth-of-type(n+2)","multiple":true,"delay":"2000","clickElementSelector":"td a","clickType":"clickMore","discardInitialElements":false,"clickElementUniquenessType":"uniqueCSSSelector"},{"id":"fecha","type":"SelectorText","parentSelectors":["partidos"],"selector":"td.cell_ad","multiple":false,"regex":"","delay":0},{"id":"local","type":"SelectorText","parentSelectors":["partidos"],"selector":"span.padr","multiple":false,"regex":"","delay":0},{"id":"visitante","type":"SelectorText","parentSelectors":["partidos"],"selector":"span.padl","multiple":false,"regex":"","delay":0},{"id":"resultado","type":"SelectorText","parentSelectors":["partidos"],"selector":"td.cell_sa","multiple":false,"regex":"","delay":0}]}

Hello webber, thanks you very much for your help. Now it's correct. My last question is about "Jornada 32", "Jornada 31" and so on or in Premier League "Friday 19 April", "Saturday 20 April", and so on.

I don't know how do I get the "Jornada" of the match. I think I have to construct a new node:

root --> partidos --> Jornada --> local, visitante and result.

But I don't know what type must be "Jornada". I need "Jornada x" because I need the results by Jornada or date in Premier League.

I do not know if I explain myself very well. This is one of my attempts:

{"_id":"la_prueba2","startUrl":["https://www.mismarcadores.com/futbol/espana/laliga/resultados/"],"selectors":[{"id":"partidos","type":"SelectorElementClick","parentSelectors":["_root"],"selector":".soccer tbody, tr.stage-finished:nth-of-type(n+2)","multiple":true,"delay":"2000","clickElementSelector":"td a","clickType":"clickMore","discardInitialElements":"do-not-discard","clickElementUniquenessType":"uniqueCSSSelector"},{"id":"fecha","type":"SelectorText","parentSelectors":["jornada"],"selector":"td.cell_ad","multiple":false,"regex":"","delay":0},{"id":"local","type":"SelectorText","parentSelectors":["jornada"],"selector":"span.padr","multiple":false,"regex":"","delay":0},{"id":"visitante","type":"SelectorText","parentSelectors":["jornada"],"selector":"span.padl","multiple":false,"regex":"","delay":0},{"id":"resultado","type":"SelectorText","parentSelectors":["jornada"],"selector":"td.cell_sa","multiple":false,"regex":"","delay":0},{"id":"jornada","type":"SelectorElement","parentSelectors":["partidos"],"selector":".event_round td","multiple":false,"delay":0},{"id":"la_jornada","type":"SelectorText","parentSelectors":["partidos"],"selector":".event_round td","multiple":true,"regex":"","delay":0}]}

Best regards.