https://github.com/morrism1/lyrics-scraper
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.
https://github.com/morrism1/lyrics-scraper
nokogiri ruby scraper
Last synced: about 1 year ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/morrism1/lyrics-scraper
- Owner: Morrism1
- License: mit
- Created: 2020-07-13T08:44:57.000Z (almost 6 years ago)
- Default Branch: develop
- Last Pushed: 2022-12-08T04:38:45.000Z (over 3 years ago)
- Last Synced: 2025-03-26T01:36:22.756Z (about 1 year ago)
- Topics: nokogiri, ruby, scraper
- Language: Ruby
- Homepage:
- Size: 42 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# lyrics-scraper πΉπ»
> Ruby Capstone Project of Microverse, which students have to complete a real-world-like project within 72 hours according to [this project specification](https://www.notion.so/Build-your-own-scraper-f54eaca54d8a4d758a5f0141468127a8)
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.

## Built With
- Ruby
- Nokogiri gem
- Rspec
## Project Structure
```
βββ README.md
βββ bin
β βββ main.rb
βββ lib
βββ scraper.rb
βββ rspec
βββ scraper_spec.rb
βββ spec_helper.rb
```
## Deployment
1) Git clone this repo and cd the to the `lyrics-scraper` directory.
2) Run `bundle install` in the command line to install Nokogiri and Rspec.
3) Run `ruby bin/main.rb`.
4) Input prompt will be present in separate lines. Press enter the` name of the artist` followed by `song` to begin the search.
5) Voila! Lyrics will be displayed in the terminal or Receive an error if it does not exist. πΆπ΅πΌ
## Run tests
1) Git clone this repo and cd the to the `lyrics-scraper` directory.
2) Install RSpec with `gem install rspec`.
3) Run `rspec` in Command-Line.
4) `12 examples, 0 failures` will be shown on the screen.
π¨ **Maurice Murangwa**
- Github: [@Morrism1](https://github.com/Morrism1)
- Twitter: [@MorrisMontana0](https://twitter.com/MurangwaMorris)
- Linkedin: [Maurice Murangwa](https://www.linkedin.com/in/murangwa-maurice-769549140/)
## Acknowledgments
- Microverse
- Nokogiri gem
- Azlyrics
- Open URI
## Contributing
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!