# 抖音直播弹幕抓取 基于workerman开发的超高性能PHP框架 ## 使用方法 1. php 版本 >=7.2 2. 通过 composer 安装相关依赖 3. 项目根目录执行 php webman test:test start 4. 项目启动后会启动 websocket 服务在 4200 端口,通过postman 模拟连接,发送如下消息后就能得到返回的消息 ``` { "url":"https://live.douyin.com/619592756125" } { "url":"https://live.douyin.com/320534089631" } { "url":"https://live.douyin.com/362215320348" } ``` 提供一个测试地址 ws://47.93.122.172:4200 { "url":"https://live.douyin.com/619592756125" } php webman test:test start php start.php start