summaryrefslogtreecommitdiff
path: root/lf/lfs
diff options
context:
space:
mode:
Diffstat (limited to 'lf/lfs')
-rwxr-xr-xlf/lfs19
1 files changed, 0 insertions, 19 deletions
diff --git a/lf/lfs b/lf/lfs
deleted file mode 100755
index 112e994..0000000
--- a/lf/lfs
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-# Get similar songs from Last.fm
-
-usage() { echo usage: $0 base-url 1>&2; exit 1; }
-
-url=$1
-
-# Retrieve similar songs
-curl -s "$url" |
-sed '/^[ ]*$/d' |
-awk -F \" '
- /class="track-similar-tracks-item-name"/ {
- getline;
- getline;
- print $2;
- }
-' |
-sed 's,^,https://www.last.fm,'