dyVideoListCrack-master
所属分类:其他
开发工具:Python
文件大小:11061KB
下载次数:10
上传日期:2018-10-13 15:31:44
上 传 者:
ZhangDaPwn
说明: 利用python+mitmproxy+appium自动化爬取抖音视频
(use python+mitmproxy+appium get douyin_video)
文件列表:
.idea (0, 2018-10-12)
.idea\dyVideoListCrack.iml (455, 2018-09-15)
.idea\encodings.xml (159, 2018-09-15)
.idea\misc.xml (197, 2018-09-15)
.idea\modules.xml (284, 2018-09-15)
.idea\vcs.xml (180, 2018-09-15)
.idea\workspace.xml (26179, 2018-09-15)
app.py (10665, 2018-10-12)
dolphin (0, 2018-10-12)
dolphin\service (0, 2018-10-12)
dolphin\service\douyin (0, 2018-10-12)
dolphin\service\douyin\data (0, 2018-10-12)
dolphin\service\douyin\data\kol_thrift.thrift (138, 2018-09-15)
dolphin\service\douyin\data\__init__.py (23, 2018-09-15)
dolphin\service\douyin\kol.py (12063, 2018-09-15)
dolphin\service\douyin\kolserver.py (1455, 2018-09-15)
dolphin\service\douyin\__init__.py (23, 2018-09-15)
dolphin\service\__init__.py (23, 2018-09-15)
dolphin\__init__.py (0, 2018-09-15)
opt (0, 2018-10-12)
opt\chromedriver (12085652, 2018-09-15)
opt\chromedriver_mac64.zip (5653388, 2018-09-15)
settings.py (782, 2018-09-15)
test (0, 2018-10-12)
test\main.py (453, 2018-09-15)
test\__init__.py (24, 2018-09-15)
# dolphin
### 给定任意用户的uid, 实时爬去该用户所有的视频
方法一:
版本:python3
单个测试文件,注意替换html文件的路径和相应版本的chrome driver
> python app.py
![image](https://github.com/daxingshen/imgines/raw/master/444.png)
方法二:使用thriftpy服务话
linux平台,需安装chrome
运行
- 服务端
> cd dyVideoListCrack/dolphin/service/douyin
> PYTHONPATH=$PYTHONPATH:./../../../ python kolserver.py
## 这是我的地址:47.89.246.154:6000
调用方法:参考测试程序,
传入参数:用户uid
返回值:该用户的所有作品
## 备注: 本样例提供的是rpc接口,不是http
- 测试客户端
> cd dyVideoListCrack/test
> PYTHONPATH=$PYTHONPATH:../ python main.py
![image](https://github.com/daxingshen/imgines/raw/master/WX20180912-223024.png)
这里给出130万抖音用户的uid
[抖音用户id](https://github.com/daxingshen/loach/blob/master/douyin_distinct.txt)
近期下载者:
相关文件:
收藏者: