Japanese Lyric Extractor / Lyric Site Aggregator
Project description
pyjlyric: Japanese Lyric Extractor
Installation
pip install git+https://github.com/eggplants/pyjlyric
# or
pip install pyjlyric
Usage
CLI
$ jrc -h
usage: jrc [-h] [-V] url
Get Japanese Music Lyric with Site URL.
positional arguments:
url
options:
-h, --help show this help message and exit
-V, --version show program's version number and exit
supported sites:
- ...
Library
import pyjlyric
pyjlyric.parse("https://kashinavi.com/song_view.html?155779")
Returns:
LyricPage(
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'
),
composers=[
WithUrlText(link=None, text='Joacim Persson・Johan Alkenas・SQVARE・Sean Michael Alexander')
],
lyricists=[WithUrlText(link=None, text='木村友威')],
arrangers=None,
lyric_sections=[
['Keep it up, keep it up yup'],
['...'],
['Everything will be alright いつだって', "...", "Let's live it up"]
]
)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyjlyric-0.0.0.tar.gz
(8.2 kB
view hashes)
Built Distribution
pyjlyric-0.0.0-py3-none-any.whl
(12.3 kB
view hashes)