推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
easternslope
V2EX  ›  Python

Python 抖音机器人,论如何在抖音上找到漂亮小姐姐?

  easternslope ·
wangshub · May 28, 2018 · 23364 views
This topic created in 3086 days ago, the information mentioned may be changed or developed.

原文链接:https://zhuanlan.zhihu.com/p/37365182

最近沉迷于抖音无法自拔,常常花好几个小时在抖音漂亮小姐姐身上。

为了高效、直接地找到漂亮小姐姐,我用 Python + ADB 做了一个 Python 抖音机器人 Douyin-Bot。

特性

  • [x] 自动翻页
  • [x] 颜值检测
  • [x] 人脸识别
  • [x] 自动点赞
  • [x] 自动关注
  • [x] 随机防 Ban
  • [ ] 自动回复

原理

  • 打开《抖音短视频》 APP,进入主界面
  • 获取手机截图,并对截图进行压缩 (Size < 1MB);
  • 请求 人脸识别 API;
  • 解析返回的人脸 Json 信息,对人脸检测切割;
  • 当颜值大于门限值 BEAUTY_THRESHOLD时,点赞并关注;
  • 下一页,返回第一步;

使用教程

  1. 获取源码:git clone https://github.com/wangshub/Douyin-Bot.git
  2. 进入源码目录: cd Douyin-Bot
  3. 安装依赖: pip install -r requirements.txt
  4. 运行程序:python douyin-bot.py

注意

  • 目前暂时只适配了 一加 5(1920x1080 分辨率),如果手机不是该分辨率,请修改 config/ 文件夹下面的配置文件;

脸部截取

LICENSE

MIT

源码地址

https://github.com/wangshub/Douyin-Bot

欢迎 Star 和 Fork ~

110 replies  •  2019-05-04 11:13:05 +08:00
1  2  
❮ ❯
irobot03
irobot03
May 29, 2018
101
这个好 666 !
ujh353
ujh353
May 29, 2018
102
这个机智了 ///
snw
snw
May 29, 2018
103
benteke
benteke
May 29, 2018
104
还能判断 yanzhi 高低,666
easternslope
easternslope
OP
May 29, 2018
105
@snw 你妹的,吓到我了
zhou5320
zhou5320
May 30, 2018
106
我只能给你双击 666
easternslope
easternslope
OP
May 31, 2018
107
@snw 这个训练的感觉不是太好
mrhannibal87
mrhannibal87
May 31, 2018
108
厉害,老铁双击 666 !
snw
snw
May 31, 2018
109
@easternslope
表情 expression 好像只有一个维度,数值越大表示笑得越厉害,然后这张图的 expression 达到 100 就 undefined 了
shsf4
shsf4
May 4, 2019
110
有创意
1  2  
❮ ❯
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   825 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 36ms · UTC 17:16 · PVG 01:16 · LAX 09:16 · JFK 12:16
♥ Do have faith in what you're doing.