Browse code

Switch domain from 'wikia' to 'fandom'

Jaidyn Levesque authored on 2019-12-09 17:48:22
Showing 3 changed files
... ...
@@ -2,7 +2,7 @@
2 2
 WYRICS                                                          Git some lyrics
3 3
 ===============================================================================
4 4
 
5
-Fetch lyrics for a song from lyrics.wikia.com with this script.
5
+Fetch lyrics for a song from lyrics.fandom.com with this script.
6 6
 You can fetch them by search queries, or by their URL.
7 7
 
8 8
 
... ...
@@ -100,5 +100,5 @@ want to skip to the next song.
100 100
 BORING STUFF
101 101
 ----------------------------------------
102 102
 License is CC-0 (though, "gendl" is GPLv3)
103
-Author is Jenga Phoenix <jadedctrl@teknik.io>
103
+Author is Jaidyn Ann <jadedctrl@teknik.io>
104 104
 Sauce is at https://git.eunichx.us/wyrics.git
... ...
@@ -3,7 +3,7 @@
3 3
 # name: wydir
4 4
 # desc: run `wyrics` over every song in
5 5
 #       a directory of given file-ext
6
-# main: Jenga Phoenix
6
+# main: Jaidyn Ann
7 7
 #       <jadedctrl@teknik.io>
8 8
 # lisc: CC 0
9 9
 ########################################
... ...
@@ -2,8 +2,8 @@
2 2
 ########################################
3 3
 # name: wyrics
4 4
 # desc: fetch lyrics by URL or query
5
-#       from lyrics.wikia.com
6
-# main: Jenga Phoenix
5
+#       from lyrics.fandom.com
6
+# main: Jaidyn Ann
7 7
 #       <jadedctrl@teknik.io>
8 8
 # lisc: CC 0
9 9
 ########################################
... ...
@@ -71,7 +71,7 @@ function search {
71 71
 	local query="$1"
72 72
 	local query="$(echo "$query" | sed 's/ /+/g')"
73 73
 
74
-	gendl "https://lyrics.wikia.com/wiki/Special:Search?query=${query}" \
74
+	gendl "https://lyrics.fandom.com/wiki/Special:Search?query=${query}" \
75 75
 	| sed '1,/Results/d' \
76 76
 	| grep "result-link" \
77 77
 	| search_parse