项目作者: ysim

项目描述 :
command-line song lyric fetcher
高级语言: Python
项目地址: git://github.com/ysim/songtext.git
创建时间: 2014-01-21T17:51:54Z
项目社区:https://github.com/ysim/songtext

开源协议:BSD 2-Clause "Simplified" License

下载


Build Status

songtext

A command-line song lyric fetcher.

Inspired by @gleitz‘s
howdoi. Name from the German word for
“lyrics”
.

Installation

With pip:

  1. $ pip install songtext

With distutils:

  1. $ python setup.py install

Usage

Search by both artist name (-a, --artist) and song title
(-t, --title):

  1. $ songtext -a pvris -t fire
  2. PVRIS: Fire
  3. -----------
  4. Don't blame your death on the shit in your head
  5. That you claimed ate you like a virus for days on end
  6. I watched you decay, watched you waste away
  7. Who'd you think you'd fool, baby, diggin' your own grave?

Option values that consist of more than one word need to be quoted:

  1. $ songtext -a 'nina simone' -t sinnerman
  2. Nina Simone: Sinnerman
  3. ----------------------
  4. Oh sinnerman, where you gonna run to?
  5. Sinnerman, where you gonna run to?
  6. Where you gonna run to?
  7. All along dem day

Punctuation is important too:

  1. $ songtext -a "shawn mendes" -t "theres nothing holdin me back"
  2. Your query did not match any tracks.
  3. $ songtext -a "shawn mendes" -t "there's nothing holdin' me back"
  4. Shawn Mendes: There's Nothing Holdin' Me Back
  5. ---------------------------------------------
  6. I wanna follow her where she goes
  7. I think about her and she knows it
  8. I wanna let it take control
  9. 'Cause every time that she gets closer

Note that paging is turned on by default. Use the --no-pager flag to turn
it off.

argument/API lyricwiki
positional (generic search) No
-a, --artist Yes
-t, --title Yes
-w, --words No
-l, --show-list No
--limit No
--no-pager Yes
-i, --index No

Author