Created
April 22, 2020 16:06
-
-
Save megatontech/5ce2c2039bd91a51f0f74d003b9d2b5d to your computer and use it in GitHub Desktop.
ACFUN迎新脚本
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
var url = "https://www.acfun.cn/rest/pc-direct/relation/follow"; | |
var data = {toUserId:12798600,action:1,groupId:0}; | |
var follow = function(data){ jQuery.post(url,data,function(result){console.log(result)});}; | |
var count = 0;setInterval(function(){if(count<100){ data.toUserId+=count;follow(data); console.log(count);count++;}},5000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment