isuckatdrifting / Enceladus

Get Netease music lyrics + timestamps with Python 3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enceladus

Get NetEase music lyrics with Python3

Usage: lyric.py [-h] id format

positional arguments:
  id          id of the music

  format      choose the format of the output: orig/trans/merge

optional arguments:
  -h, --help  show this help message and exit

orig: original lyrics

trans: translated lyrics

merge: lyrics in "[original]/[translated]" type

You may need to install requests for the program to run: pip3 install requests

Get the id of the music you are interested in:

Share -> Copy the link in the browser -> The number after https://music.163.com/song?id= should be the music id.


For example: python3 lyric.py 533943763 merge

This would generate a txt lyric that meets the lrc file standard under the script executing folder. You may change the extension from *.txt to *.lrc manually if you wanna import it in other apps.

If this program helps with your MAD/AMV production, please do not hesitate to give me stars. 😄

snapshot

About

Get Netease music lyrics + timestamps with Python 3

License:Apache License 2.0


Languages

Language:Python 100.0%