Need help in pagination

I tried extracting name email and guest room of all hotels given here. But the extension could give results of only page 1-9 and left 10-21 as they was not displayed initially. Please help

Url: http://www.meetings-conventions.com/Meeting-Facilities/Istanbul/Hotels?

Sitemap:
{"_id":"meetconv","startUrl":["http://www.meetings-conventions.com/Meeting-Facilities/Istanbul/Hotels"],"selectors":[{"id":"Hotel selector","type":"SelectorLink","parentSelectors":["_root"],"selector":"a.namelink","multiple":true,"delay":0},{"id":"Name","type":"SelectorText","parentSelectors":["Hotel selector"],"selector":"h1","multiple":false,"regex":"","delay":0},{"id":"Email","type":"SelectorText","parentSelectors":["Hotel selector"],"selector":"div.inner-row.last a","multiple":false,"regex":"","delay":0},{"id":"Rooms","type":"SelectorText","parentSelectors":["Hotel selector"],"selector":"div.inner-row:nth-of-type(2) div.right","multiple":false,"regex":"","delay":0},{"id":"Page","type":"SelectorLink","parentSelectors":["_root"],"selector":"div.pagination-pages li:nth-of-type(n+2) a","multiple":true,"delay":0},{"id":"HS1","type":"SelectorLink","parentSelectors":["Page"],"selector":"a.namelink","multiple":true,"delay":0},{"id":"names","type":"SelectorText","parentSelectors":["HS1"],"selector":"h1","multiple":false,"regex":"","delay":0},{"id":"GUR","type":"SelectorText","parentSelectors":["HS1"],"selector":"div.inner-row:nth-of-type(2) div.right","multiple":false,"regex":"","delay":0},{"id":"email","type":"SelectorText","parentSelectors":["HS1"],"selector":"div.inner-row.last a","multiple":false,"regex":"","delay":0}]}

Having issues with the page but you need to make the pagination a child onto it's self. and have it above the hotel selector (scrapes from the bottom up)

Try this

{"_id":"a-delete-hotel","startUrl":["http://www.meetings-conventions.com/Meeting-Facilities/Istanbul/Hotels"],"selectors":[{"id":"Page","type":"SelectorLink","parentSelectors":["_root","Page"],"selector":"div.right a.button","multiple":false,"delay":0},{"id":"Name","type":"SelectorText","parentSelectors":["Hotel selector"],"selector":"h1","multiple":false,"regex":"","delay":0},{"id":"Hotel selector","type":"SelectorLink","parentSelectors":["_root","Page"],"selector":"a.namelink","multiple":true,"delay":0},{"id":"Email","type":"SelectorText","parentSelectors":["Hotel selector"],"selector":"div.inner-row.last a","multiple":false,"regex":"","delay":0},{"id":"Rooms","type":"SelectorText","parentSelectors":["Hotel selector"],"selector":"div.inner-row:nth-of-type(2) div.right","multiple":false,"regex":"","delay":0}]}

1 Like

Ok - Revised to fix an issue grabbing the e-mail. Seems to be working

{"_id":"a-delete-hotel","startUrl":["http://www.meetings-conventions.com/Meeting-Facilities/Istanbul/Hotels"],"selectors":[{"id":"Page","type":"SelectorLink","parentSelectors":["_root","Page"],"selector":"div.right a.button","multiple":false,"delay":0},{"id":"Name","type":"SelectorText","parentSelectors":["Hotel selector"],"selector":"h1","multiple":false,"regex":"","delay":0},{"id":"Hotel selector","type":"SelectorLink","parentSelectors":["_root","Page"],"selector":"a.namelink","multiple":true,"delay":0},{"id":"Email","type":"SelectorText","parentSelectors":["Hotel selector"],"selector":"div.inner-row.last a","multiple":false,"regex":"","delay":0},{"id":"Rooms","type":"SelectorText","parentSelectors":["Hotel selector"],"selector":"div.inner-row:nth-of-type(2) div.right","multiple":false,"regex":"","delay":0}]}