1、安装依赖
> poetry shell
> poetry install
2、配置环境变量
> export SESSDATA=...
> export BILI_JCT=...
> export BUVID3=...
or
将.env_sample更改为.env,并配置SESSDATA、BILI_JCT、BUVID3环境变量
3、运行
> python3 src/main.py serve
4、发布与构建
> poetry publish --build
5、docker
> docker build -t ylz_bilibili .
> docker run -id --rm -p 3000:3000 ylz_bilibili
6、其他系统安装与命令行
> pip3 install -U ylz_bilibili
> ylz_bilibili serve
7、其他系统集成
> pip3 install -U ylz_bilibili
> vi main.py
from bilibili import BilibiliLib
if __name__=="__main__":
bilibiliLib = BilibiliLib()
res = bilibiliLib.parse_video(<buvid>)
Metadata
Release files for ylz_bilibili 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ylz_bilibili-0.1.7.tar.gz | 8.4 kB | Without provenance | Details for ylz_bilibili-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ylz_bilibili-0.1.7-py3-none-any.whl | Python 3 | none | any | Details for ylz_bilibili-0.1.7-py3-none-any.whl |
Total release size: 19.1 kB
Release files / ylz_bilibili-0.1.7.tar.gz
| Download URL | ylz_bilibili-0.1.7.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
33479ad7e6481c1effb95e1184630bf677d6b8d6d7d564f4f283bec035abb798
|
|
BLAKE2b-256 checksum How to use checksums |
8ac492ac064a8cc4cfe468e9019d626d7c73ecda2407ee6f0aa4db451e33cab8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.13.0 Darwin/21.6.0
|
Release files / ylz_bilibili-0.1.7-py3-none-any.whl
| Download URL | ylz_bilibili-0.1.7-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4155bd12a1a7e6cb41a3641cc710a58236e7156ed62c89a872d41ed183501f7d
|
|
BLAKE2b-256 checksum How to use checksums |
b5dcef72e3fdac85d00452a2539e08f6a52e054d064e7ab674bc9ee75944eea2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.13.0 Darwin/21.6.0
|
Security for ylz_bilibili 0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.