Seam
获取多直播平台的直播源
Install / Use
/learn @Borber/SeamREADME
原
SBtream项目, 经历 python 不成熟的模仿, Java 重构烂尾, 目前使用 rust 进行重构开发
多平台直播源地址获取
待办
欢迎各位大佬 PR , 积极响应, 友善沟通, 快速 CR, 给您最好的开源体验
- [ ] GUI 从获取模式切换为订阅模式
- [ ] 添加日志模块, 以便于用户反馈问题
- [ ] 输出日志文件
- [ ] 链接识别
- 规定每个平台都需要实现判断一个链接是否是自己的, 并返回正确的 rid
- [ ] 提取 CLI GUI 公共模块
- [ ] util
- [ ] config
- 即使 cli 和 gui 有部分不重叠的部分, 但应该还是重叠部分更多
- [ ] I18N
- [ ] GUI action 添加便携版本, 方便已经安装了 WebView2 的用户使用
GUI

详情
CLI
❯ .\seam.exe -l douyu -i 88080
http://url1
http://url2
详情
下载
Releases · seam 下载 GUI/CLI可执行文件
使用
| 平台 | 代号 | <RID> 位置 | 详情 | 弹幕 |
| ------------------------------------- | -------- | ------------------------------------------------------------------------ | ------------ | -------- |
| B 站 | bili | https://live.bilibili.com/<RID> | ✅ | ✅ |
| 斗鱼 | douyu | https://www.douyu.com/<RID> 或 https://www.douyu.com/xx/xx?rid=<RID> | ✅ | |
| 抖音 | douyin | https://live.douyin.com/<RID> | ✅ | |
| 虎牙 | huya | https://huya.com/<RID> | | |
| 快手 | ks | https://live.kuaishou.com/u/<RID> | | |
| CC | cc | https://cc.163.com/<RID> | | |
| 花椒 | huajiao | https://www.huajiao.com/l/<RID> | | |
| 艺气山 | yqs | https://www.173.com/<RID> | | |
| 棉花糖 | mht | https://www.2cq.com/<RID> | | |
| kk | kk | https://www.kktv5.com/show/<RID> | | |
| 千帆 | qf | https://qf.56.com/<RID> | | |
| Now | now | https://now.qq.com/pcweb/story.html?roomid=<RID> | | |
| 映客 | inke | https://www.inke.cn/liveroom/index.html?uid=<RID> | | |
| afreeca | afreeca | https://bj.afreecatv.com/<RID> | | |
| panda | panda | https://www.pandalive.co.kr/channel/<RID> | | |
| flex | flex | https://www.flextv.co.kr/channels/<RID> | | |
| wink | wink | https://www.winktv.co.kr/channel/<RID> | | |
配置
config.toml 放置在 seam 可执行文件所在目录下
# 播放器路径或命令
# 请自行安装播放器, 请确认它可以通过命令行+链接打开视频文件
[play]
# potplayer 样例
# bin = "C:\\Program Files (x86)\\Pure Codec\\x64\\PotPlayerMini64.exe"
bin = "mpv"
# 播放器参数
args = []
# headers 支持所有合法 http 请求头字段
# global 为全局请求头, 会被各平台请求头覆盖
# 请注意 不要覆盖虎牙的 user-agent, 否则会导致获取失败
[headers.global]
# user-agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.200"
# 抖音 cookie 必须
[headers.douyin]
cookie = "xxxx"
# 快手 cookie 必须
[headers.ks]
cookie = "xxxx"
# 斗鱼设置登录账户 cookie 情况下可以获取到备用线路高清源
[headers.douyu]
cookie = "xxxx"
# [rid]: 房间号
# [title]: 标题
# [time]: 时间戳
# [date]: 日期
[file_name]
# 录制文件标题
video = "[rid]-[title]-[date]-[time]"
# danmu文件标题
danmu = "[rid]-[title]-[date]-[time]"
cookie 获取方法: 额外说明
路线
相关项目
- seamui 由 kirito41dd 开发的
seam图形化界面 - SeamPotPlayer 由chen310 开发, 直接在 PotPlayer 中调用 seam 播放直播
贡献者
感谢
Star History
<a href="https://github.com/Borber/seam/stargazers"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=Borber/seam&type=Date&theme=dark" /> <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=Borber/seam&type=Date" /> <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=Borber/seam&type=Date" /> </picture> </a>Related Skills
node-connect
342.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.7kCommit, push, and open a PR
