This a mini console scraper application for iTunes App store games, developed using Ruby. The scraping source is Apple iTunes App Store games website. Contents under the iTunes App Store games are categorized according to Most Popular, Alphabetical index and more games. In a similar way, running the Tiny Tune Scraper app you can choose a similary categorical or a sorted list to scrape its content. See a quick video of the project walkthrough here
Contents |
---|
App Screenshots |
Built With |
Setup Instructions |
Getting Started |
Testing |
Author |
License |
Welcome screen/ Instructions |
Porpular scrape |
Aphabetical scrape |
- Ruby 2.7
- Nokogiri 1.10.10
- HTTParty 0.18.1
- Rubocop 0.88.0
- Rspec 3.9.0
-
- Copy the git link
https://github.com/rloterh/TinyTuneScraper.git
of this project
- Copy the git link
-
- In your terminal run the command
git clone https://github.com/rloterh/TinyTuneScraper.git
- In your terminal run the command
-
- Navigate to the cloned project directory
-
- Install dependencies using the command
bundle install
- Install dependencies using the command
-
- You can optionally install the dependencies individually in your ruby environment using the commands below:
gem install nokogiri
gem install httparty
gem install rubocop
gem install rspec
-
- Navigate the bin directory by running the command
cd bin
in the terminal (from the root directory)
- Navigate the bin directory by running the command
-
- To execute the app run the command
ruby main.rb
in the terminal
- To execute the app run the command
-
- Follow the instruction displayed in the terminal below the welcome screen
-
- Type
pop
,more
or a letter between|a-z|
- Type
-
- If the scrape output has has index pages option, use > or < keys on your keyboard to navigate to the next or previous indexed page
-
- To exit index page(s), press 'e'
NB: Before running test ensure rubocop
andrspec
gems are installed
-
- Go to the terminal (directory pointing to the root of the project)
-
- Run the command
rubocop
- Run the command
-
- Click on the check button to validate
-
- All validations should pass, when no error message is displayed in the terminal
-
- Go to the terminal (directory pointing to the root of the project)
-
- Run the command
rspec
- Run the command
-
- To run test cases individually run the command
rpsec relative_path_of_testfile
(replace rerelative_path_of_testfile with the actual relative path to the test file you want to run)
- To run test cases individually run the command
-
- All test cases passes, when no error message is shown in the terminal
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Scrape source is Apple iTunes App Store
- Project specification designed by Microverse