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

abv

AV and BV convert functions for Bilibili videos

4 releases (2 breaking)

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

#623 in Algorithms

Download history 2/week @ 2024-09-17 16/week @ 2024-09-24 8/week @ 2024-10-01 1/week @ 2024-10-08 2/week @ 2024-10-15 1/week @ 2024-11-19 156/week @ 2024-11-26

157 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

~250–700KB
~16K SLoC