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.