llama-index readers bilibili integration
Project description
Bilibili Transcript Loader
pip install llama-index-readers-bilibili
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.readers.bilibili import 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.
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
File details
Details for the file llama_index_readers_bilibili-0.3.0.tar.gz
.
File metadata
- Download URL: llama_index_readers_bilibili-0.3.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 688de749b86f6e25ff5c7a6bc4c59f9022c4780656a9686882febce23f09fa8d |
|
MD5 | f24c29d86cfaa8dc01545362426fda2c |
|
BLAKE2b-256 | 29eb184e96591158414ab3caef519c6a9c633f98e4b4c39b557f0ba954e8f66d |
File details
Details for the file llama_index_readers_bilibili-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: llama_index_readers_bilibili-0.3.0-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2575523db86cf35446efcc0a5ae473ef1f6c3feb35292f1dc94fd153bdf73803 |
|
MD5 | b4556051b44303ff12017682ce3f7964 |
|
BLAKE2b-256 | cef2744009eea3151108c0e14dab983ea27ddc8eb9ef46df0809b0f0771c914d |