more verbosity
This commit is contained in:
parent
7e6694e97a
commit
317c8acf1e
|
@ -11,12 +11,14 @@ touch "$visited"
|
||||||
{ curl "https://bandcamp.com/tag/$tag?tab=all_releases&s=random" 2>/dev/null | grep -oP "https://[a-zA-Z0-9\-äöü]*?.bandcamp.com/album/.*?(?=")" | while read album; do
|
{ curl "https://bandcamp.com/tag/$tag?tab=all_releases&s=random" 2>/dev/null | grep -oP "https://[a-zA-Z0-9\-äöü]*?.bandcamp.com/album/.*?(?=")" | while read album; do
|
||||||
if grep -q "$album" "$visited"; then
|
if grep -q "$album" "$visited"; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
echo "$album"
|
||||||
surf "$album"
|
surf "$album"
|
||||||
echo -n "Like? "
|
echo -n "Like? "
|
||||||
read -u 3 like
|
read -u 3 like
|
||||||
if [ "$like" == "y" ]; then
|
if [ "$like" == "y" ]; then
|
||||||
echo "$album" >> "$liked"
|
echo "$album" >> "$liked"
|
||||||
|
echo "added to $liked"
|
||||||
fi
|
fi
|
||||||
echo "$album" >> "$visited"
|
echo "$album" >> "$visited"
|
||||||
done; } 3<&0
|
done; } 3<&0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user