✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

Seam

Seam

Github Downloads LICENSE

SBtream 项目, 经历 python 不成熟的模仿, Java 重构烂尾, 目前使用 rust 进行重构开发

多平台直播源地址获取

待办

欢迎各位大佬 PR , 积极响应, 友善沟通, 快速 CR, 给您最好的开源体验

  • [ ] GUI 从获取模式切换为订阅模式
  • [ ] 添加日志模块, 以便于用户反馈问题
    • [ ] 输出日志文件
  • [ ] 链接识别
    • 规定每个平台都需要实现判断一个链接是否是自己的, 并返回正确的 rid
  • [ ] 提取 CLI GUI 公共模块
    • [ ] util
    • [ ] config
      • 即使 cli 和 gui 有部分不重叠的部分, 但应该还是重叠部分更多
  • [ ] I18N
  • [ ] GUI action 添加便携版本, 方便已经安装了 WebView2 的用户使用

GUI

GUI

详情

CLI

❯ .seam.exe -l douyu -i 88080
[  {
    "rate": "超清1",
    "url": "http://url1"
  },
  {
    "rate": "超清2",
    "url": "http://url2"
  }
]

详情

下载

Releases · seam 下载 GUI/CLI可执行文件

使用

平台代号<RID> 位置弹幕房间名
B 站bilihttps://live.bilibili.com/<RID>
斗鱼douyuhttps://www.douyu.com/<RID>https://www.douyu.com/xx/xx?rid=<RID>
抖音douyinhttps://live.douyin.com/<RID>
虎牙huyahttps://huya.com/<RID>
快手kshttps://live.kuaishou.com/u/<RID>
CCcchttps://cc.163.com/<RID>
花椒huajiaohttps://www.huajiao.com/l/<RID>
艺气山yqshttps://www.173.com/<RID>
棉花糖mhthttps://www.2cq.com/<RID>
kkkkhttps://www.kktv5.com/show/<RID>
千帆qfhttps://qf.56.com/<RID>
Nownowhttps://now.qq.com/pcweb/story.html?roomid=<RID>
映客inkehttps://www.inke.cn/liveroom/index.html?uid=<RID>
afreecaafreecahttps://bj.afreecatv.com/<RID>
pandapandahttps://www.pandalive.co.kr/channel/<RID>
flexflexhttps://www.flextv.co.kr/channels/<RID>
winkwinkhttps://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 播放直播

贡献者

GitHub Contributors

感谢

  • wbt5/real-url
  • banner
  • 手把手教你破解斗鱼 sign 算法

Star History

Star History Chart

Featured Templates

View More
AI Assistants
AI Chatbot Starter Kit v0.1
130 667
Data Analysis
Pharmacy Admin Panel
238 1704
AI Agents
AI Video Generator
249 1348 5.0
Verified Icon
AI Agents
AI Chatbot Starter Kit
1309 6081 5.0

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.