qhoekman/videoscrapers
Composer 安装命令:
composer require qhoekman/videoscrapers
包简介
Scraping rich media resources from various file sharing websites.
README 文档
README
This Laravel 4 package provides a variety of video scrapers:
video44
Installation
Begin by installing this package through Composer. Edit your project's composer.json file to require qhoekman/videoscrapers.
"requirev": {
"qhoekman/videoscrapers": "dev-master"
}
Next, update Composer from the Terminal:
composer update
Once this operation completes, the final step is to add the alias. Open app/config/app.php, and add a new item to the aliases array.
"VideoScrapers" => 'QHoekman\VideoScrapers\VideoScrapers'
That's it! You're all set to go.
Usage
You can use the scraper like the following:
$iframe = '<iframe src="http://www.video44.net/gogo/?w=718&h=438&file=naruto-001.flv&sv=1 " scrolling="no" width="718" height="438" marginheight="0" marginwidth="0" frameborder="0"></iframe>';
return VideoScrapers::instance()->video44->decodeStreamByIframe($iframe);
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-01-03