定制 flatgreen/waux 二次开发

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

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

flatgreen/waux

最新稳定版本:v1.4.1

Composer 安装命令:

composer require flatgreen/waux

包简介

Try to extract media (audio) information from the web

README 文档

README

Try to extract media (audio) information from the web !

Prerequisites

  • php >= 8.1

Installation

  • Use the package manager composer to install Waux.
composer require flatgreen/waux
  • Optional: Create a 'cache' directory (with read|write permissions), by default the cache directory is inside the system temporary directory.

Usage

require_once 'vendor/autoload.php';
use Flatgreen\Waux\Waux;

const CACHE_DURATION = 345600;
const CACHE_DIRECTORY = 'cache';

$cache_options = ['cache_directory' => CACHE_DIRECTORY, 'cache_duration' => CACHE_DURATION];
$http_options = ['header' => 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/124.0'];

$waux = new Waux($cache_options, $http_options);

$url = '...';
var_dump($waux->getExtractorClass($url));
var_dump($waux->extract($url)->getAll());

Extractors

For the moment, just some web extractors.

Changelog

changelog

License

Waux is licensed under the MIT License (MIT). Please see the license file for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-19