I currently force the user to fill out all the sights by looping the code.
However, I wanted to know how to get this information from the sights automatically, more or less the way this hotel did: link
Where he searches for categories and separates.