Created
January 15, 2024 23:53
-
-
Save tinwritescode/0e39113a89ce1bebdf2f2330125a0914 to your computer and use it in GitHub Desktop.
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
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