Pagination problem - Help me

Describe the problem.
Hi!

I tried producing the pagination for this site, but I could not. can anybody help me?

Url: http://prosoccerstats.com/stats/free-stats/overunder-1-5-goals-stats/

Sitemap:
{"_id":"prosoccerstats","startUrl":["http://prosoccerstats.com/stats/free-stats/overunder-1-5-goals-stats/"],"selectors":[{"id":"tabela","type":"SelectorTable","selector":"table#table_1","parentSelectors":["_root","pagination"],"multiple":true,"columns":[{"header":"Country","name":"Country","extract":true},{"header":"Competition","name":"Competition","extract":true},{"header":"Date","name":"Date","extract":true},{"header":"KO","name":"KO","extract":true},{"header":"Home","name":"Home","extract":true},{"header":"Away","name":"Away","extract":true},{"header":"HL 20","name":"HL 20","extract":true},{"header":"HL 10 H","name":"HL 10 H","extract":true},{"header":"HL 6","name":"HL 6","extract":true},{"header":"AL 20","name":"AL 20","extract":true},{"header":"AL 10 A","name":"AL 10 A","extract":true},{"header":"AL 6","name":"AL 6","extract":true},{"header":"AVG","name":"AVG","extract":true},{"header":"H2H No","name":"H2H No","extract":true},{"header":"H2H %","name":"H2H %","extract":true}],"delay":0,"tableDataRowSelector":"tbody tr","tableHeaderRowSelector":"thead tr"},{"id":"pagination","type":"SelectorElementClick","selector":"a#table_1_next","parentSelectors":["_root","pagination"],"multiple":true,"delay":0,"clickElementSelector":"a#table_1_next","clickType":"clickOnce","discardInitialElements":false,"clickElementUniquenessType":"uniqueText"}]}

The pagination its ok, but the scraping is not working!

Hello,

I am afraid that web scaper can't do the job combining table and element clic (for the pagination)

Do you know of any other solution to work?

Change your pagination selector that its parent is only _root and that selector selects body. Change click type to "Click more" and set delay to at least 2000ms. For table selector change its parent selector to be pagination only.

It worked more or less. He did the scraping of two pages, did not do everything.

{"_id":"prosoccerstats","startUrl":["http://prosoccerstats.com/stats/free-stats/overunder-1-5-goals-stats/"],"selectors":[{"id":"tabela","type":"SelectorTable","selector":"table#table_1","parentSelectors":["_root","pagination"],"multiple":true,"columns":[{"header":"Country","name":"Country","extract":true},{"header":"Competition","name":"Competition","extract":true},{"header":"Date","name":"Date","extract":true},{"header":"KO","name":"KO","extract":true},{"header":"Home","name":"Home","extract":true},{"header":"Away","name":"Away","extract":true},{"header":"HL 20","name":"HL 20","extract":true},{"header":"HL 10 H","name":"HL 10 H","extract":true},{"header":"HL 6","name":"HL 6","extract":true},{"header":"AL 20","name":"AL 20","extract":true},{"header":"AL 10 A","name":"AL 10 A","extract":true},{"header":"AL 6","name":"AL 6","extract":true},{"header":"AVG","name":"AVG","extract":true},{"header":"H2H No","name":"H2H No","extract":true},{"header":"H2H %","name":"H2H %","extract":true}],"delay":0,"tableDataRowSelector":"tbody tr","tableHeaderRowSelector":"thead tr"},{"id":"pagination","type":"SelectorElementClick","selector":"a#table_1_next","parentSelectors":["_root"],"multiple":true,"delay":"2000","clickElementSelector":"a#table_1_next","clickType":"clickMore","discardInitialElements":false,"clickElementUniquenessType":"uniqueText"}]}

Anybody can help me? the scraping of two pages, did not do everything.

Hi Marcus,

in fact, your scratch scraps page 1 twice, so if you look at the 50 records in Excel, you'll see that the first 25 lines are duplicated.

So your pagination does not work but alas I can not explain it.
It seems that the CSS selector choosen for the pagination is not the good