定制 robinflyhigh/tubestrip 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

robinflyhigh/tubestrip

最新稳定版本:v0.1.5

Composer 安装命令:

composer require robinflyhigh/tubestrip

包简介

YouTube Crawler

README 文档

README

Simple youtube scraper

Version Total Downloads License codecov

early development

Features

  • Search Youtube
  • Get a video title, description, view count, and published date from a Youtube ID

Installation

Install tubestrip with composer:

composer require robinflyhigh/tubestrip

Examples

<?php
use acidjazz\tubestrip\TubeStrip;

$ts = new TubeStrip();
$results = $ts->search('GETV ANSI Show');
dump($results);
array:20 [▼
  0 => {#3768 ▼
    +"id": "r_cYOi3pnhA"
    +"title": "GETV: ANSI Art for the Masses"
  }
...
<?php
use acidjazz\tubestrip\TubeStrip;

$ts = new TubeStrip();
dump($ts->get('r_cYOi3pnhA');
{#1588 ▼
  +"title": "GETV: ANSI Art for the Masses"
  +"description": """
    Back before there was the Internet, early caveman dialed into computer bulletin board systems or BBSes to get their online fix. Many of these boards distinguish ▶

    Originally posted:
    http://www.geekentertainment.tv/2008/...
    """
  +"viewCount": 55585
  +"date": "Feb 9 2008"
}

统计信息

  • 总下载量: 4
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-04-18