timschwartz / rsstvtorrents
Parses RSS feeds and returns an array of TV shows and torrents
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/timschwartz/rsstvtorrents
Requires
- willvincent/feeds: ^2.5.0
 
This package is auto-updated.
Last update: 2025-10-18 17:10:55 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
                    )
                )
        )
)