I removed the MAGNET_RE stuff, since it isn't used in the program.
The ode basically uses a ton of regex checks to find specific parts of the magnet url, and then chops it up into the Magnet struct.