{"id":13590061,"url":"https://github.com/giuseppegambino/Scraping-TripAdvisor-with-Python-2020","last_synced_at":"2025-04-08T12:32:26.679Z","repository":{"id":43343318,"uuid":"185422579","full_name":"giuseppegambino/Scraping-TripAdvisor-with-Python-2020","owner":"giuseppegambino","description":"Python implementation of web scraping of TripAdvisor with Selenium in a new 2019 website","archived":false,"fork":false,"pushed_at":"2022-07-06T18:55:22.000Z","size":1920,"stargazers_count":90,"open_issues_count":2,"forks_count":46,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-06T10:43:48.657Z","etag":null,"topics":["python","selenium","tripadvisor","tripadvisor-scraper","tripadvisorreview","webscraper","webscraper-website","webscraping"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/giuseppegambino.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-07T14:49:35.000Z","updated_at":"2024-10-15T18:23:33.000Z","dependencies_parsed_at":"2022-07-12T18:18:56.729Z","dependency_job_id":null,"html_url":"https://github.com/giuseppegambino/Scraping-TripAdvisor-with-Python-2020","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuseppegambino%2FScraping-TripAdvisor-with-Python-2020","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuseppegambino%2FScraping-TripAdvisor-with-Python-2020/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuseppegambino%2FScraping-TripAdvisor-with-Python-2020/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuseppegambino%2FScraping-TripAdvisor-with-Python-2020/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giuseppegambino","download_url":"https://codeload.github.com/giuseppegambino/Scraping-TripAdvisor-with-Python-2020/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247842871,"owners_count":21005361,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","selenium","tripadvisor","tripadvisor-scraper","tripadvisorreview","webscraper","webscraper-website","webscraping"],"created_at":"2024-08-01T16:00:38.540Z","updated_at":"2025-04-08T12:32:26.373Z","avatar_url":"https://github.com/giuseppegambino.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Scraping TripAdvisor with Python 2020 *\n\nPython implementation of web scraping of TripAdvisor with Selenium in a new 2020 website.\n\nThere are two scripts:\n  - \"restaurants_scraper.py\" to scrape restaurant\n  - \"things_to_do_scraper.py\" to scrape hotels, attraction and monuments.\n  \nThe python function is commented, write me if you have doubts.\nIf you have a slow connection and you encounter code problems, try increasing the seconds of time.sleep () function\n\nFeatures implemented: \n  - The click function to open the \"more\" button of the reviews \n  - The click function to change the page\n  - Csv file with the date, the score, the title and the full review!\n  \nHow to use: \n  - First approach: download the python file, open it and edit the default fields (csv file path, number of pages, tripadvisor url)\n  \n  - Second approach: download the file and launch it directly from the terminal, passing:\n      - the path of your csv file where the reviews will be stored\n      - the number of pages of the desired website that you want to scrape\n      - the url of tripadvisor website that you want to scrape\n\nCode to paste into terminal: python3 path_to_downloaded_script/things_to_do_scraper.py desktop/reviews.csv 50 https://www.tripadvisor.com/Attraction_Review-g187791-d192285-Reviews-Colosseum-Rome_Lazio.html\n\nWhat I used:\n  - Python 3.8.2\n  - Selenium 3.141.0\n  - Safari 14.0.1\n  - Visual Studio Code 1.51.1\n  - Macbook Pro 13\" M1 2020 with macOS Big Sur 11.0.1\n\n*This activity has been supported by a grant from the Project IDEHA - PON \"Ricerca e Innovazione\" 2014-2020 - Innovation for Data Elaboration in Heritage Areas, Azione II\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiuseppegambino%2FScraping-TripAdvisor-with-Python-2020","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiuseppegambino%2FScraping-TripAdvisor-with-Python-2020","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiuseppegambino%2FScraping-TripAdvisor-with-Python-2020/lists"}