Skip to content

Instantly share code, notes, and snippets.

@tinwritescode
Created January 15, 2024 23:53
Show Gist options
  • Save tinwritescode/0e39113a89ce1bebdf2f2330125a0914 to your computer and use it in GitHub Desktop.
Save tinwritescode/0e39113a89ce1bebdf2f2330125a0914 to your computer and use it in GitHub Desktop.
async function voteObito() {
Logger.log("start wait")
Utilities.sleep(5000);
Logger.log("end wait")
const res = UrlFetchApp.fetch('https://api.wechoice.vn/Handler/SetVote.aspx?award=4&id=101&type=1', {
headers: {
cookie: '<replace here>',
referer: 'https://wechoice.vn/'
}
})
Logger.log(res.getContentText());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment