mirror of
https://github.com/danog/audiokeychain-clients.git
synced 2024-11-30 04:08:58 +01:00
Update
This commit is contained in:
parent
acec146126
commit
19672604c4
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
*mp3
|
@ -9,4 +9,7 @@ Usage:
|
||||
./audiokeychain.sh song.mp3
|
||||
```
|
||||
|
||||
Todo:
|
||||
Add submit to database option and show compatible keys
|
||||
|
||||
Created by [Daniil Gentili](https://daniil.it)
|
||||
|
@ -21,6 +21,8 @@ if ! echo "$uploadresult" | grep -q 'name'; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
while [ "$(curl -q "https://www.audiokeychain.com/progress/$bucket")" != "0" ];do :;done
|
||||
|
||||
result=$(curl -q "https://www.audiokeychain.com/queue/$bucket" -H 'Host: www.audiokeychain.com' -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0' -H 'Accept: application/json, text/javascript, */*; q=0.01' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -H 'X-Requested-With: XMLHttpRequest' -H 'Connection: keep-alive' --data 'errors=%5B%5D' -b $cookies | ./JSON.sh -s | sed '/^\["tracks",0\]\t/!d;s/^\["tracks",0\]\t//g;s/^"//g;s/"$//g;s/[<]\/tr[>].*/<\/tr>/g')
|
||||
|
||||
printf "$result"
|
||||
|
Loading…
Reference in New Issue
Block a user