Ruby Capstone Project of Microverse, which students have to complete a real-world-like project within 72 hours according to this project specification
I decided to scrape Lyrics from azlyrics.com
. I do love music much.
I liked the idea that I can write the name and the title of the song for internationally recognized Artists and be able to find them.
- Ruby
- Nokogiri gem
- Rspec
├── README.md
├── bin
│ └── main.rb
└── lib
└── scraper.rb
└── rspec
└── scraper_spec.rb
└── spec_helper.rb
- Git clone this repo and cd the to the
lyrics-scraper
directory. - Run
bundle install
in the command line to install Nokogiri and Rspec. - Run
ruby bin/main.rb
. - Input prompt will be present in separate lines. Press enter the
name of the artist
followed bysong
to begin the search. - Voila! Lyrics will be displayed in the terminal or Receive an error if it does not exist. 🎶🎵🎼
- Git clone this repo and cd the to the
lyrics-scraper
directory. - Install RSpec with
gem install rspec
. - Run
rspec
in Command-Line. 12 examples, 0 failures
will be shown on the screen.
👨 Maurice Murangwa
- Github: @Morrism1
- Twitter: @MorrisMontana0
- Linkedin: Maurice Murangwa
- Microverse
- Nokogiri gem
- Azlyrics
- Open URI
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Support this project with a ⭐️ and let us know if you would like to become a contributor!