Apr-23-2019, 08:15 AM
Like Larz a switch to English:
hotel_names = browser.find_elements_by_xpath("//h3[@class='hc-searchresultitem__hotelname']") for hotel_name in hotel_names: print(hotel_name.text)
Output:Hotel Midtown Richardson
Cosmos Hotel Taipei
Energy Inn Taipei City
FN Hotel
Taipei M Hotel - Main Station
Palais De Chine
Diary of Taipei Hotel Main Station
Go Sleep Hotel - Hankou
Taipei Triple Tiger Inn
Cho Hotel
Yomi Hotel - ShuangLian
Park Taipei Hotel
FX Hotel Taipei Nanjing East Road Branch
Space Inn
Mr Lobster Secret Den design hostel
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs