Support for magnet links

Yep, it has a slight problem, seems to stop link detection at the %.