xurumelous / torrent-scraper
Provide an abstraction to seach for torrent files on many websites.
Package info
github.com/xurumelous/torrent-scraper
Language:HTML
pkg:composer/xurumelous/torrent-scraper
v1.0.5
2017-08-24 18:29 UTC
Requires
- php: >=5.5
- ext-curl: *
- guzzlehttp/guzzle: ~6.2
- symfony/css-selector: >=2.6
- symfony/dom-crawler: >=2.6
Requires (Dev)
- phpunit/phpunit: 5.2.*
- squizlabs/php_codesniffer: 2.*
- symfony/var-dumper: >=2.6
This package is not auto-updated.
Last update: 2026-07-01 04:52:55 UTC
README
About
This library provides an abstraction to search for torrent files accross some torrent websites.
Usage
<?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(); }
Available adapters
- ezTv
- kickassTorrents - Needs refactoring since the page changed.
- thePirateBay