Git Product home page Git Product logo

bilibili-downloader's Introduction

Welcome to bilibili-downloader 2.0 👋

❗❗❗ 下载1080 60帧清晰度以上视频需要自行开通大会员,普通用户仅仅下载1080P ❗❗❗
❗❗❗ 该工具会监听B站个人动态,关注的UP主更新了视频,它就会下载。也就是说,你需要关注UP主 ❗❗❗

Version Documentation Maintenance License: MIT Node TypeScript

B 站个人动态视频下载助手,支持下载 B 站个人动态更新的 4k 视频,运行该程序后,你所关注的 UP 主更新的视频第一时间下载保存。妈妈再也不担心我没时间下载视频啦!🎉

使用

本应用基于 NodeJS 14 开发,使用前请保证你的 Node 版本大于等于 14。需要注意的是,只有你是大会员才会下载 4k / 1080 60 帧等会员专享清晰度,如果不是大会员只能下载普通 1080P 清晰度的视频,本程序不会去突破 B 站的清晰度限制,如果需要保存高清的视频,在活动期间开上一年的大会员,是十分划算的。

本应用监听的是用户的动态第一页,为了保证下载不遗漏,最好是 24 小时运行,这就需要小伙伴有一定设备成本。

本程序支持视频保存本地及保存到 FTP 服务器,如何配置将在下面说明。

安装

必须的自行提前安装的工具类库,MacOS 和 Linux 平台一般是已经安装过的,不需要自行安装:

ffmpeg 下载:用于视频合成

sqlite3 下载:用于存储配置及下载信息

如果你使用的是 Rocky Linux 9 / AlmaLinux 9,可以点击查看前置库的安装

1. 检查前置依赖

# 检查ffmpeg
ffmpeg -version

# 检查sqlite3
sqlite3 -version

2. Node 安装构建

# sqlite3在Windows系统上可能会安装失败,手动自行安装[email protected]
npm install

# 执行build命令,每一次更新都需要build一次
npm run build

3. 运行

npm run start

如果你使用的是 pm2,那么该项目也提供了ecosystem.config.js,你仅需执行它即可。

pm2 start ./ecosystem.config.js

开发

npm run start:dev

前置库的安装

1. Rocky Linux 9 / AlmaLinux 9

启用 EPEL 存储库和 PowerTools(CRB)

sudo dnf install epel-release

sudo dnf config-manager --set-enabled crb

现在在 Rocky Linux 9 / AlmaLinux 9 上添加 RPM Fusion 存储库:

sudo dnf install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm -y
sudo dnf install --nogpgcheck https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-$(rpm -E %rhel).noarch.rpm -y

安装

### 安装ffmpeg
sudo dnf install ffmpeg ffmpeg-devel

### 安装sqlite3
sudo dnf install sqlite

放开端口

sudo firewall-cmd --zone=public --add-port 6123/tcp --permanent

sudo firewall-cmd --reload

🤝 贡献

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

⭐️ 表示支持

如果你觉得这个项目对你有帮助,欢迎点亮 ⭐️ 来支持我!

📝 协议

Copyright © 2021 ZhelinCheng.
This project is MIT licensed.

bilibili-downloader's People

Contributors

dependabot[bot] avatar renovate-bot avatar zhelincheng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bilibili-downloader's Issues

关于”视频长度超过 600 秒,跳过下载“的问题

开发者你好~
这是一个对我非常有用的项目!

但在使用过程中,我发现一些视频无法被正常下载。查看日志时发现这样一条警告:

视频长度超过600秒,跳过下载

之后我手动复制日志中的视频链接粘贴到 IDM,视频可以正常下载和播放。
使用 IDM 下载到本地的视频也是完整的,视频时长也大于 600 秒。

请问设计这个 600 秒限制是出于什么目的或者为了规避哪些问题呢~ 如果影响不大是否可以取消这个限制呢?

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): update dependency ts-node to v10.9.2
  • fix(deps): update dependency @nestjs/axios to v0.1.1
  • fix(deps): update dependency @nestjs/mapped-types to v1.2.2
  • fix(deps): update dependency @nestjs/serve-static to v3.0.1
  • fix(deps): update dependency @types/qrcode-terminal to v0.12.2
  • fix(deps): update dependency @types/shelljs to v0.8.15
  • fix(deps): update dependency async to v3.2.5 (async, @types/async)
  • fix(deps): update dependency basic-ftp to v5.0.5
  • fix(deps): update dependency dayjs to v1.11.11
  • fix(deps): update dependency typeorm to v0.3.20
  • chore(deps): update dependency @nestjs/cli to v9.5.0
  • chore(deps): update dependency commitlint to v17.8.1
  • chore(deps): update dependency eslint to v8.57.0
  • chore(deps): update dependency eslint-config-prettier to v8.10.0
  • chore(deps): update dependency lint-staged to v13.3.0
  • chore(deps): update dependency prettier to v2.8.8
  • chore(deps): update dependency typescript to v4.9.5
  • chore(deps): update typescript-eslint monorepo to v5.62.0 (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • fix(deps): update dependency @nestjs/config to v2.3.4
  • fix(deps): update dependency @nestjs/schedule to v2.2.3
  • fix(deps): update dependency @types/cron to v2.4.0
  • fix(deps): update dependency cli-progress to v3.12.0 (cli-progress, @types/cli-progress)
  • fix(deps): update dependency reflect-metadata to ^0.2.0
  • fix(deps): update dependency rxjs to v7.8.1
  • fix(deps): update nest monorepo (@nestjs/common, @nestjs/core, @nestjs/platform-express, @nestjs/platform-fastify, @nestjs/schematics, @nestjs/testing)
  • chore(deps): update dependency @nestjs/cli to v10
  • chore(deps): update dependency @types/node to v20
  • chore(deps): update dependency @types/supertest to v6
  • chore(deps): update dependency commitlint to v19
  • chore(deps): update dependency conventional-changelog-conventionalcommits to v8
  • chore(deps): update dependency eslint to v9
  • chore(deps): update dependency eslint-config-prettier to v9
  • chore(deps): update dependency eslint-plugin-prettier to v5
  • chore(deps): update dependency husky to v9
  • chore(deps): update dependency lint-staged to v15
  • chore(deps): update dependency prettier to v3
  • chore(deps): update dependency supertest to v7
  • chore(deps): update dependency typescript to v5
  • chore(deps): update typescript-eslint monorepo to v7 (major) (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • fix(deps): update dependency @nestjs/axios to v3
  • fix(deps): update dependency @nestjs/config to v3
  • fix(deps): update dependency @nestjs/mapped-types to v2
  • fix(deps): update dependency @nestjs/schedule to v4
  • fix(deps): update dependency @nestjs/serve-static to v4
  • fix(deps): update dependency @nestjs/typeorm to v10
  • fix(deps): update dependency mint-filter to v4
  • fix(deps): update dependency rimraf to v5
  • fix(deps): update nest monorepo to v10 (major) (@nestjs/common, @nestjs/core, @nestjs/platform-express, @nestjs/platform-fastify, @nestjs/schematics, @nestjs/testing)
  • 🔐 Create all rate-limited PRs at once 🔐

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

npm
package.json
  • @nestjs/axios ^0.1.0
  • @nestjs/common ^9.0.0
  • @nestjs/config ^2.2.0
  • @nestjs/core ^9.0.0
  • @nestjs/mapped-types ^1.2.0
  • @nestjs/platform-express ^9.0.0
  • @nestjs/platform-fastify ^9.1.6
  • @nestjs/schedule ^2.1.0
  • @nestjs/serve-static ^3.0.0
  • @nestjs/typeorm ^9.0.1
  • @types/async ^3.2.15
  • @types/cli-progress ^3.11.0
  • @types/cron ^2.0.0
  • @types/fs-extra ^9.0.13
  • @types/qrcode-terminal ^0.12.0
  • @types/shelljs ^0.8.11
  • async ^3.2.4
  • basic-ftp ^5.0.2
  • cli-progress ^3.11.2
  • cross-env ^7.0.3
  • dayjs ^1.11.6
  • fs-extra ^10.1.0
  • mint-filter ^3.0.1
  • qrcode-terminal ^0.12.0
  • reflect-metadata ^0.1.13
  • rimraf ^3.0.2
  • rxjs ^7.2.0
  • shelljs ^0.8.5
  • sqlite3 ^5.1.2
  • typeorm ^0.3.10
  • @nestjs/cli ^9.0.0
  • @nestjs/schematics ^9.0.0
  • @nestjs/testing ^9.0.0
  • @types/express ^4.17.13
  • @types/jest 28.1.8
  • @types/node ^16.0.0
  • @types/supertest ^2.0.11
  • @typescript-eslint/eslint-plugin ^5.0.0
  • @typescript-eslint/parser ^5.0.0
  • commitlint ^17.2.0
  • conventional-changelog-conventionalcommits ^5.0.0
  • eslint ^8.0.1
  • eslint-config-prettier ^8.3.0
  • eslint-plugin-prettier ^4.0.0
  • husky ^8.0.1
  • jest 28.1.3
  • lint-staged ^13.0.3
  • prettier ^2.3.2
  • source-map-support ^0.5.20
  • supertest ^6.1.3
  • ts-jest 28.0.8
  • ts-loader ^9.2.3
  • ts-node ^10.0.0
  • tsconfig-paths 4.1.0
  • typescript ^4.7.4

  • Check this box to trigger a request for Renovate to run again on this repository

如何同时运行两个或多个程序

您好,我想要同时运行两个脚本,目前在start后会提示Error:listen EADDRINUSE: address already in use : : : 6123
请问应该在哪里做出修改呢?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.