#bilibili #video #convert #av #function #bv

abv

AV and BV convert functions for Bilibili videos

4 releases (2 breaking)

new 0.3.0 Nov 26, 2024
0.2.1 Aug 22, 2023
0.2.0 Jan 5, 2023
0.1.0 Oct 29, 2022

#555 in Algorithms

Download history 4/week @ 2024-07-31 5/week @ 2024-09-18 15/week @ 2024-09-25 6/week @ 2024-10-02 2/week @ 2024-10-09 1/week @ 2024-10-16

244 downloads per month

MIT OR CC0-1.0

7KB
137 lines

abv

AV and BV convert functions for Bilibili videos.

Advantage

Unlike other libraries, numbers up to 2251799813685248 are supported.

Usage

bv2av("BV1B8Ziyo7s2").unwrap(); // 1145141919810
av2bv(11451419180).unwrap();    // "BV1gA4v1m7BV"

License

Licensed under either of

at your option.

Dependencies

~280–740KB
~17K SLoC