From 1f9086210beb935dcccfccb18b1dad53578bc6a1 Mon Sep 17 00:00:00 2001 From: ValleyKnight Date: Wed, 18 Nov 2020 04:41:52 -0500 Subject: [PATCH] add system of a down --- bc-lyrics | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bc-lyrics b/bc-lyrics index f7c18b8..b23078c 100644 --- a/bc-lyrics +++ b/bc-lyrics @@ -19,7 +19,8 @@ filter='pup "head meta:nth-of-type(1) attr{content}"' # For decoding url-encoded text: # - `'` -> `'` # - `&` -> `&` -- TODO: fix this, it doesn't work -sed_filter="sed -e \"s/'/'/g\" -e \"s/&/&/g\"" +# - `’` -> `'` +sed_filter="sed -e \"s/'/'/g\" -e \"s/&/&/g\" -e \"s/’/'/g\"" # Remove all parentheses, change all uppercase to lowercase url_filter="sed -e s/\(//g -e s/\)//g | tr '[:upper:]' '[:lower:]'" @@ -43,6 +44,10 @@ if [ "$artist" = "Guerrilla Warfare" ]; then elif [ "$artist" = "Rabbit Junk" ]; then artist="rabbitjunk" mkurl +elif [ "$artist" = "System Of A Down" ]; then + artist="systemofadown.bandcamp" + track="$track-2" + mkurl fi ## Output example: -- 2.45.2