wangshub / douyin-bot Goto Github PK
View Code? Open in Web Editor NEW😍 Python 抖音机器人,论如何在抖音上找到漂亮小姐姐?
Home Page: https://zhuanlan.zhihu.com/p/37365182
License: MIT License
😍 Python 抖音机器人,论如何在抖音上找到漂亮小姐姐?
Home Page: https://zhuanlan.zhihu.com/p/37365182
License: MIT License
因为测试用的是小米2s,分辨率是 1280 x 720,config.json
内容是:
{
"center_point":{
"x": 360,
"y": 640,
"rx": 10,
"ry": 200
},
"follow_bottom":{
"x": 659,
"y": 537,
"rx": 10,
"ry": 10
},
"star_bottom":{
"x": 658,
"y": 652,
"rx": 10,
"ry": 10
}
}
请问如何根据手机分辨率如何进行定位,希望能给个教程或者工具,谢谢
真是人才!!!!!!
找漂亮小姐姐不是直接关注** @任青安**就可以了吗
1920x1080,若不关闭导航栏则会导致点击位置发生偏移。能否对此进行判断,然后改变点击位置呢?
虽然也是1920x1080的屏幕,但有时候会点到评论,然后整个逻辑就乱了。。用这个配置文件可以解决。测试了几个小时都没有差错,最后被抖音限制了点赞速度。。
{
"center_point":{
"x": 540,
"y": 965,
"rx": 10,
"ry": 300
},
"follow_bottom":{
"x": 987,
"y": 795,
"rx": 10,
"ry": 10
},
"star_bottom":{
"x": 986,
"y": 954,
"rx": 10,
"ry": 10
}
}
{
"center_point":{
"x": 540,
"y": 965,
"rx": 10,
"ry": 300
},
"follow_bottom":{
"x": 990,
"y": 950,
"rx": 10,
"ry": 10
},
"star_bottom":{
"x": 1000,
"y": 1083,
"rx": 10,
"ry": 10
}
}
{'ret': 4096, 'msg': 'paramter invalid', 'data': {'image_width': 0, 'image_height': 0, 'face_list': []}}
shell input swipe 540 1265 540 965 200
返回值4096,表示参数错误,搞不懂哪里的参数错了。
需要一个照妖镜功能 关美颜 关瘦脸
开美颜:年龄21,魅力值:76,表情:眉开眼笑;不开美颜显示年龄27,魅力值:100,表情:笑尽妖娆;人脸对比相似度94%;所以这个人脸接口找到的真的全是漂亮的吗
check_screenshot函数运行结果为不支持当前设备,什么机型可以截屏?我的手机可以运行跳一跳辅助为什么在这个项目这里出现截屏问题?vivo y55a的手机
求大神指点
Screen: Physical size: 1080x1920
Density: Physical density: 480
Device: gemini
Phone OS: 8.0.0
Host OS: win32
Python: 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AMD64)]
shell screencap -p /sdcard/autojump.png
pull /sdcard/autojump.png .
shell input swipe 540 1265 540 965 200
shell screencap -p /sdcard/autojump.png
pull /sdcard/autojump.png .
the JSON object must be str, not 'bytes'
{'ret': -1}
shell input swipe 540 1265 540 965 200
shell screencap -p /sdcard/autojump.png
pull /sdcard/autojump.png .
the JSON object must be str, not 'bytes'
{'ret': -1}
shell input swipe 540 1265 540 965 200
shell screencap -p /sdcard/autojump.png
https://github.com/nodeps/Douyin-Bot/blob/master/config/2280x1080/config.json
只需要改点赞和关注的y坐标
follow_bottom.y= 1170
star_bottom.y= 1315
新买的测试机~_~
一个都找不到, 这个怎么解决,是哪里设置不对么
通过照片的像素切割后,然后跟自己设立的标准对比??
tensorflow 党表不服 至少也要 cnn吧
我实现了,但是没有看到有图片保存啊
JSON object must be str, not 'bytes'
{“ret”: -1}
(base) E:\Douyin-Bot>python douyin-bot.py
检查设备是否连接...
设备已连接
adb 输出:
List of devices attached
c8dec4aa device
Load default config
程序版本号:0.0.1
激活窗口并按 CONTROL + C 组合键退出
Screen: Physical size: 720x1280
Density: Physical density: 320
Device: PD1621
Phone OS: 6.0.1
Host OS: win32
Python: 3.6.5 |Anaconda, Inc.| (default, Mar 29 2018, 13:32:41) [MSC v.1900 64 b
it (AMD64)]
shell screencap -p /sdcard/autojump.png
pull /sdcard/autojump.png .
4802 KB/s (786767 bytes in 0.160s)
采用方式 0 获取截图
shell input swipe 540 1265 540 965 200
shell screencap -p /sdcard/autojump.png
pull /sdcard/autojump.png .
4344 KB/s (783065 bytes in 0.176s)
{'ret': 16404, 'msg': 'system busy, please try again later', 'data': {'image_wid
th': 0, 'image_height': 0, 'face_list': []}}
shell input swipe 540 1265 540 965 200
shell screencap -p /sdcard/autojump.png
pull /sdcard/autojump.png .
4395 KB/s (787688 bytes in 0.175s)
{'ret': 16404, 'msg': 'system busy, please try again later', 'data': {'image_wid
th': 0, 'image_height': 0, 'face_list': []}}
shell input swipe 540 1265 540 965 200
shell screencap -p /sdcard/autojump.png
pull /sdcard/autojump.png .
4461 KB/s (785873 bytes in 0.172s)
{'ret': 16404, 'msg': 'system busy, please try again later', 'data': {'image_wid
th': 0, 'image_height': 0, 'face_list': []}}
shell input swipe 540 1265 540 965 200
shell screencap -p /sdcard/autojump.png
pull /sdcard/autojump.png .
4181 KB/s (775034 bytes in 0.181s)
{'ret': 16404, 'msg': 'system busy, please try again later', 'data': {'image_wid
th': 0, 'image_height': 0, 'face_list': []}}
shell input swipe 540 1265 540 965 200
shell screencap -p /sdcard/autojump.png
pull /sdcard/autojump.png .
5000 KB/s (783483 bytes in 0.153s)
{'ret': 16404, 'msg': 'system busy, please try again later', 'data': {'image_wid
th': 0, 'image_height': 0, 'face_list': []}}
shell input swipe 540 1265 540 965 200
shell screencap -p /sdcard/autojump.png
pull /sdcard/autojump.png .
4375 KB/s (788605 bytes in 0.176s)
{'ret': 16404, 'msg': 'system busy, please try again later', 'data': {'image_wid
th': 0, 'image_height': 0, 'face_list': []}}
shell input swipe 540 1265 540 965 200
shell screencap -p /sdcard/autojump.png
pull /sdcard/autojump.png .
4090 KB/s (787552 bytes in 0.188s)
{'ret': 16404, 'msg': 'system busy, please try again later', 'data': {'image_wid
th': 0, 'image_height': 0, 'face_list': []}}
shell input swipe 540 1265 540 965 200
shell screencap -p /sdcard/autojump.png
pull /sdcard/autojump.png .
4106 KB/s (786286 bytes in 0.187s)
kill-server
谢谢使用
(base) E:\Douyin-Bot>
没有打开抖音
需要登陆抖音吗?
我想对B站的抖音视频集合进行操作,像您一样检测小姐姐颜值再OCR抖音ID然后关注。请问要如何在正确的时间点截屏?因为有些小姐姐开始的时候是不露正脸的。因为有一些视频是从火山等平台扒的,如何检测右下角logo和id变化,要用什么库呢?万分感谢
...
如题
python douyin-bot.py
错误
File "douyin-bot.py", line 50
print('谢谢使用', end='')
^
SyntaxError: invalid syntax
pip install -r requirements.txt
bash: pip: command not found
建议添加休息功能防止被封禁,经过检测在(Tiktok)中运行一段时间后会被封禁(点赞与关注过于频繁)
我做了海外版抖音(Tiktok)的适配于自动休息的实现。
https://github.com/tuzimoe/Tiktok-Bot
$ python douyin-bot.py
File "douyin-bot.py", line 53
print('谢谢使用', end='')
为啥啊,我adb命令可以用的
RT,这个问题是不是要提交给ai.qq.com ?
访问AI平台超时?怎么破
保护一下祖国花朵。
对于有虚拟按键的机型,整个app的控制按钮会向上移导致原有的json配置文件失效
按教程说的做了,可是没什么反应
第一届抖音选美大赛就此诞生
在手机截图后,添加是否已美颜的检测(或许可以忽略此步),如果是的话进行反美颜之后再进行人脸检测
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)>
通常来说,播放最多的视频是最美的样子吧?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.