updated scraper with required/recommended indicator for books and tighter code