Featured image of post Python技巧 - 制作抖音引流脚本

Python技巧 - 制作抖音引流脚本

技巧记录

1、安装ApowerMirror软件(一个投屏软件)

2、安装adb驱动即Android Debug Bridge(安卓测试桥) tools,一个命令行窗口

3、了解命令

截屏命令

1
2

adb shell screencap -p /sdcard/screen.png

保存图片命令

1
2

adb pull /sdcard/screen.png

点击命令

1
2

adb shell input tap x y

翻页命令

1
2

adb shell input swipe x1 y1 x2 y2

4、脚本

1
2
3
4
5
6
7
8

import os
os.system('') # 执行截屏命令
os.system('') # 执行保存图片命令
# 根据关注按钮坐标执行点击操作
os.system('') # 执行点击关注命令
# 循转执行翻页命令
os.system('') # 执行翻页命令
Licensed under CC BY-NC-SA 4.0
最后更新于 Jul 30, 2025 11:43 +0800