'run.sh' hinzufügen
This commit is contained in:
parent
9e0a11fdfd
commit
d4fbb6aba5
1 changed files with 10 additions and 0 deletions
10
run.sh
Normal file
10
run.sh
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue