'run.sh' hinzufügen

This commit is contained in:
Kaisa Marysia 2021-05-05 14:05:32 +02:00
parent 9e0a11fdfd
commit d4fbb6aba5

10
run.sh Normal file
View file

@ -0,0 +1,10 @@
#!/bin/bash
SOURCELINK="https://www.plastic-bomb.eu/2021/es-gibt-aber-auch-kaum-bands-in-denen-frauen-spielen/"  ✔  took 8m 59s  at 14:04:10
for i in $(curl "$SOURCELINK" | grep bandcamp | sed -n 's/.*href="\([^"]*\).*/\1/p'| sed 's/.com.*/.com/g');
do
for ilink in $(curl $i | grep "\"/album" | sed -n 's/.*href="\([^"]*\).*/\1/p'| sort | uniq); do
echo $i$ilink;
done
done > /tmp/foobar.txt