Web-Scrapper
This project is about scraping a website that is listing IP addresses of game servers. The application parses network information of game servers from web documents and also does a ping test for them. After testing ping rates, the program outputs a list of game servers sorted by their Ping value in ascending order. You can get more lists by typing 'next' after each output.
Built With
- Ruby 2.6.6p146
- Rspec 3.9
- Nokogiri
- HTTParty
- Net-Ping
- Colorize
- VS Code
- Repl.it
Getting Started
To get a local copy follow these simple example steps.
- Click on Clone or download button of this repository and copy the URL(or you can just download .zip).
- Open your command prompt and run this command: git clone COPIED-URL
Prerequisites
In order to make the program work, you need to have ruby interpreter installed in your system. You can get the latest version of ruby from official website.
Installation
run bundle install
command in shell
Usage
- Open your command prompt and navigate to 'bin' folder of application directory(use 'cd' command)
- Type ruby main.rb
- Type 'next' if you want to load more server information
Automated tests
You can run rspec tests using rpsec
or rspec ./spec/[specfile].rb
commands
Authors
- Github: 8Bts
- Twitter: @Rasheed49705929
- Linkedin: linkedin
- Email: mcmizze@yahoo.com
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Show your support
Give a