https://github.com/eggplants/pyjlyric
Japanese Lyric Aggregator
https://github.com/eggplants/pyjlyric
download-lyrics japanese japanese-songs lyrics lyrics-scraping python
Last synced: over 1 year ago
JSON representation
Japanese Lyric Aggregator
- Host: GitHub
- URL: https://github.com/eggplants/pyjlyric
- Owner: eggplants
- License: mit
- Created: 2023-02-28T21:05:30.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-05-06T08:27:23.000Z (over 1 year ago)
- Last Synced: 2025-05-06T09:40:25.338Z (over 1 year ago)
- Topics: download-lyrics, japanese, japanese-songs, lyrics, lyrics-scraping, python
- Language: Python
- Homepage: http://egpl.dev/pyjlyric/
- Size: 807 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pyjlyric: Japanese Lyric Aggregator
[ ](
) [](
) [](
)
[](
) [](
) [](
)
## Supported sites
-
-
-
-
-
-
-
-
-
-
-
-
-
-
## Installation
```sh
pip install git+https://github.com/eggplants/pyjlyric
# or
pip install pyjlyric
```
## Usage
### CLI
```shellsession
$ jrc https://j-lyric.net/artist/a00126c/l013283.html
===
Title: 春よ来い
Artist: 童謡・唱歌
Lyric: 相馬 御風
Composer: 弘田 龍太郎
===
春よ来い早く来い
あるきはじめたみいちゃんが
赤い鼻緒のじょじょはいて
おんもへ出たいと待っている
春よ来い早く来い
おうちの前の桃の木の
蕾もみんなふくらんで
はよ咲きたいと待っている
```
```shellsession
$ jrc -h
usage: jrc [-h] [-V] url
get lyric data by URL.
positional arguments:
url
options:
-h, --help show this help message and exit
-V, --version show program's version number and exit
supported sites:
- http://www.animap.jp/kasi/showkasi.php?surl=:pageid
- http://www.utamap.com/showtop.php?surl=:pageid
- https://gakufu.gakki.me/m/data/:pageid.html
- https://hoick.jp/mdb/detail/:pageid
- https://j-lyric.net/artist/:artistid/:pageid.html
- https://kashinavi.com/song_view.html?:pageid
- https://linkco.re/:albumid/songs/:songid/lyrics
- https://lyric.evesta.jp/:pageid.html
- https://music-book.jp/music/Artist/:artistid/Music/:pageid
- https://music.j-total.net/data/:pageid.html
- https://petitlyrics.com/lyrics/:pageid
- https://utaten.com/lyric/:pageid
- https://www.joysound.com/web/search/song/:pageid
- https://www.uta-net.com/song/:pageid
```
### Library
```python
import pyjlyric
pyjlyric.parse("https://kashinavi.com/song_view.html?155779")
```
Returns:
```python
KashinaviLyricPage(
title='Life goes on',
page_url=HttpUrl('https://kashinavi.com/song_view.html?155779', ),
pageid='155779',
artist=WithUrlText(
link=HttpUrl('https://kashinavi.com/artist.html?artist=104498&kashu=King+%26+Prince&start=1', ),
text='King & Prince'
),
composer='Joacim Persson・Johan Alkenas・SQVARE・Sean Michael Alexander',
lyricist='木村友威',
arranger=None,
lyric_sections=[['Keep it up, keep it up yup'], [...], [..., "Let's live it up"]]
)
```