Skip to content

This program's purpose is to scan a webpage and take relevant data from it that could benefit the user. This project is inspired by the beautiful tourist destinations in India. Built using Ruby.

Notifications You must be signed in to change notification settings

jrai0792/web-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web-scraper

This program's purpose is to scan a webpage and take relevant data from it that could benfit the user. This project is inspired from the beautiful tourist destinations in India. I want to help anybody who wants to know about various famous tourist destinations in India.

screenshot

In this project, information about 27 famous tourist destinations in India is provided.

Built With

  • Ruby
  • Nokogiri
  • open-uri
  • Rubocop

App work flow

  • The app has a welcome screen, which has small introduction to tourism in India.
  • User is asked to enter any number between 1 to 27.
  • If the input provided by the user is not between 1 to 27, then user is again asked for the input.
  • If the input provided by the user is between 1 to 27, then the destination name and details are displayed.

Prerequisites

To get this project up and running locally, you must already have little experience working with Ruby and have it installed

Setup

Step 1: Clone the repository

'git clone https://github.com/jrai0792/web-scraper.git'

Step 2: Move into the project directory

'cd web-scraper'

Step 3: Install necessary dependencies

'bundle install'

Step 4: Run the app

'bin/scraper.rb'

Testing

Simply run rspec from the root directory

Authors

👤 Author1

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Microverse

📝 License

This project is MIT licensed.

About

This program's purpose is to scan a webpage and take relevant data from it that could benefit the user. This project is inspired by the beautiful tourist destinations in India. Built using Ruby.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages