This project can help you scrape hotel information from Tripadvisor. I divide the process into three steps as following:
Extract hotel names and urls from hotel.csv file.
In scrape.py, scrape comments and replies based on information from step1.
Conduct sentiment analysis.
- Use Chromedriver or PhantomJS
- Set your file path
- set your main url
- Scrape the whole comments by clicking 'More' button shown in review
- Scrape comments of all the languages