{"id":37854368,"url":"https://github.com/wwengg/douyin","last_synced_at":"2026-01-16T16:24:27.262Z","repository":{"id":156111835,"uuid":"632852812","full_name":"wwengg/douyin","owner":"wwengg","description":"抖音[直播伴侣]推流密钥获取工具 抖音直播间弹幕、进入房间等数据通过Websocket对接Fay","archived":false,"fork":false,"pushed_at":"2023-10-18T02:25:59.000Z","size":148,"stargazers_count":220,"open_issues_count":5,"forks_count":68,"subscribers_count":7,"default_branch":"master","last_synced_at":"2023-10-18T03:29:15.508Z","etag":null,"topics":["docker","https","proxy"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wwengg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-04-26T09:07:53.000Z","updated_at":"2023-10-16T09:20:38.000Z","dependencies_parsed_at":"2023-06-09T09:15:19.942Z","dependency_job_id":null,"html_url":"https://github.com/wwengg/douyin","commit_stats":null,"previous_names":[],"tags_count":2,"template":null,"template_full_name":null,"purl":"pkg:github/wwengg/douyin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwengg%2Fdouyin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwengg%2Fdouyin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwengg%2Fdouyin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwengg%2Fdouyin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wwengg","download_url":"https://codeload.github.com/wwengg/douyin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wwengg%2Fdouyin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479784,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","https","proxy"],"created_at":"2026-01-16T16:24:26.747Z","updated_at":"2026-01-16T16:24:27.253Z","avatar_url":"https://github.com/wwengg.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# douyin\n抖音[直播伴侣]推流密钥获取工具\n抖音直播间弹幕、进入房间等数据获取，通过Websocket对接Fay\n\n### 大概思路\n通过中间人代理获取开播返回的rtmp地址\n\n### 实现流程\n1. 用户安装CA证书\n2. 启动代理服务器\n3. 检测到开播\n4. 解析得出RTMP地址\n5. 强制结束直播伴侣(不能点断开)\n6. OBS介入推流\n7. 关闭代理服务器\n8. 退出本进程\n\n\n### OpenSSL生成证书\n```bash\n./certificates/generate-certificates.sh\n```\n\n### MacOS信任证书\n```bash\nsudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ./certificates/proxy-ca.crt\n```\n### Windows信任证书\n1. 双击打开./certificates/proxy-ca.crt,点击【安装证书】\n2. 选择【本地计算机】并单击下一步\n3. 选择【将所有的证书都放入下列存储(P)】-\u003e 点击【浏览】\n4. 选中第二个【受信任的根证书颁发机构】-\u003e 点击【确定】-\u003e 选择【下一步】\n5. 选择【完成】-\u003e 点击【确定】-\u003e 点击【确定】\n###\n\n### Android信任证书\n1. 将proxy-ca.crt发至手机\n2. 。。。。\n\n### Ios信任证书\n1. 将proxy-ca.crt发至手机\n2. 。。。。\n\n## 注意事项\n要关直播请再次运行直播伴侣 点 继续直播 然后再关闭直播 否则就算不推流了也不会立刻下播（懒得写下播了）\n\n### Fay中需将json的大写首字母改成小写\n![Fay中需修改的代码](fay/fay.pic.jpg)\n\n## 运行说明\n\n### Docker运行\n\u003e 需要先生成证书\n```bash\n./certificates/generate-certificates.sh\ncd ./docker\ndocker-compose up -d\n```\n\n### release下载可执行文件运行\n\n\u003e 1. [下载](https://github.com/wwengg/douyin/releases)\n\u003e 2. 生成证书\n\u003e 3. 信任证书\n\u003e 4. 打开可执行文件\n\u003e 5. 将证书发给需要代理的设备\n\u003e 6. 电脑/手机设置代理地址 ip:8001\n\n### 感谢\n- [goproxy](https://github.com/elazarl/goproxy)\n- [Fay](https://github.com/TheRamU/Fay)\n- [get-douyin-rtmp](https://github.com/Cloud370/get-douyin-rtmp)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwwengg%2Fdouyin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwwengg%2Fdouyin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwwengg%2Fdouyin/lists"}