<p align="center">
<img src="https://image.biliup.me/2024-06-26/1719388842-365149-logo.png" width="400" alt="logo">
</p>
<div align="center">
[![python](https://img.shields.io/badge/python-3.7%2B-blue)](http://www.python.org/download)
[![PyPI](https://img.shields.io/pypi/v/biliup)](https://pypi.org/project/biliup)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/biliup)](https://pypi.org/project/biliup)
[![license](https://img.shields.io/github/license/biliup/biliup)](https://github.com/biliup/biliup/blob/master/LICENSE)
[![Telegram](https://img.shields.io/badge/Telegram-Group-blue.svg?logo=telegram)](https://t.me/+IkpIABHqy6U0ZTQ5)
[![issues](https://img.shields.io/github/issues/biliup/biliup?label=Github%20issues)](https://github.com/biliup/biliup/issues)
[![STARS](https://img.shields.io/github/stars/biliup/biliup)](https://github.com/biliup/biliup/stargazers)
[![forks](https://img.shields.io/github/forks/biliup/biliup)](https://github.com/biliup/biliup/network)
</div>
<p align="center">
录制各大主流直播平台并上传至哔哩哔哩弹幕网<br />
自动选择上传线路,保证上传稳定性,可手动调整并发<br />
支持录制哔哩哔哩、斗鱼、虎牙、Twitch直播弹幕用于外挂播放器<br />
防止录制花屏(使用默认的stream-gears下载器就会有这个功能),解决网络、PK导致的花屏。
<br />
<a href="https://biliup.github.io/biliup/docs/guide/changelog"><strong>更新日志 »</strong></a>
<br />
<br />
<a href="https://github.com/biliup/biliup/wiki/%E5%AE%89%E8%A3%85-%E8%BF%90%E8%A1%8C-%E6%9B%B4%E6%96%B0-%E5%8D%B8%E8%BD%BD">简易教程</a>
·
<a href="https://biliup.me/">交流社区</a>
·
<a href="https://github.com/biliup/biliup-app">投稿工具</a>
</p>
</div>
<p align="center">
<b>社区教程</b>: <a href="https://www.bilibili.com/opus/908292536945082370">图文教程</a> by <a href="https://github.com/ikun1993">@ikun1993</a>编写。
</p>
## Quick Start
### Windows
下载 exe: [Release](https://github.com/biliup/biliup/releases/latest)
### Linux or macOS
0. python`version >= 3.8`
1. `pip3 install biliup`
2. `biliup start`
3. 启动时访问 `http://your-ip:19159` 使用webUI,
### Docker
```sh
docker run -d \
--name biliup \
--restart unless-stopped \
-p 0.0.0.0:19159:19159 \
-v /path/to/save_folder:/opt \
ghcr.io/biliup/caution:latest \
--password password123
```
#### docker-compose.yml [点我](https://github.com/biliup/biliup/blob/master/docker-compose.yml)
* 用户名为`biliup`
* 暴露在公网中也许会产生风险,所以设置密码是很有必要的。
* 以上示例根据需求进行修改,只作为参考。
* * * * * * * * *
![](.github/resource/light.png)
![](.github/resource/dark.png)
## How to Contribute
1. nodejs `version >= 18`
2. `npm i`
3. `npm run dev`
4. `python3 -m biliup`
5. 访问`http://localhost:3000`
## 支持
| 直播平台 | 支持类型 | 链接示例 | 特殊注释 |
| :------:| :--------------: | --------- | ------ |
| 虎牙 | 直播 | `https://www.huya.com/123456` | 可录制弹幕 |
| 斗鱼 | 直播 | `https://www.douyu.com/123456` | 可录制弹幕 |
| YY语音 | 直播 | `https://www.yy.com/123456` |
| 哔哩哔哩 | 直播 | `https://live.bilibili.com/123456` | 特殊分区hls流需要单独配置/可录制弹幕 |
| acfun | 直播 | `https://live.acfun.cn/live/123456` |
| afreecaTV | 直播 | `https://play.afreecatv.com/biliup123/123456` | 录制部分直播时需要登陆 |
| bigo | 直播 | `https://www.bigo.tv/123456` |
| 抖音 | 直播 | 直播:`https://live.douyin.com/123456(直播间数字号)`<br>直播:`https://live.douyin.com/tiktok(抖音号)`<br>主页:`https://www.douyin.com/user/456789(抖音号)` | 使用主页链接或被风控需配置cookies |
| 快手 | 直播 | `https://live.kuaishou.com/u/biliup123` | 监控开播需使用中国大陆IPv4家宽,<br>且24小时内单直播间最多120次请求 |
| 网易CC | 直播 | `https://cc.163.com/123456` |
| flextv | 直播 | `https://www.flextv.co.kr/channels/123456/live` |
| 映客 | 直播 | `https://www.inke.cn/liveroom/index.html?uid=123456` |
| 猫耳FM | 直播 | `https://fm.missevan.com/live/123456` | 猫耳为纯音频流 |
| nico | 直播 | `https://live.nicovideo.jp/watch/lv123456` | 可配置登录信息 |
| twitch | 直播<br>回放 | 直播:`https://www.twitch.tv/biliup123`<br>回放:`https://www.twitch.tv/biliup123/videos?filter=archives&sort=time` | 可配置登录信息/尽量录制回放/可录制弹幕 |
| youtube | 直播<br>回放 | 直播:`https://www.youtube.com/watch?v=biliup123(单场)`<br>直播:`https://www.youtube.com/@biliup123/live(最远的预约)`<br>回放:`https://www.youtube.com/@biliup123/videos` | 可配置登录信息/尽量录制回放/可配置回放下载日期 |
* 理论上streamlink与yt-dlp支持的都可以下载,但不保证可以正常使用,详见:[streamlink支持列表](https://streamlink.github.io/plugins.html),[yt-dlp支持列表](https://github.com/yt-dlp/yt-dlp/tree/master/yt_dlp/extractor).
## Credits
* Thanks `ykdl, youtube-dl, streamlink` provides downloader.
* Thanks `THMonster/danmaku`.
## 捐赠
* 爱发电 :`https://afdian.net/a/biliup`
## Stars
[![Star History Chart](https://api.star-history.com/svg?repos=biliup/biliup&type=Date)](https://star-history.com/#biliup/biliup&Date)
Raw data
{
"_id": null,
"home_page": null,
"name": "xueba-biliup-mysql",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "bilibili douyu huya",
"author": "xueba",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/a6/99/8f173c566fd4340668d510e9a6887e36210e0e18057bd339868b894ce35d/xueba_biliup_mysql-0.4.78.1.tar.gz",
"platform": null,
"description": "<p align=\"center\">\n <img src=\"https://image.biliup.me/2024-06-26/1719388842-365149-logo.png\" width=\"400\" alt=\"logo\">\n</p>\n\n<div align=\"center\">\n\n[![python](https://img.shields.io/badge/python-3.7%2B-blue)](http://www.python.org/download)\n[![PyPI](https://img.shields.io/pypi/v/biliup)](https://pypi.org/project/biliup)\n[![PyPI - Downloads](https://img.shields.io/pypi/dm/biliup)](https://pypi.org/project/biliup)\n[![license](https://img.shields.io/github/license/biliup/biliup)](https://github.com/biliup/biliup/blob/master/LICENSE)\n[![Telegram](https://img.shields.io/badge/Telegram-Group-blue.svg?logo=telegram)](https://t.me/+IkpIABHqy6U0ZTQ5)\n\n\n[![issues](https://img.shields.io/github/issues/biliup/biliup?label=Github%20issues)](https://github.com/biliup/biliup/issues)\n[![STARS](https://img.shields.io/github/stars/biliup/biliup)](https://github.com/biliup/biliup/stargazers)\n[![forks](https://img.shields.io/github/forks/biliup/biliup)](https://github.com/biliup/biliup/network)\n\n</div>\n\n\n\n\n <p align=\"center\">\n \u5f55\u5236\u5404\u5927\u4e3b\u6d41\u76f4\u64ad\u5e73\u53f0\u5e76\u4e0a\u4f20\u81f3\u54d4\u54e9\u54d4\u54e9\u5f39\u5e55\u7f51<br />\n \u81ea\u52a8\u9009\u62e9\u4e0a\u4f20\u7ebf\u8def\uff0c\u4fdd\u8bc1\u4e0a\u4f20\u7a33\u5b9a\u6027\uff0c\u53ef\u624b\u52a8\u8c03\u6574\u5e76\u53d1<br />\n \u652f\u6301\u5f55\u5236\u54d4\u54e9\u54d4\u54e9\u3001\u6597\u9c7c\u3001\u864e\u7259\u3001Twitch\u76f4\u64ad\u5f39\u5e55\u7528\u4e8e\u5916\u6302\u64ad\u653e\u5668<br />\n \u9632\u6b62\u5f55\u5236\u82b1\u5c4f\uff08\u4f7f\u7528\u9ed8\u8ba4\u7684stream-gears\u4e0b\u8f7d\u5668\u5c31\u4f1a\u6709\u8fd9\u4e2a\u529f\u80fd\uff09\uff0c\u89e3\u51b3\u7f51\u7edc\u3001PK\u5bfc\u81f4\u7684\u82b1\u5c4f\u3002\n\n\n<br />\n <a href=\"https://biliup.github.io/biliup/docs/guide/changelog\"><strong>\u66f4\u65b0\u65e5\u5fd7 \u00bb</strong></a>\n <br />\n <br />\n <a href=\"https://github.com/biliup/biliup/wiki/%E5%AE%89%E8%A3%85-%E8%BF%90%E8%A1%8C-%E6%9B%B4%E6%96%B0-%E5%8D%B8%E8%BD%BD\">\u7b80\u6613\u6559\u7a0b</a>\n \u00b7\n <a href=\"https://biliup.me/\">\u4ea4\u6d41\u793e\u533a</a>\n \u00b7\n <a href=\"https://github.com/biliup/biliup-app\">\u6295\u7a3f\u5de5\u5177</a>\n </p>\n</div>\n\n\n\n\n\n<p align=\"center\">\n <b>\u793e\u533a\u6559\u7a0b</b>: <a href=\"https://www.bilibili.com/opus/908292536945082370\">\u56fe\u6587\u6559\u7a0b</a> by <a href=\"https://github.com/ikun1993\">@ikun1993</a>\u7f16\u5199\u3002\n</p>\n\n\n## Quick Start\n### Windows\n\u4e0b\u8f7d exe: [Release](https://github.com/biliup/biliup/releases/latest)\n\n### Linux or macOS\n0. python`version >= 3.8`\n1. `pip3 install biliup`\n2. `biliup start`\n3. \u542f\u52a8\u65f6\u8bbf\u95ee `http://your-ip:19159` \u4f7f\u7528webUI\uff0c\n\n### Docker\n```sh\ndocker run -d \\\n --name biliup \\\n --restart unless-stopped \\\n -p 0.0.0.0:19159:19159 \\\n -v /path/to/save_folder:/opt \\\n ghcr.io/biliup/caution:latest \\\n --password password123\n```\n#### docker-compose.yml [\u70b9\u6211](https://github.com/biliup/biliup/blob/master/docker-compose.yml) \n* \u7528\u6237\u540d\u4e3a`biliup`\n* \u66b4\u9732\u5728\u516c\u7f51\u4e2d\u4e5f\u8bb8\u4f1a\u4ea7\u751f\u98ce\u9669\uff0c\u6240\u4ee5\u8bbe\u7f6e\u5bc6\u7801\u662f\u5f88\u6709\u5fc5\u8981\u7684\u3002\n* \u4ee5\u4e0a\u793a\u4f8b\u6839\u636e\u9700\u6c42\u8fdb\u884c\u4fee\u6539\uff0c\u53ea\u4f5c\u4e3a\u53c2\u8003\u3002\n\n* * * * * * * * *\n\n\n![](.github/resource/light.png)\n![](.github/resource/dark.png)\n\n## How to Contribute\n\n1. nodejs `version >= 18`\n2. `npm i`\n3. `npm run dev`\n4. `python3 -m biliup`\n5. \u8bbf\u95ee`http://localhost:3000`\n\n## \u652f\u6301\n\n| \u76f4\u64ad\u5e73\u53f0 | \u652f\u6301\u7c7b\u578b | \u94fe\u63a5\u793a\u4f8b | \u7279\u6b8a\u6ce8\u91ca |\n| :------:| :--------------: | --------- | ------ |\n| \u864e\u7259 | \u76f4\u64ad | `https://www.huya.com/123456` | \u53ef\u5f55\u5236\u5f39\u5e55 |\n| \u6597\u9c7c | \u76f4\u64ad | `https://www.douyu.com/123456` | \u53ef\u5f55\u5236\u5f39\u5e55 |\n| YY\u8bed\u97f3 | \u76f4\u64ad | `https://www.yy.com/123456` |\n| \u54d4\u54e9\u54d4\u54e9 | \u76f4\u64ad | `https://live.bilibili.com/123456` | \u7279\u6b8a\u5206\u533ahls\u6d41\u9700\u8981\u5355\u72ec\u914d\u7f6e/\u53ef\u5f55\u5236\u5f39\u5e55 |\n| acfun | \u76f4\u64ad | `https://live.acfun.cn/live/123456` |\n| afreecaTV | \u76f4\u64ad | `https://play.afreecatv.com/biliup123/123456` | \u5f55\u5236\u90e8\u5206\u76f4\u64ad\u65f6\u9700\u8981\u767b\u9646 |\n| bigo | \u76f4\u64ad | `https://www.bigo.tv/123456` |\n| \u6296\u97f3 | \u76f4\u64ad | \u76f4\u64ad:`https://live.douyin.com/123456(\u76f4\u64ad\u95f4\u6570\u5b57\u53f7)`<br>\u76f4\u64ad:`https://live.douyin.com/tiktok(\u6296\u97f3\u53f7)`<br>\u4e3b\u9875:`https://www.douyin.com/user/456789(\u6296\u97f3\u53f7)` | \u4f7f\u7528\u4e3b\u9875\u94fe\u63a5\u6216\u88ab\u98ce\u63a7\u9700\u914d\u7f6ecookies |\n| \u5feb\u624b | \u76f4\u64ad | `https://live.kuaishou.com/u/biliup123` | \u76d1\u63a7\u5f00\u64ad\u9700\u4f7f\u7528\u4e2d\u56fd\u5927\u9646IPv4\u5bb6\u5bbd\uff0c<br>\u4e1424\u5c0f\u65f6\u5185\u5355\u76f4\u64ad\u95f4\u6700\u591a120\u6b21\u8bf7\u6c42 |\n| \u7f51\u6613CC | \u76f4\u64ad | `https://cc.163.com/123456` |\n| flextv | \u76f4\u64ad | `https://www.flextv.co.kr/channels/123456/live` |\n| \u6620\u5ba2 | \u76f4\u64ad | `https://www.inke.cn/liveroom/index.html?uid=123456` |\n| \u732b\u8033FM | \u76f4\u64ad | `https://fm.missevan.com/live/123456` | \u732b\u8033\u4e3a\u7eaf\u97f3\u9891\u6d41 |\n| nico | \u76f4\u64ad | `https://live.nicovideo.jp/watch/lv123456` | \u53ef\u914d\u7f6e\u767b\u5f55\u4fe1\u606f |\n| twitch | \u76f4\u64ad<br>\u56de\u653e | \u76f4\u64ad:`https://www.twitch.tv/biliup123`<br>\u56de\u653e:`https://www.twitch.tv/biliup123/videos?filter=archives&sort=time` | \u53ef\u914d\u7f6e\u767b\u5f55\u4fe1\u606f/\u5c3d\u91cf\u5f55\u5236\u56de\u653e/\u53ef\u5f55\u5236\u5f39\u5e55 |\n| youtube | \u76f4\u64ad<br>\u56de\u653e | \u76f4\u64ad:`https://www.youtube.com/watch?v=biliup123(\u5355\u573a)`<br>\u76f4\u64ad:`https://www.youtube.com/@biliup123/live(\u6700\u8fdc\u7684\u9884\u7ea6)`<br>\u56de\u653e:`https://www.youtube.com/@biliup123/videos` | \u53ef\u914d\u7f6e\u767b\u5f55\u4fe1\u606f/\u5c3d\u91cf\u5f55\u5236\u56de\u653e/\u53ef\u914d\u7f6e\u56de\u653e\u4e0b\u8f7d\u65e5\u671f |\n* \u7406\u8bba\u4e0astreamlink\u4e0eyt-dlp\u652f\u6301\u7684\u90fd\u53ef\u4ee5\u4e0b\u8f7d\uff0c\u4f46\u4e0d\u4fdd\u8bc1\u53ef\u4ee5\u6b63\u5e38\u4f7f\u7528\uff0c\u8be6\u89c1:[streamlink\u652f\u6301\u5217\u8868](https://streamlink.github.io/plugins.html)\uff0c[yt-dlp\u652f\u6301\u5217\u8868](https://github.com/yt-dlp/yt-dlp/tree/master/yt_dlp/extractor).\n\n\n## Credits\n* Thanks `ykdl, youtube-dl, streamlink` provides downloader.\n* Thanks `THMonster/danmaku`.\n\n\n## \u6350\u8d60\n* \u7231\u53d1\u7535 :`https://afdian.net/a/biliup`\n\n\n## Stars\n[![Star History Chart](https://api.star-history.com/svg?repos=biliup/biliup&type=Date)](https://star-history.com/#biliup/biliup&Date)\n",
"bugtrack_url": null,
"license": null,
"summary": "stream download and upload",
"version": "0.4.78.1",
"project_urls": {
"Homepage": "https://github.com/xueba0458/biliup"
},
"split_keywords": [
"bilibili",
"douyu",
"huya"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "89057372d298afb3efd1dad04f4a7b1ff4e33fcca48759989219e9d0ce5edaed",
"md5": "f54c8859452640028c029b0a82b49a00",
"sha256": "81770149be256e873ffd7e5a96cdbb185fd9c79e0a2ce6bb55439de87122d5da"
},
"downloads": -1,
"filename": "xueba_biliup_mysql-0.4.78.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f54c8859452640028c029b0a82b49a00",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 2151169,
"upload_time": "2024-11-20T19:50:35",
"upload_time_iso_8601": "2024-11-20T19:50:35.790288Z",
"url": "https://files.pythonhosted.org/packages/89/05/7372d298afb3efd1dad04f4a7b1ff4e33fcca48759989219e9d0ce5edaed/xueba_biliup_mysql-0.4.78.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a6998f173c566fd4340668d510e9a6887e36210e0e18057bd339868b894ce35d",
"md5": "e318fd8717f76e2eaa3686fdc6ef6724",
"sha256": "38990b50b941486f4301fffdc416afa4d6871dd2b69eaba94a204567f4418e2b"
},
"downloads": -1,
"filename": "xueba_biliup_mysql-0.4.78.1.tar.gz",
"has_sig": false,
"md5_digest": "e318fd8717f76e2eaa3686fdc6ef6724",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 2052099,
"upload_time": "2024-11-20T19:50:38",
"upload_time_iso_8601": "2024-11-20T19:50:38.938807Z",
"url": "https://files.pythonhosted.org/packages/a6/99/8f173c566fd4340668d510e9a6887e36210e0e18057bd339868b894ce35d/xueba_biliup_mysql-0.4.78.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-20 19:50:38",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "xueba0458",
"github_project": "biliup",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "xueba-biliup-mysql"
}