{"id":13430582,"url":"https://github.com/LJason77/bilibili-webhook","last_synced_at":"2025-03-16T06:30:21.888Z","repository":{"id":54606452,"uuid":"329871337","full_name":"LJason77/bilibili-webhook","owner":"LJason77","description":"自动下载 B站 视频","archived":false,"fork":false,"pushed_at":"2024-04-18T05:09:43.000Z","size":131,"stargazers_count":105,"open_issues_count":0,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-28T09:59:03.958Z","etag":null,"topics":["bilibili","rust","webhook"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/LJason77.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-15T09:49:06.000Z","updated_at":"2024-10-26T13:40:49.000Z","dependencies_parsed_at":"2024-01-13T09:59:18.861Z","dependency_job_id":"31f9cdca-924e-4514-a6c6-804bd01c3a9c","html_url":"https://github.com/LJason77/bilibili-webhook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LJason77%2Fbilibili-webhook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LJason77%2Fbilibili-webhook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LJason77%2Fbilibili-webhook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LJason77%2Fbilibili-webhook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LJason77","download_url":"https://codeload.github.com/LJason77/bilibili-webhook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243835952,"owners_count":20355611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bilibili","rust","webhook"],"created_at":"2024-07-31T02:00:55.360Z","updated_at":"2025-03-16T06:30:21.601Z","avatar_url":"https://github.com/LJason77.png","language":"Rust","funding_links":[],"categories":["Rust","下载工具"],"sub_categories":["直播脚本"],"readme":"# bilibili-webhook\n\n[![build badge](https://github.com/LJason77/bilibili-webhook/actions/workflows/rust.yml/badge.svg?branch=master)](https://github.com/LJason77/bilibili-webhook/actions/workflows/rust.yml)\n![GitHub forks](https://img.shields.io/github/forks/LJason77/bilibili-webhook?style=social)\n![GitHub Repo stars](https://img.shields.io/github/stars/LJason77/bilibili-webhook?style=social)\n\n\u003e 通过 webhook 自动下载 B站 视频。\n\n## 介绍\n\nbilibili-webhook 是受到 [RSSHub](https://github.com/DIYgod/RSSHub \"Everything is RSSible\")、[flowerss-bot](https://github.com/indes/flowerss-bot \"一个支持应用内阅读的 Telegram RSS Bot\") 和 [download-webhook](https://github.com/DIYgod/download-webhook \"Download files through webhook\") 的启发而诞生的。\n\n相比 [download-webhook](https://github.com/DIYgod/download-webhook \"Download files through webhook\")，bilibili-webhook 不需要 IFTTT，不需要公网 ip 或域名，只需 [RSSHub](https://github.com/DIYgod/RSSHub \"Everything is RSSible\")，在内网即可使用。但目前功能上仅针对 B站 的视频，后期视需求可能会兼容其他站点。\n\n## 安装（docker）\n\n```\ngit clone --depth=1 https://github.com/LJason77/bilibili-webhook.git\ncd bilibili-webhook\ndocker build -t bilibili-webhook .\n```\n\n## 配置\n\n容器内有两个重要的挂载点：`/app/config` 和 `/app/downloads`，前者存放配置以及日志，后者是存放下载的视频。\n\n将 *config.toml.example* 复制并重命名为 *config.toml* 放在将要挂载 `/app/config` 的目录下。\n\n如果需要下载 4K 视频，可在运行命令中 `-e` 附上大会员的 **SESSDATA**，具体可查看 [yutto](https://github.com/yutto-dev/yutto) 的项目说明。如果没有 **SESSDATA**，即下载普通的 1080P 视频。\n\n## 运行\n\n```\ndocker run -d --restart always --name bilibili-webhook -e SESSDATA=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -v /mnt/downloads:/app/downloads -v /mnt/Data/bilibili-webhook:/app/config bilibili-webhook\n```\n\n## 感谢\n\n本项目使用到了可爱的 [yutto](https://github.com/yutto-dev/yutto) 当作下载工具，感谢。\n\n## 许可\n\n[![996.icu](https://img.shields.io/badge/link-996.icu-red.svg)](https://996.icu)\n[![LICENSE](https://img.shields.io/badge/license-Anti%20996-blue.svg)](https://github.com/996icu/996.ICU/blob/master/LICENSE)\n![GitHub](https://img.shields.io/github/license/LJason77/bilibili-webhook)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLJason77%2Fbilibili-webhook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLJason77%2Fbilibili-webhook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLJason77%2Fbilibili-webhook/lists"}