bruh....youretarded
This commit is contained in:
parent
c685a36b4b
commit
0c4cb4cb07
@ -26,10 +26,10 @@ curl -s -b $COOKIE $BML_URL/profile > /dev/null
|
|||||||
while true; do
|
while true; do
|
||||||
CHECKDIFF1=$(echo $HISTORY | wc -c)
|
CHECKDIFF1=$(echo $HISTORY | wc -c)
|
||||||
HISTORY=$(curl -s -b $COOKIE $BML_URL/account/$BML_ACCOUNTID/history/today | jq -r '.payload | .history | .[]')
|
HISTORY=$(curl -s -b $COOKIE $BML_URL/account/$BML_ACCOUNTID/history/today | jq -r '.payload | .history | .[]')
|
||||||
|
CHECKDIFF2=$(echo $HISTORY | wc -c)
|
||||||
if [ "$CHECKDIFF1" = "$CHECKDIFF2" ]
|
if [ "$CHECKDIFF1" = "$CHECKDIFF2" ]
|
||||||
then
|
then
|
||||||
echo nothing new..checking again
|
echo nothing new..checking again
|
||||||
CHECKDIFF2=$(echo $HISTORY | wc -c)
|
|
||||||
else
|
else
|
||||||
TRANSFERAMOUNT=$(echo $HISTORY | jq -r .amount | head -n1)
|
TRANSFERAMOUNT=$(echo $HISTORY | jq -r .amount | head -n1)
|
||||||
TRANFERFROM=$(echo $HISTORY | jq -r .narrative3 | head -n1)
|
TRANFERFROM=$(echo $HISTORY | jq -r .narrative3 | head -n1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user