Added helper functions for basic page scraping