GitXplorerGitXplorer
p

bv2av

public
17 stars
2 forks
6 issues

Commits

List of commits on branch master.
Unverified
6733bbae53c1e7cbf188a1034a60fe3852e10644

Bump glob-parent from 5.1.1 to 5.1.2

ddependabot[bot] committed 4 years ago
Unverified
371f72e60f6acb0a083abf2365e5c220c845b654

Bump lodash from 4.17.19 to 4.17.21

ddependabot[bot] committed 4 years ago
Unverified
af1380eec0d370cf405f8d1d044b399bd45b8045

Bump axios from 0.19.2 to 0.21.1

ddependabot[bot] committed 4 years ago
Unverified
cb9edbf44e6e57a1376ee8ad05b79164cb12a6b7

Bump lodash from 4.17.15 to 4.17.19

ddependabot[bot] committed 4 years ago
Unverified
a2f9530e9848c0f7db6a4807e020b43aeed1302f

0.2.4

ppoppinlp committed 5 years ago
Unverified
66ca487c8bfffff9e7a0dd08daf9af0bcc977e0f

fix module type

ppoppinlp committed 5 years ago

README

The README file for this repository.

bv2av

Build Status Dependency Status Dev Dependency Status NPM version NPM downloads NPM license

把 bilibili 新的 bv 号转回旧的 av 号。支持网页端直接使用

欢迎 STAR,欢迎 PR >.<

Install

npm i bv2av

CLI

bv2av --bv=xxxxx --all

--all 参数可以让我们获取到更多视频的相关信息,如果没有的话则只返回 av 号。

Module

模块导出了两个方法,更详细的内容,可以看 types/index.d.ts

  • getBvInfo: 得到这个视频的相关信息,例如标题、封面图等等
  • bv2av: 只得到对应的 av 号

Test

npm test