timschwartz / rsstvtorrents
Parses RSS feeds and returns an array of TV shows and torrents
dev-master
2023-05-02 03:03 UTC
Requires
- willvincent/feeds: ^2.5.0
This package is auto-updated.
Last update: 2025-03-01 00:13:43 UTC
README
Parses RSS feeds and returns an array of TV shows and torrents
Usage
Available feeds
$parser = new RSSParser();
print_r($parser->getURLs());
Array
(
[0] => https://eztv.re/ezrss.xml
[1] => https://www.goodjobmedia.com/feed/
[2] => https://horriblesubs.info/rss.php?res=all
[3] => https://horriblesubs.info/rss.php?res=sd
[4] => https://horriblesubs.info/rss.php?res=720
[5] => https://horriblesubs.info/rss.php?res=1080
)
Output
$parser = new RSSParser();
print_r($parser->getTorrents($url));
Array
(
[Public Domain Show] => Array
(
[S01E06] => Array
(
[0] => Array
(
[magnetURI] => magnet:?xt=...
[size] => 310368748
[resolution] => SD
)
[1] => Array
(
[magnetURI] => magnet:?xt=...
[size] => 620668788
[resolution] => 720p
)
)
[S01E07] => Array
(
[0] => Array
(
[magnetURI] => magnet:?xt=...
[size] => 450748435
[resolution] => 720p
)
[1] => Array
(
[magnetURI] => magnet:?xt=...
[size] => 1150748435
[resolution] => 1080p
)
)
)
[Another Uncopyrighted Show] => Array
(
[S10E03] => Array
(
[0] => Array
(
[magnetURI] => magnet:?xt=...
[size] => 350478452
[resolution] => 720p
)
)
)
)