I gave it a try today, and killed an afternoon getting nowhere near successful.
Part of the problem was the website I was working on had a very strange search form to start with.
I wish there was a way you could make a graphical based script editor.
Sort of one pane showing search results on the site, and in another pane the parameters (torrent name, seeds, peers, etc.) you need to match up.
Then as you select each parameter, you highlight where it is on the results page and click 'ok'. Do each parameter, then test if it looks right with a new search and fine tune from there.
Just a thought. I'm sure it's much easier to say then to actually implement.
It would mean idiots like me could throw together a script with little work.