bilibili-api is a Bilibili API wrapper and content scraper designed for programmatically accessing video metadata, user profiles, and content data. It functions as an anti-bot crawler framework and a WebSocket live chat client for retrieving platform information and real-time interaction data.
The project incorporates tools to bypass anti-crawling measures and rate limits through the use of proxies and TLS fingerprint spoofing. It also includes logic for mapping and converting various video and content identifiers to ensure consistent data retrieval across different endpoints.
Its capability surface covers Bilibili data extraction, live stream monitoring, and media archiving, which includes downloading subtitles and comment files. The library also provides functionality to extract text and data from articles and columns via web crawling.