andreinocenti/php-social-scrapper
最新稳定版本:1.0.1
Composer 安装命令:
composer require andreinocenti/php-social-scrapper
包简介
A package that scrap social media content
README 文档
README
It is a library to scrap social media data from a given URL.
Installation
composer require andreinocenti/php-social-scrapper
Supported Social Medias
- TikTok
Usage
use AndreInocenti\PhpSocialScrapper\SocialScrapper; $scrapper = new SocialScrapper(); $scrappedData = $scrapper->fetch('https://www.instagram.com/p/CT9J9Z9r1Zz/');
Important information
- For twitter videos we use Twitsave API. It is a third-party service so it can be offline or not working properly.
- Videos for TikTok, Instagram, Facebook, and LinkedIn are not supported yet, the package can scrap the text and some engagement data. But the video return as a blob.
For tests
## up the container docker compose up -d ## exec the test into the container docker exec php-social-scrapper ./vendor/bin/pest ## to stop the container docker compose down -v
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-08-13