PHPackages                             mickeyto/svideo - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. mickeyto/svideo

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

mickeyto/svideo
===============

videos parser

0.12(6y ago)013MITPHPPHP &gt;=7.1.3

Since Jun 27Pushed 4y agoCompare

[ Source](https://github.com/Mickeyto/svideo)[ Packagist](https://packagist.org/packages/mickeyto/svideo)[ RSS](/packages/mickeyto-svideo/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (3)Versions (12)Used By (0)

svideo
======

[](#svideo)

示例用法
====

[](#示例用法)

```
use Mickeyto\SVideo\SVideo;
use PHPUnit\Framework\TestCase;

class ParserTest extends TestCase
{
    /**
     * @test
     */
    public function twitterTest()
    {
        $svido = new SVideo();
        //解析域名是否在支持列表
        $parser = $svido->parser('https://twitter.com/i/status/1142189380661989376');
          //设置代理方法
//        $parser->setHttpProxy('http://127.0.0.1:1087');
        //执行解析
        $parser->fetch();
        //返回解析结果 Array ['title' => '', 'playlist' => []]
        $this->assertEmpty($parser->playlist());
    }

    /**
     * @test
     * @throws \Mickeyto\SVideo\Exception\ParserException
     */
    public function pornTest()
    {
        $svido = new SVideo();
        $parser = $svido->parser('http://91porn.com/view_video.php?viewkey=edc5bf40273f98d59bb6&page=9&viewtype=basic&category=mr');
//        $parser->setHttpProxy('http://127.0.0.1:1087');
        $parser->fetch();

        $this->assertEmpty($parser->playlist());

    }

    /**
     * @test
     * @throws \Mickeyto\SVideo\Exception\ParserException
     */
    public function iqiyiTest()
    {
        $svido = new SVideo();
        $parser = $svido->parser('http://www.iqiyi.com/w_19s1z2krpp.html');
        $parser->fetch();

        $this->assertEmpty($parser->playlist());
    }

    /**
     * @test
     * @throws \Mickeyto\SVideo\Exception\ParserException
     */
    public function toutiaoimgTest()
    {
        $svido = new SVideo();
        $parser = $svido->parser('https://m.toutiaoimg.com/group/6704875330928116228/?app=news_article×tamp=1561439252&group_id=6704875330928116228');

//        $parser->setHttpProxy('http://127.0.0.1:1087');
        $parser->fetch();

        $this->assertEmpty($parser->playlist());
    }

    /**
     * @test
     * @throws \Mickeyto\SVideo\Exception\ParserException
     */
    public function youkuTest()
    {
        $svido = new SVideo();
        $parser = $svido->parser('http://v.youku.com/v_show/id_XNDI0MDk1MjQxNg==.html?spm=a2h0z.8244218.2371631.d6373');
        $parser->fetch();

        $this->assertEmpty($parser->playlist());
    }

}
```

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

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

Every ~6 days

Recently: every ~15 days

Total

11

Last Release

2445d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9dc1dc599e3a0687ec31e4057cc64d82e63fc6365e91596b384b0a4ebeca97e2?d=identicon)[HuangMic](/maintainers/HuangMic)

---

Top Contributors

[![Mickeyto](https://avatars.githubusercontent.com/u/20398129?v=4)](https://github.com/Mickeyto "Mickeyto (7 commits)")

### Embed Badge

![Health badge](/badges/mickeyto-svideo/health.svg)

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

###  Alternatives

[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9738.8k](/packages/sauladam-shipment-tracker)[duckfusion/waddle

PHP Library for parsing running GPS activities and calculating metrics

364.9k](/packages/duckfusion-waddle)

PHPackages © 2026

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