scrapper for nodejs with middleware