This scraper is for learning purposes only, and should not be used to steal data that does not belong to you.
This is a simple web scraper built using Node and TypeScript. It uses Cheerio, Axios and Readline to pull recipe information for an allrecipes.com page, and return it as an object in the console.
After downloading the repo, use npm install
to get set up. Then run npm start
to use the script. You will be prompted to enter a URL for a recipe found on AllRecipes.com. Paste a URL in, then hit enter. A moment later, you should see an object with the ingredients, and instructions for that recipe.
Some example URLS: