Link selector (with url parameter?)

Hi,

I use standard link selector to get some listing site. It works OK.
{"id":"categories","type":"SelectorLink","parentSelectors":["regions"],"selector":"div:nth-of-type(1) .col-xs-12 li a","multiple":true,"delay":0}

https://www.kyero.com/en/sitemap/location/55531 > https://www.kyero.com/en/andalucia-apartments-for-sale-0l55531g1
but I need to get results (listing website) sorted, with this parameter in url: "?sort=created_at_desc" so, it should be:
https://www.kyero.com/en/andalucia-apartments-for-sale-0l55531g1?sort=created_at_desc

Does anyone know hot to get it? How to get results sorted?

Regards,
Radek

Sitemap:
{"_id":"en-kyero-spain-sale","startUrl":["https://www.kyero.com/en/sitemap"],"selectors":[{"id":"link","type":"SelectorLink","parentSelectors":["categories"],"selector":".properties-list a","multiple":true,"delay":0},{"id":"name-and-price","type":"SelectorText","parentSelectors":["link"],"selector":"span.property-header__property-name","multiple":false,"regex":"","delay":0},{"id":"price","type":"SelectorText","parentSelectors":["link"],"selector":".property-header__property-name span","multiple":false,"regex":"","delay":0},{"id":"bedrooms","type":"SelectorText","parentSelectors":["link"],"selector":"li:nth-of-type(1) span.characteristics__ch-number","multiple":false,"regex":"","delay":0},{"id":"bathrooms","type":"SelectorText","parentSelectors":["link"],"selector":"li:nth-of-type(2) span.characteristics__ch-number","multiple":false,"regex":"","delay":0},{"id":"build-size","type":"SelectorText","parentSelectors":["link"],"selector":"li:nth-of-type(3) span.characteristics__ch-number","multiple":false,"regex":"","delay":0},{"id":"description","type":"SelectorText","parentSelectors":["link"],"selector":".property-description div:nth-of-type(1)","multiple":false,"regex":"","delay":0},{"id":"quality","type":"SelectorText","parentSelectors":["link"],"selector":"tr:contains('quality') td.table-value","multiple":false,"regex":"","delay":0},{"id":"location","type":"SelectorText","parentSelectors":["link"],"selector":"tr:contains('location') td.table-value","multiple":false,"regex":"","delay":0},{"id":"rooms","type":"SelectorText","parentSelectors":["link"],"selector":"tr:contains('rooms') td.table-value","multiple":false,"regex":"","delay":0},{"id":"kitchen","type":"SelectorText","parentSelectors":["link"],"selector":"tr:contains('kitchen') td.table-value","multiple":false,"regex":"","delay":0},{"id":"bathroom","type":"SelectorText","parentSelectors":["link"],"selector":"tr:contains('bathroom') td.table-value","multiple":false,"regex":"","delay":0},{"id":"heating","type":"SelectorText","parentSelectors":["link"],"selector":"tr:contains('heating') td.table-value","multiple":false,"regex":"","delay":0},{"id":"views","type":"SelectorText","parentSelectors":["link"],"selector":"tr:contains('views') td.table-value","multiple":false,"regex":"","delay":0},{"id":"new-build","type":"SelectorHTML","parentSelectors":["link"],"selector":"tr:contains('New build') td.table-value","multiple":false,"regex":"","delay":0},{"id":"outside","type":"SelectorText","parentSelectors":["link"],"selector":"tr:contains('outside') td.table-value","multiple":false,"regex":"","delay":0},{"id":"oher","type":"SelectorText","parentSelectors":["link"],"selector":"tr:contains('other') td.table-value","multiple":false,"regex":"","delay":0},{"id":"plot-size","type":"SelectorText","parentSelectors":["link"],"selector":"tr:contains('Plot size') td.table-value","multiple":false,"regex":"","delay":0},{"id":"parking","type":"SelectorText","parentSelectors":["link"],"selector":"tr:contains('parking') td.table-value","multiple":false,"regex":"","delay":0},{"id":"pool","type":"SelectorText","parentSelectors":["link"],"selector":"tr:contains('pool') td.table-value","multiple":false,"regex":"","delay":0},{"id":"security","type":"SelectorText","parentSelectors":["link"],"selector":"tr:contains('security') td.table-value","multiple":false,"regex":"","delay":0},{"id":"leisure","type":"SelectorText","parentSelectors":["link"],"selector":"tr:contains('leisure') td.table-value","multiple":false,"regex":"","delay":0},{"id":"tenure","type":"SelectorText","parentSelectors":["link"],"selector":"tr:contains('tenure') td.table-value","multiple":false,"regex":"","delay":0},{"id":"ref","type":"SelectorText","parentSelectors":["link"],"selector":".property__sidebar span.ref-number","multiple":false,"regex":"","delay":0},{"id":"agency","type":"SelectorText","parentSelectors":["link"],"selector":"p.enquiry-form-agent__name","multiple":false,"regex":"","delay":0},{"id":"agency-logo","type":"SelectorImage","parentSelectors":["link"],"selector":"img.enquiry-form-agent__logo","multiple":false,"delay":0},{"id":"agency-link","type":"SelectorLink","parentSelectors":["link"],"selector":"a.section--horizontal","multiple":false,"delay":0},{"id":"image01","type":"SelectorImage","parentSelectors":["link"],"selector":".tns-slide-active img","multiple":false,"delay":0},{"id":"img-alt-full-descritpion","type":"SelectorHTML","parentSelectors":["link"],"selector":".tns-slide-active div.property-gallery__slide-wrapper","multiple":false,"regex":"","delay":0},{"id":"images-grouped","type":"SelectorGroup","parentSelectors":["link"],"selector":".property-gallery__slide-wrapper > img","delay":0,"extractAttribute":"src"},{"id":"utilities","type":"SelectorText","parentSelectors":["link"],"selector":"tr:contains('utilities') td.table-value","multiple":false,"regex":"","delay":0},{"id":"garden","type":"SelectorText","parentSelectors":["link"],"selector":"tr:contains('garden') td.table-value","multiple":false,"regex":"","delay":0},{"id":"images-grouped-2","type":"SelectorGroup","parentSelectors":["link"],"selector":".property-gallery__image","delay":0,"extractAttribute":"src"},{"id":"pool-on-top","type":"SelectorHTML","parentSelectors":["link"],"selector":"li:nth-of-type(3) span.characteristics__ch-number","multiple":false,"regex":"","delay":0},{"id":"build-size-2","type":"SelectorText","parentSelectors":["link"],"selector":"li:nth-of-type(4) span.characteristics__ch-number","multiple":false,"regex":"","delay":0},{"id":"categories","type":"SelectorLink","parentSelectors":["regions"],"selector":"div:nth-of-type(1) .col-xs-12 li a:('?sort=created_at_desc')","multiple":true,"delay":0},{"id":"regions","type":"SelectorLink","parentSelectors":["_root"],"selector":".container-fluid > ul:nth-of-type(1) a","multiple":true,"delay":0}]}

Unfortunately, the click cannot be executed to the fact that it reloads the page and there is not a 'href' tag that points to a new link within it.

The only suggestion is scraping all the links to categories and using https://regexr.com/ add the '?sort=created_at_desc' part to all of the links. Then you can import all of the links into your sitemap as start URL and scrape the site from there.

Do not forget to delete the last comma when 'mass' importing the URLs, otherwise your JSON will not be valid

Thanks for your suggestion. I'm working on it also on getting an object id from this website - it could be much easier to sort results.

Regards,
Radek