refactored URL webscraper flexiblility