A python script allows you to enter the name of the show, scrubs it from a tv guide website and adds the release date of each episode into a scheduler. Then, the scheduler fires off and searches for each episode on a torrent aggregator (like torrentz or something) and downloads it from the best seed/leech ratio result. All without your intervention since torrent RSS is not very reliable in the public tracker scenario.
What would be the legality of distributing that script? (depending on legality, I may or may not write or have already written such a script)