Similar to what @truftruf said. You could probably build something similar to RARBG's API (https://torrentapi.org/apidocs_v2.txt). I find it to be immensely useful.
I don't know if there's a better way, like including all that data in the RSS feed somehow. Otherwise one would have to scrape the HTML to get that data, which would be less reliable.