diff options
Diffstat (limited to 'dz')
-rwxr-xr-x | dz/dzq | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -10,8 +10,7 @@ rm /tmp/dzq 2> /dev/null curl -s "https://www.deezer.com/search/$q" | grep __DZR_APP_STATE__ | cut -d= -f2- | -jq -r '.TRACK.data[] | .SNG_TITLE + "\n" + .ART_NAME + "\n" + .SNG_ID' 2>&- | -paste - - - | +jq -r '.TRACK.data[] | .SNG_TITLE + "\t" + .ART_NAME + "\t" + .ALB_TITLE + "\t" + .SNG_ID' 2>&- | sed 's/ */ /g' | head -${2:-10} | nl -w 2 | |