Reworked the way that urls and handled into a helper function. This fixes the problem of having to copy and paste each url. Also added a writedebug so I can output to a file in the future. Removed a broken test that I'm not sure if those urls even work, so more work to be done there.