Skip to content

This project is about scraping a website that is listing the IP addresses of game servers. The application parses IP addresses from the web page and outputs them sorted by Ping. Built with Ruby

Notifications You must be signed in to change notification settings

8Bts/Web-Scrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

screenshot

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

  1. Open your command prompt and navigate to 'bin' folder of application directory(use 'cd' command)
  2. Type ruby main.rb
  3. 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

👤 Rashid Mammadli

🤝 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

About

This project is about scraping a website that is listing the IP addresses of game servers. The application parses IP addresses from the web page and outputs them sorted by Ping. Built with Ruby

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages