How to Scrape hotels link replace hotels name

Please Help I have some issue. How to Scrape hotels link replace hotels name in this code
Thank you

Url: https://www.agoda.com/th-th/pages/agoda/default/DestinationSearchResult

Sitemap:
{"_id":"forum-help-pagination","startUrl":["https://www.agoda.com/th-th/pages/agoda/default/DestinationSearchResult.aspx?asq=ugExOqxSggM4JpzUzhbrGFwsTkjMQWoz5vdhcDTo6aeCnSA1V2G75BgEuRoA7STPgZ%2Bt0rYhlhnAy%2FdjuS4T4FWjD%2FO0U89ZZbCeBqtQY3aQ2cPzxN0ZSlfclFiGUnxMtltcDhwKNjJfwhGo5JL85u35fIHw6k3WHZY%2F6cEz%2FA1bU%2FNXXYORFCCMVF69EZu0%2FhZgIAvYOyyympZ3LQKFMuKWkw%2BVR6ubBXVQogp%2B7J4wx%2B5F2VQplMDHqmNzKANN&city=7401&cid=1735414&tick=636747200904&languageId=22&userId=8a6f31e7-ea27-45b9-a5d3-c9271f9f8db6&sessionId=ayxravin21hyciqu51uk4xjx&pageTypeId=7&origin=TH&locale=th-TH&aid=172467&currencyCode=THB&htmlLanguage=th-th&cultureInfoName=th-TH&memberId=46071994&ckuid=8a6f31e7-ea27-45b9-a5d3-c9271f9f8db6&prid=0&checkIn=2018-10-17&checkOut=2018-10-18&rooms=1&adults=2&children=0&priceCur=THB&los=1&textToSearch=เชียงใหม่&productType=-1&sort=agodaRecommended"],"selectors":[{"id":"hotels","type":"SelectorElementClick","parentSelectors":["_root"],"selector":".hotel-item-box","multiple":true,"delay":0,"clickElementSelector":"button.btn.pagination2__next","clickType":"clickMore","discardInitialElements":false,"clickElementUniquenessType":"uniqueCSSSelector"},{"id":"Name","type":"SelectorText","parentSelectors":["hotels"],"selector":".hotel-name","multiple":false,"regex":"","delay":0}]}

Hi there!

In order to pick URLs of hotels you have to use an Element Attribute selector.
You can see that links contained within info card itself, and every card has an ID with a certain number inside it.
So in order to pick URL from it you have to use CSS selector that will pick elements based by part of it's ID.

Correct selector to pick all cards is: [id^=hotel]
And an attribute name to extract is href.

See results below:

I just realized that for this to work the original element selector has to be tied to .PropertyCardItem