PHPackages                             gbcl/searchbv - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. gbcl/searchbv

ActiveLibrary[Image &amp; Media](/categories/media)

gbcl/searchbv
=============

An API framework to parse Bilibili videos.

1.0(3y ago)2121[1 issues](https://github.com/GBCLStudio/Bili_Video/issues)GPL-3.0PHPPHP &gt;=7.4.0

Since Mar 5Pushed 3y agoCompare

[ Source](https://github.com/GBCLStudio/Bili_Video)[ Packagist](https://packagist.org/packages/gbcl/searchbv)[ Docs](https://github.com/GBCLStudio/Bili_Video)[ RSS](/packages/gbcl-searchbv/feed)WikiDiscussions main Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Bili\_Video
===========

[](#bili_video)

技术栈
---

[](#技术栈)

- PHP 8.x

How to use
----------

[](#how-to-use)

通过 Composer 安装：

```
composer require gbcl/searchbv
```

调用示范：

```
use GBCLStudio\SearchBv;

$AccountsArr = array('_uuid=; SESSDATA=','Content-type: application/json;charset=UTF-8','Mozilla/5.0 (balabala)'); // array(cookie,Content-type,UserAgent)
$queryVideo = array('av1919810', 'BV1xx411c7mu'); // or $queryVideo = 'BV1FD4y1776T';
$searchApi = new GBCLStudio\SearchBv($AccountsArr,$queryVideo);
echo json_encode($searchApi->searchVideo(),480);
```

### 返回示例：

[](#返回示例)

若一切正确，你会得到这样一串json：

```
{
    "code": 1,
    "msg": "解析成功！",
    "title": "最终鬼畜蓝蓝路",
    "imgurl": "https://i2.hdslb.com/bfs/archive/34d8fdf08d1fe28c229dec2fd122815a1d012908.jpg",
    "desc": "sm2057168 把这个音mad的图腾和支柱从UP的怒火中搬出来重新立好，这是我所能做的最后的事情了。", //简介
    "data": {
        "title": "",
        "duration": 318, //这俩忘了
        "durationFormat": "00:05:17", //时长
        "accept": [
            "流畅 360P" //清晰度
        ],
        "video_url": "https://upos-sz-mirror08ct.bilivideo.com/upgcxcode/63/58/3635863/3635863_da3-1-16.mp4?e=ig8euxZM2rNcNbRVhwdVhwdlhWdVhwdVhoNvNC8BqJIzNbfq9rVEuxTEnE8L5F6VnEsSTx0vkX8fqJeYTj_lta53NCM=&uipk=5&nbs=1&deadline=1672852291&gen=playurlv2&os=bcache&oi=730840916&trid=0000a18c2d9a5c50444c8d14ffac381a6274h&mid=0&platform=html5&upsig=aa2bbbdb019d51d54980abc7fdb5631f&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform&cdnid=3843&bvc=vod&nettype=0&bw=51310&logo=80000000" //视频url（本体）
    },
    "user": { //up主相关
        "name": "TSA",
        "user_img": "http://i1.hdslb.com/bfs/face/0ef5daf622bf4789034b3c15147a45e11c48c9b3.jpg"
    }
}

```

返回不是这样的自己排查去，这里没有troubleshooting

一些话的说
-----

[](#一些话的说)

怎么样，是不是非常简单呢（笑）

其实吧我这个还是有很大的进步空间，就看有没有人能去厕所把这坨屎山捞出来进行一个修的改

很多小细节可能处理的不是很好，看到了可以提个pr或issue

感谢 [苏晓晴](https://github.com/Suxiaoqinx/) 的源代码

Based on 苏晓晴,Powered by 拜之所瑞.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1216d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/71890055?v=4)[拜瑞](/maintainers/Burial0268)[@Burial0268](https://github.com/Burial0268)

---

Top Contributors

[![Burial0268](https://avatars.githubusercontent.com/u/71890055?v=4)](https://github.com/Burial0268 "Burial0268 (21 commits)")

---

Tags

videolightweightbilibilibili apibv

### Embed Badge

![Health badge](/badges/gbcl-searchbv/health.svg)

```
[![Health](https://phpackages.com/badges/gbcl-searchbv/health.svg)](https://phpackages.com/packages/gbcl-searchbv)
```

###  Alternatives

[php-ffmpeg/php-ffmpeg

FFMpeg PHP, an Object Oriented library to communicate with AVconv / ffmpeg

5.0k24.0M193](/packages/php-ffmpeg-php-ffmpeg)[danog/madelineproto

Async PHP client API for the telegram MTProto protocol.

3.5k902.0k23](/packages/danog-madelineproto)[vimeo/vimeo-api

Official PHP library for the Vimeo API.

4617.6M39](/packages/vimeo-vimeo-api)[vimeo/laravel

A Vimeo bridge for Laravel

4191.7M4](/packages/vimeo-laravel)[codescale/ffmpeg-php

PHP wrapper for FFmpeg application

496275.8k1](/packages/codescale-ffmpeg-php)[opentok/opentok

OpenTok is a platform for creating real time streaming video applications, created by TokBox.

1443.2M10](/packages/opentok-opentok)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
