how Scrappy works