![]()
Seam
原
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
[ {
"rate": "超清1",
"url": "http://url1"
},
{
"rate": "超清2",
"url": "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]"
额外说明
路线
seam
相关项目
- seamui 由 kirito41dd 开发的
seam图形化界面 - SeamPotPlayer 由chen310 开发, 直接在 PotPlayer 中调用 seam 播放直播
贡献者
感谢
- wbt5/real-url
- banner
- 手把手教你破解斗鱼 sign 算法
Star History
Seam
Project Details
- bystanderc/seam
- MIT License
- Last Updated: 8/24/2023
Recomended MCP Servers
Databutton MCP Server
Integração de LangChain e MCP para processamento de linguagem natural e avaliação de expressões matemáticas.
This is an MCP (Model Context Protocol) server that allows executing shell commands within a Docker container. It...
High-performance string search MCP server with automatic CPU core scaling
Example mcp server in typescript
CLI to set up and deploy MCP Servers to Cloudflare Workers in seconds. Just write TypeScript functions to...
MCP server for creating whimsical boards from an LLM context
Awesome MCP template for awesome FastAPI builders
Playwright Tools for MCP
A MCP server for Snapshot
A neural network system that develops through psychological stages from infancy to maturity, implementing emotional regulation, attachment, and...





