validation for scraper