Coder Social home page Coder Social logo

omkarcloud / tripadvisor-scraper Goto Github PK

View Code? Open in Web Editor NEW
135.0 3.0 34.0 7.35 MB

⚡ Tripadvisor Scraper helps you collect Hotels and Restaurants from Tripadvisor. ⚡

Home Page: https://www.omkar.cloud/

License: MIT License

Python 6.42% Dockerfile 0.14% JavaScript 5.49% TypeScript 87.95%
airbnb-api airbnb-scraper booking-scraper bookingcom google-maps-scraper google-scraper google-scraping restaurant-scraper tripadvisor-api tripadvisor-clone

tripadvisor-scraper's Introduction

Tripadvisor Scraper Featured Image

✨ Tripadvisor Scraper 🚀

💦 Find Tripadvisor Hotels and Restaurants Details 💦

(Programming Language - Python 3)

tripadvisor-scraper forks Repo stars tripadvisor-scraper License issues

View

Open in Gitpod


Disclaimer for Tripadvisor Scraper Project

By using Tripadvisor Scraper, you agree to comply with all applicable local and international laws related to data scraping, copyright, and privacy. The developers of Tripadvisor Scraper will not be held liable for any misuse of this software. It is the user's sole responsibility to ensure adherence to all relevant laws regarding data scraping, copyright, and privacy, and to use Tripadvisor Scraper in an ethical and legal manner, in line with both local and international regulations.

We take concerns related to the Tripadvisor Scraper Project very seriously. If you have any inquiries or issues, please contact Chetan Jain at [email protected]. We will take prompt and necessary action in response to your emails.

👉 Explore Our Other Awesome Products

  • Botasaurus: The All-in-One Web Scraping Framework with Anti-Detection, Parallelization, Asynchronous, and Caching Superpowers.

Tripadvisor Scraper helps you scrape Tripadvisor Hotels and Restaurants. 🚀

⚡ Benefits

  1. Easily access Tripadvisor Hotels and Restaurants through our user-friendly dashboard.

  2. Get 101% accurate, fresh results in realtime, allowing you to use the results to their full potential.

  3. Get Website, Email, Phone, Address, and other details of Hotels and Restaurants.

In next 5 minutes, you'll extract New York Hotels's from Tripadvisor.

Tripadvisor Result

📦 Requirements

To use this tool, you'll need:

  • Node.js version 16 or later to run the UI Dashboard (please check your Node.js version by running node -v)
  • Python for running the scraper

Don't have Node.js or Python? No problem!

You can easily run this tool within Gitpod, a cloud-based development environment, by following these steps.

🚀 Getting Started

Let's get started by following these super simple steps:

1️⃣ Clone the Magic 🧙‍♀️:

git clone https://github.com/omkarcloud/tripadvisor-scraper
cd tripadvisor-scraper

2️⃣ Install Dependencies 📦:

python -m pip install -r requirements.txt
python run.py install

3️⃣ Launch the UI Dashboard 🚀:

python run.py

4️⃣ Open your browser and go to http://localhost:3000, then press the Run button to see Tripadvisor Products. 😎

Tripadvisor Result

Note: If you don't have Node.js 16+ and Python installed or you are facing errors, follow this Simple FAQ here, and you will have your search results in the next 5 Minutes

⚡ Enlightening Questions

❓ How to Get Results for My Queries?

  1. Visit http://localhost:3000 and enter your queries

Queries

  1. Now, simply press the Run button.

Run

❓ What Data Points Are Scraped?

We scrape over 45+ data points, important among them are:

  • Name
  • Reviews
  • Rating
  • Website
  • Email
  • Phone
  • Address
  • And many more...

❓ How to Scrape More Hotels and Restaurants?

Kindly follow these steps to use our Rapid API and easily get the tripadvisor product details:

  1. Sign up on RapidAPI by visiting this link.

Sign Up on RapidAPI

  1. Subscribe to the Free Plan by visiting this link.

Subscribe to Free Plan

  1. Copy the API key. Copy the API Key

  2. Put the Key in the "Rapid API Key" textbox and simply run it:

api-key

The first 200 requests are free with the API. After that, you can upgrade to the Pro Plan to scrape 10000 listings for $16, which is a really great price, considering that the data is 101% accurate, fresh, and comprehensive with 45+ fields.

❓ What if I Don't Get Value from It?

We wholeheartedly ❤️ believe in the value our product brings for you, especially since it has successfully worked for hundreds of people like you.

But, we also understand the reservations you might have.

That's why we've put the ball in your court: If, within the next 90 days, you feel that our product hasn't met your expectations, don't hesitate. Reach out to us, and within 24 hours, we will gladly refund your money, no questions and no hassles.

The risk is entirely on us! because we're that confident in what we've created!

❓ How Do I Get a Refund?

We are ethical and honest, and we will not keep your money if you are not satisfied with our product. Requesting a refund is a simple process that should only take about 5 minutes.

To do so, you need to submit a support request here, and we will issue the refund.

request-refund

❓ This Scraper is Truly One-of-a-Kind, Something I've Never Seen Before. How Did You Build It?

Thank you! We used Botasaurus, which is the secret behind our awesome Tripadvisor Scraper.

Botasaurus is a web scraping framework that makes life a lot easier for web scrapers.

It handled the hardest parts of our scraper, such as:

  • Creating a gorgeous UI dashboard with task management features
  • Sorting, filtering, and exporting data as CSV, JSON, Excel, etc.
  • Caching, parallel and asynchronous scraping

If you're a web scraper, I really recommend learning about Botasaurus here 🚀.

Trust me, learning Botasaurus will only take 20 minutes, but I guarantee it will definitely save you thousands of hours in your life as a web scraper.

botasaurus

❓ Advanced Questions

Having read this page, you have all the knowledge needed to effectively use the tool.

You may choose to read the following questions based on your interests:

  1. I Don't Have Python, or I'm Facing Errors When Setting Up the Scraper on My PC. How to Solve It?
  2. How to Update the Scraper to the Latest Version?

❓ Need More Help or Have Additional Questions?

For further help, feel free to reach out to us through:

  • WhatsApp: If you prefer WhatsApp, simply send a message here. Also, to help me provide the best possible answer, please include as much detail as possible.

    Contact Us on WhatsApp about Tripadvisor Scraper

  • Email: If you prefer email, kindly send your queries to [email protected]. Also, to help me provide the best possible answer, please include as much detail as possible.

    Contact Us on Email about Tripadvisor Scraper

We look forward to helping you and will respond to emails and WhatsApp messages within 24 hours.

Good Luck!

Love It? Star It ⭐!

Become one of our amazing stargazers by giving us a star ⭐ on GitHub!

It's just one click, but it means the world to me.

Stargazers for @omkarcloud/tripadvisor-scraper

Made with ❤️ using Botasaurus Web Scraping Framework

tripadvisor-scraper's People

Contributors

chetan11-dev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tripadvisor-scraper's Issues

ModuleNotFoundError: No module named 'botasaurus.decorators'

I installed the packages and still getting an error when i run py main.py

Traceback (most recent call last):
File "C:\Users\BLOOD\Desktop\tripadvisor-scraper\main.py", line 1, in
from src import Tripadvisor
File "C:\Users\BLOOD\Desktop\tripadvisor-scraper\src_init_.py", line 1, in
from .tripadvisor import Tripadvisor
File "C:\Users\BLOOD\Desktop\tripadvisor-scraper\src\tripadvisor_init_.py", line 1, in
from .tripadvisor_scraper import Tripadvisor
File "C:\Users\BLOOD\Desktop\tripadvisor-scraper\src\tripadvisor\tripadvisor_scraper.py", line 4, in
from .write_output import write_output
File "C:\Users\BLOOD\Desktop\tripadvisor-scraper\src\tripadvisor\write_output.py", line 2, in
from botasaurus.decorators import print_filenames
ModuleNotFoundError: No module named 'botasaurus.decorators'

AttributeError: 'NoneType' object has no attribute 'get'

Traceback (most recent call last):
File "/workspace/.pyenv_mirror/user/current/lib/python3.12/site-packages/botasaurus_server/task_executor.py", line 150, in run_task
result = fn(
^^^
File "/workspace/.pyenv_mirror/user/current/lib/python3.12/site-packages/botasaurus/task_decorator.py", line 172, in wrapper_requests
current_result = run_task(data_item, False, 0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/.pyenv_mirror/user/current/lib/python3.12/site-packages/botasaurus/task_decorator.py", line 140, in run_task
raise error
File "/workspace/.pyenv_mirror/user/current/lib/python3.12/site-packages/botasaurus/task_decorator.py", line 85, in run_task
result = func( data)
^^^^^^^^^^^
File "/workspace/tripadvisor-scraper/src/get_tripadvisor_listings.py", line 8, in get_tripadvisor_listings
return Tripadvisor.get_hotels(data["search_queries"], data["max_results"], data["api_key"], data["enable_detailed_extraction"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/tripadvisor-scraper/src/tripadvisor/tripadvisor_scraper.py", line 83, in get_hotels
return remove_duplicates_by_key(perform_query(search_query, max_results, api_key, enable_detailed_extraction, "hotels"), "id")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/tripadvisor-scraper/src/tripadvisor/tripadvisor_scraper.py", line 47, in perform_query
if item.get('error'):
^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.