xurumelous/torrent-scraper

为在多个网站上搜索种子文件提供了一个抽象层。


README

Build Status

关于

此库提供了一个在多个种子网站上搜索种子文件的抽象层。

用法

<?php

$scraperService = new \Xurumelous\TorrentScraper\TorrentScrapperService(['ezTv', 'kickassTorrents']);
$results = $scraperService->search('elementaryos');

foreach ($results as $result) {
	$result->getName();
    $result->getSeeders();
    $result->getLeechers();
    $result->getTorrentUrl();
    $result->getMagnetUrl();
}

可用的适配器