pull/105/head
RandomNinjaAtk 2 years ago committed by GitHub
parent a1529b3264
commit 4bd41a9181
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
scriptVersion="1.1.1" scriptVersion="1.1.2"
agent="ERA ( https://github.com/Makario1337/ExtendedReleaseAdder )" agent="ERA ( https://github.com/Makario1337/ExtendedReleaseAdder )"
### DEBUG ### ### DEBUG ###
@ -82,7 +82,7 @@ SearchAllArtistsByTag(){
offset=0 offset=0
tag="audio%20drama" tag="audio%20drama"
log "Collecting artists by tag :: Collecting..." log "Collecting artists by tag :: Collecting..."
while [ $offset -le 200 ] while [ $offset -le 5000 ]
do do
AllArtistsByTagWget=$(wget -U "$agent" --timeout=0 -q -O - "https://musicbrainz.org/ws/2/artist?query=tag:"audio%20drama"&limit=100&fmt=json&offset=$offset" | jq '.artists[].id') AllArtistsByTagWget=$(wget -U "$agent" --timeout=0 -q -O - "https://musicbrainz.org/ws/2/artist?query=tag:"audio%20drama"&limit=100&fmt=json&offset=$offset" | jq '.artists[].id')
AllArtistsByTag="$AllArtistsByTag $AllArtistsByTagWget" AllArtistsByTag="$AllArtistsByTag $AllArtistsByTagWget"

Loading…
Cancel
Save