auto.js 快手极速版刷视频 结合网上脚本进一步优化
设备: 安卓手机 android 7.0 以上
app: 快手极速版,auto.js 4_1_1。
脚本: kuaishou.js
优化历史
–3.0 加入点赞,优化时间分配。(直接下载,没有解压密码)
–2.0 简化子函数;缩短视频观看时间,增加视频数量;加入直播图片非收益识别;出意外(连续五次非收益)自动停止,且弹窗不关闭
–1.0 如下
使用方法
1、 安装快手极速版
复制下面的代码,到快手极速版 ,最低可以获得一亓。
¥Y3pjweA71¥
1
2、 安装auto.js
3、 权限与设置
运行无障碍
悬浮窗打开
使用音量上键停止所有脚本 (是下面那个!!)
4、 导入脚本(js文件)
5、 运行脚本(停止脚本用音量上键)
点那个播放
成功示意图
脚本功能介绍
大概功能,3.0优化了好多,这里还是2.0的脚本,懒得放细节了
3.0文末下载就好
1. 滑到下一个视频
模拟滑到下一个视频,观看时间随机(10-12s),触控位置随机。
代码如下:
function nextVideo(x1, y1, x2, y2, duration){
swipe(x1, y1, x2, y2, duration); //下一个视频
delayTime =(Math.floor(Math.random() * 2) + 10) * 1000; //这里设置每个视频的观看时间为 10-12 秒之间
sleep(delayTime); //在视频停留10-12秒
}
1
2
3
4
5
2. 视频没意思,这个不看了
模拟滑到下一个视频,观看时间随机(2-4s),触控位置随机
代码如下:
function nextTwo(x1, y1, x2, y2, duration){
console.log("没意思,这个不看了");
swipe(x1, y1, x2, y2, duration);
delayTime =(Math.floor(Math.random() * 2) + 2) * 1000; //这里设置每个视频的观看时间为 2-4 秒之间
sleep(delayTime); //在视频停留2-4秒
swipe(x1, y1, x2, y2, duration);
}
1
2
3
4
5
6
7
8
3. 意犹未尽,滑到上一个视频,再看一遍
模拟滑到上一个视频,观看时间随机(10-12s),触控位置随机。
代码如下:
function lookBack(x1, y1, x2, y2, duration){
console.log("开始往回看一个视频");
swipe(x1, y2, x2, y1, duration); //上一个视频
delayTime =(Math.floor(Math.random() * 2) + 10) * 1000; //这里设置每个视频的观看时间为 10-12 秒之间
sleep(delayTime); //在视频停留 10-12 秒
}
1
2
3
4
5
6
4. 意犹未尽,滑到上一个视频,再看一遍,并且点了个赞
模拟双击666,随机
代码如下:
j = random(1,2);
if (j == 1){
console.log("觉得很好并点了个赞");
click(width / 2 + (Math.floor(Math.random() * 5) + 1), height / 2 + (Math.floor(Math.random() * 6) + 1));
click(width / 2 + (Math.floor(Math.random() * 5) + 1), height / 2 + (Math.floor(Math.random() * 6) + 1));
sleep((Math.floor(Math.random() * 1) + 1) * 1000); //停 1-2 s
}
1
2
3
4
5
6
7
5.点赞
function clicklike(){
sleep((Math.floor(Math.random() * 1) + 1) * 500);
click(width / 2 + (Math.floor(Math.random() * 3) + 1), height / 2 + (Math.floor(Math.random() * 3) + 1));
sleep(Math.floor(Math.random() * 50) + 50);
click(width / 2 + (Math.floor(Math.random() * 3) + 1), height / 2 + (Math.floor(Math.random() * 3) + 1));
sleep((Math.floor(Math.random() * 1) + 1) * 500);
log("点个赞");
}
1
2
3
4
5
6
7
8
6.识别直播图片,跳过
if (!findIncomeIcon()){
nextV2(bottomX, bottomY, topX, topY,duration);
log("图片|直播,下一个");
k = k + 1;
if(k - i > 5){
log("出意外了");
break;
}
continue;
}
1
2
3
4
5
6
7
8
9
10
end
打包下载
提取码:zq67
下面可以复制
zq67
1
解压密码也是邀请码
844921239
1
end