Changed from class-based to function-based for extracting urls from shortening services. Updated header for requests. Added an argument for running doctests, added a doctest.