1. Enter manualy a city in the box, then i obtain the url of the list of all hotels for this city.
Select the link to the hotels.
For example in Paris is www.tripadvisor.com/Hotels-g187147-Paris_Ile_de_France-Hotels.html
2. Here the script has to begin
"Click" on each name of the hotel of the list (including all pages....it means 1839 because of 1839 hotels)
On each hotel page :
Extract the name of the hotel
Extract the email of the hotel....pay attention that its behind a link
Extract the website of the hotel....pay attention that its behind a link
Extract the phone number of the hotel
Pay attention that page to page, the column of phone, website and emails change...please include in the script the way to identify if its the phone, email and the website....in case of we can do that after in the database but better not.
Thats all...for the 1839 hotels of Paris
Of course if i change the url of Paris by the url of Roma, i can collect all the hotels with the same script.
Let me know.