Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ishotihadus/natalia
Lyrics scraper for Japanese songs
https://github.com/ishotihadus/natalia
Last synced: 4 days ago
JSON representation
Lyrics scraper for Japanese songs
- Host: GitHub
- URL: https://github.com/ishotihadus/natalia
- Owner: Ishotihadus
- License: mit
- Created: 2023-05-07T10:15:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-02T14:23:14.000Z (over 1 year ago)
- Last Synced: 2024-11-18T05:31:48.577Z (2 months ago)
- Language: Ruby
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Natalia
日本語の歌詞掲載サイトから歌詞を取得するライブラリです。
## Installation
Install the gem and add to the application's Gemfile by executing:
$ bundle add natalia
If bundler is not being used to manage dependencies, install the gem by executing:
$ gem install natalia
## Usage
```rb
require 'natalia'# 歌詞情報のエントリを取ってくる
songs = Natalia.search_by_title('永遠の花')# 歌詞の取得
songs.first.get.lyrics
# => "窓あけたら 花瓶の花が\n風に誘われて 揺れたよ\nそう..."
```## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/Ishotihadus/natalia.
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).