Terminal news scraper in Ruby.
A scraper developed in Ruby that gets the latest stories from the 'world news' frontpage of the websites: AP, BBC, and Reuters.
- Ruby 2.7
- Bundle 2.1.4
- Nokogiri 1.10.10
- RSpec 3.10
- Rubocop 1.3.0
To get a local copy up and running follow these simple example steps.
- Ruby 2.7
- A terminal
- Clone or download this repository
- If necessary, unzip the downloaded directory
- From the project's root directory, execute 'bundle' to install all the necessary gems
bundle install
- Go into the the project's root directory "news-scraper"
- Execute the "main.rb" file
./bin/main.rb
- Follow the instructions on the screen an choose one of the news source to get the latest stories
- From the project's root directory, execute 'RSpec' to run the tests
rspec
👨💻 Breno Xavier
- GitHub: @brenoxav
- Twitter: @brenoxav
- LinkedIn: Breno Xavier
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Microverse
- Odin Project