{"id":13455676,"url":"https://github.com/develon2015/Youtube-dl-REST","last_synced_at":"2025-03-24T08:34:16.733Z","repository":{"id":36690369,"uuid":"215976478","full_name":"develon2015/Youtube-dl-REST","owner":"develon2015","description":"Youtube \u0026 BiliBili 视频在线解析下载 -- Website for downloading Youtube \u0026 BiliBili videos. ","archived":false,"fork":false,"pushed_at":"2024-02-28T06:57:18.000Z","size":363,"stargazers_count":625,"open_issues_count":26,"forks_count":137,"subscribers_count":8,"default_branch":"node","last_synced_at":"2024-04-29T10:47:32.563Z","etag":null,"topics":["bilibili","download","video","website","youtube","youtube-dl","yt-dlp"],"latest_commit_sha":null,"homepage":"https://y2b.455556.xyz","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/develon2015.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-10-18T08:23:59.000Z","updated_at":"2024-05-31T03:52:33.618Z","dependencies_parsed_at":"2023-12-18T09:28:31.382Z","dependency_job_id":"c0988a8c-dee6-4daf-a153-5f12a3457795","html_url":"https://github.com/develon2015/Youtube-dl-REST","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/develon2015%2FYoutube-dl-REST","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/develon2015%2FYoutube-dl-REST/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/develon2015%2FYoutube-dl-REST/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/develon2015%2FYoutube-dl-REST/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/develon2015","download_url":"https://codeload.github.com/develon2015/Youtube-dl-REST/tar.gz/refs/heads/node","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213333558,"owners_count":15571552,"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","download","video","website","youtube","youtube-dl","yt-dlp"],"created_at":"2024-07-31T08:01:09.186Z","updated_at":"2024-10-28T23:30:21.575Z","avatar_url":"https://github.com/develon2015.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Youtube-dl-REST\n\n通过本项目，您可以搭建一个网页，快速下载各种Youtube、Bili视频。\n在线地址：[https://y2b.455556.xyz](https://y2b.455556.xyz)\n\n\n## 安装\n\n如果您使用docker，推荐使用以下命令运行本项目：\n\n```\ndocker volume create vol\ndocker run -it -d --name youtube-dl-rest -p 80:80 -v vol:/Youtube-dl-REST imgxx/youtube-dl-rest\n```\n\n你可能需要修改 config.json 、替换自己的 cookies.txt 等文件，然后重启容器：\n\n```\nvi /var/lib/docker/volumes/vol/_data/config.json\nvi /var/lib/docker/volumes/vol/_data/cookies.txt\ndocker restart youtube-dl-rest\n```\n\n如果您不使用docker，则按以下步骤进行安装：\n\n### 1.安装Node.js\n\n以Ubuntu为例，使用snapd安装：\n```\nsudo apt install -y snapd\n\nsudo snap install core\nsudo snap install node --classic --channel=14\n\nnode -v\n```\n\n### 2.安装[yt-dlp](https://github.com/yt-dlp/yt-dlp)和[FFmpeg](https://github.com/yt-dlp/yt-dlp)\n\n确保`yt-dlp`命令和`ffmpeg`命令可用:\n```\nsudo yt-dlp -U\nffmpeg -version\n```\n\n### 3.克隆本项目\n\n克隆之后使用`npm`安装依赖模块：\n```\ngit clone https://github.com/develon2015/Youtube-dl-REST.git\ncd Youtube-dl-REST\nnpm install\n```\n\n### 4.启动项目\n\n您最好在screen或tmux中运行：\n```\nnpm start\n```\n\n\n## 更新记录\n\n\u003cdetails\u003e\n\u003csummary\u003e展开\u003c/summary\u003e\n\n##### 很久之前\n\n1. 使用Kotlin实现了master分支\n\n##### 过了一段时间\n\n1. 使用Node.js重构\n2. 自动清理空间\n3. 支持视频标题作为文件名\n4. 添加黑名单, 以及Cookies, 避免Youtube 429响应\n\n##### 后来\n\n1. 添加外挂字幕下载功能\n2. 支持解析BiliBili\n\n##### 接着\n\n1. 下载引擎替换为yt-dlp\n2. 支持解析BiliBili字幕和弹幕\n3. 支持显示标题和封面\n\n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelon2015%2FYoutube-dl-REST","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevelon2015%2FYoutube-dl-REST","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelon2015%2FYoutube-dl-REST/lists"}