Refactored Yahoo Finance HTML scraper