Works great, found a couple possible new bugs.
Search results from a site include the | character.
Need to remove an instance of it, but t=replace(t,`|`,``) fails to find the character. Also tried `|` with no luck. (I copy pasted the symbol to make sure it wasn't something weird.)
Second, .torrent results from site include many instances of ampersands in the form of &.
View Torrent Details, utorrent and copy/pasting in browser fails to work with the results.
Added $torrent=replace(r,`&`,`&`)
in script to make it work, but I'm not sure why it doesn't translate properly.