this simplifies functions and tests, and will make currency optional/variable later
extractPageTitleFromURL