gkzz / deephotel

scraping TripAdvisor, Booking.com with Scrapy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Only Scraping Hotel's Data @TripAdvisor.jp, Booking.com

Python Function To Scrape Hotel's data is hotel's name, address, review text, score, and so on, "Except pricing data"

Based on 'https://github.com/monkeylearn/hotel-review-analysis'

Special thanks to @monkeylearn

crawl to review-text of hotels in kyoto @TripAdvisor.jp

scrapy crawl tripadvisor_review -a start_url='https://www.tripadvisor.jp/Hotels-g298564-Kyoto_Kyoto_Prefecture_Kinki-Hotels.html' -o filename.csv

crawl to review-score of hotels in kyoto @TripAdvisor.jp

scrapy crawl tripadvisor_score -a start_url='https://www.tripadvisor.jp/Hotels-g298564-Kyoto_Kyoto_Prefecture_Kinki-Hotels.html' -o filename.csv

Thank you for @monkeylearn!!

crawl to review-text of hotels in osaka @Booking.com

scrapy crawl booking_review -a start_url='https://www.booking.com/searchresults.ja.html?city=-240905;ss=%E5%A4%A7%E9%98%AA%E5%B8%82' -o filename.csv

crawl to review-score of hotels in osaka @Booking.com

scrapy crawl booking_score -a start_url='https://www.booking.com/searchresults.ja.html?city=-240905;ss=%E5%A4%A7%E9%98%AA%E5%B8%82' -o filename.csv

As you know, I'm Python Beginner. I'm glad you to give feedback.

About

scraping TripAdvisor, Booking.com with Scrapy


Languages

Language:Python 100.0%