scraper code for mint in node