Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/davidosky007/web_scraper_bot

this is a milestone project for building a bot that scraps selected data from a web page
https://github.com/davidosky007/web_scraper_bot

Last synced: about 7 hours ago
JSON representation

this is a milestone project for building a bot that scraps selected data from a web page

Awesome Lists containing this project

README

        

# Web_scraper_bot
This is a Ruby Capstone project for building a bot that scraps selected data from a web page
This program's purpose is to scan a webpage and take relevant data from it. This project provides useful soccer tips and can be ran locally on your pc.

## Built With

- Ruby
- Nokogiri
- open-uri
- Rubocop

## App work flow

- The app has a welcome screen, which has an introduction to the soccer prediction tips bot.
- User is asked to enter any number between 1 to 25 for soccer tips.
- If the input provided by the user is not between 1 to 25, then the user is again asked for the input.
- If the input provided by the user is between 1 to 25, then the soccer tips and details are displayed.

### How_to_use
![screenshot](/asset/read.png)

### Prerequisites

To get this project up and running locally, you should have Ruby installed.

### Setup

Step 1: Clone the repository

```
'git clone https://github.com/Davidosky007/web_scraper_bot.git'
```

Step 2: Move into the project directory

```
'cd web_scraper_bot'
```

Step 3: Install necessary dependencies

```
'bundle install'
```

Step 4: Run the app

```
'ruby bin/scraper.rb'
```
## How to Test
1. Clone the repo to your local folder
2. cd into the folder
3. install rspec by gem install rspec
4. Run rspec .
5. 3 examples, 0 failures will be output.

## Author

👤 **David Bassey**

- GitHub: [@davidosky007](https://github.com/davidosky007)
- Twitter: [@davidosky2](https://twitter.com/Davidosky2)
- LinkedIn: [David Bassey](https://www.linkedin.com/in/david-bassey-2b9671199/)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](issues/).

## Show your support

Give a ⭐️ if you like this project!

## Acknowledgments

- Microverse

## 📝 License

This project is [MIT](lic.url) licensed.