Automatic recognition of a scraper by the path