Switch domain from 'wikia' to 'fandom'
This commit is contained in:
parent
a13cd7dde6
commit
747a1ba236
|
@ -2,7 +2,7 @@
|
|||
WYRICS Git some lyrics
|
||||
===============================================================================
|
||||
|
||||
Fetch lyrics for a song from lyrics.wikia.com with this script.
|
||||
Fetch lyrics for a song from lyrics.fandom.com with this script.
|
||||
You can fetch them by search queries, or by their URL.
|
||||
|
||||
|
||||
|
@ -100,5 +100,5 @@ want to skip to the next song.
|
|||
BORING STUFF
|
||||
----------------------------------------
|
||||
License is CC-0 (though, "gendl" is GPLv3)
|
||||
Author is Jenga Phoenix <jadedctrl@teknik.io>
|
||||
Author is Jaidyn Ann <jadedctrl@teknik.io>
|
||||
Sauce is at https://git.eunichx.us/wyrics.git
|
||||
|
|
2
wydir
2
wydir
|
@ -3,7 +3,7 @@
|
|||
# name: wydir
|
||||
# desc: run `wyrics` over every song in
|
||||
# a directory of given file-ext
|
||||
# main: Jenga Phoenix
|
||||
# main: Jaidyn Ann
|
||||
# <jadedctrl@teknik.io>
|
||||
# lisc: CC 0
|
||||
########################################
|
||||
|
|
6
wyrics
6
wyrics
|
@ -2,8 +2,8 @@
|
|||
########################################
|
||||
# name: wyrics
|
||||
# desc: fetch lyrics by URL or query
|
||||
# from lyrics.wikia.com
|
||||
# main: Jenga Phoenix
|
||||
# from lyrics.fandom.com
|
||||
# main: Jaidyn Ann
|
||||
# <jadedctrl@teknik.io>
|
||||
# lisc: CC 0
|
||||
########################################
|
||||
|
@ -71,7 +71,7 @@ function search {
|
|||
local query="$1"
|
||||
local query="$(echo "$query" | sed 's/ /+/g')"
|
||||
|
||||
gendl "https://lyrics.wikia.com/wiki/Special:Search?query=${query}" \
|
||||
gendl "https://lyrics.fandom.com/wiki/Special:Search?query=${query}" \
|
||||
| sed '1,/Results/d' \
|
||||
| grep "result-link" \
|
||||
| search_parse
|
||||
|
|
Ŝarĝante…
Reference in New Issue