- Flight Planner - Link to my repo
Javascript
- node-fetch = so node can process the fetching
- node 'fs' = so the files can be writtent to disk
- jsdom = DOM parser for node
- For each page: ** Fetch text ** Parse text with 'jsdom' ** Select specific Dom elements & text content (can be multiple) ** For each of multiple data, add it to an object ** Parse this object into Json ** Save the current object to disk with 'fs' ** Repeat...
Run this:
npm i
- Open a terminal in root
- Use this command:
node collectIATA.js
- Check the folder where all your files are :D