~phate/bc-lyrics

1f9086210beb935dcccfccb18b1dad53578bc6a1 — ValleyKnight 1 year, 5 months ago ccce4a3
add system of a down
1 files changed, 6 insertions(+), 1 deletions(-)

M bc-lyrics
M bc-lyrics => bc-lyrics +6 -1
@@ 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: