Cleaned up function to retrieve ticker symbols by category. Cleaned scrape webpage function.