Created
September 28, 2024 18:49
-
-
Save the-pesar/a8724d3e4be1f91a8388265eabee4a57 to your computer and use it in GitHub Desktop.
$COUB airdrop task autocomplete
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const token = "$token" // replace your token here | |
const headers = { | |
Authorization: token, | |
} | |
async function delay(ms) { | |
return new Promise((reslove) => setTimeout(() => reslove(true), ms)) | |
} | |
async function makeMoney() { | |
for (let i = 1; i < 50; i++) { | |
const res = await fetch( | |
`https://rewards.coub.com/api/v2/complete_task?task_reward_id=${i}`, | |
{ | |
headers, | |
} | |
) | |
console.log(`${i} - ${res.status}`) | |
await delay(250) | |
} | |
} | |
makeMoney() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment