minor refactoring within scrape_meta_data