llama-index readers bilibili integration
Project description
Bilibili Transcript Loader
This loader utilizes the bilibili_api
to fetch the text transcript from Bilibili, one of the most beloved long-form video sites in China.
With this BilibiliTranscriptReader, users can easily obtain the transcript of their desired video content on the platform.
Usage
To use this loader, you need to pass in an array of Bilibili video links.
from llama_index import download_loader
BilibiliTranscriptReader = download_loader("BilibiliTranscriptReader")
loader = BilibiliTranscriptReader()
documents = loader.load_data(
video_urls=["https://www.bilibili.com/video/BV1yx411L73B/"]
)
Note that there is no official API available for Bilibili Transcript, so changes to the official website can sometimes cause issues.
This loader is designed to be used as a way to load data into Llama Index and/or subsequently used as a Tool in a LangChain Agent. See here for examples.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for llama_index_readers_bilibili-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87e74a5c836d855bcd349a7e798e7102fd5b30a247c4c956460f32846eddc716 |
|
MD5 | 692f76e7910a4a6ee56a83e9b5aa3400 |
|
BLAKE2b-256 | 04d000ed5ec2690cf57114b8494a6901e09cf1ef08e98322ff94c1248975f837 |
Hashes for llama_index_readers_bilibili-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bc6313d37757d708b01e86f1d081a677bb18bb479adeb3c8c3cd8e74ff4c9ab |
|
MD5 | 6f00f0b173ba93831ff8b32bfd96f743 |
|
BLAKE2b-256 | 06f2d9c19e5701638f55edbf4b92a848909bca16bbeb4fc7c5f2adb663d97387 |