Closed IsaacAbrahamson closed 7 years ago
Hey Isaac - Sorry I missed this while I was working on the front end.
I'm pushing some big changes to the repo that builds out a front end and does some refactoring as well.
Once that's done, feel free to tinker with it afterwards :)
Sure, no problem, glad you got the web app working!
Hello, Jackson, I really love your project! When I first looked at it, it was a little confusing and unorganized, so I tried to tidy things up.
My first change was moving all the basic scraping utility function to their own module,
scraper.js
. I think this is a good idea since it separates the scraping logic fromindex.js
which performs the command line logic. This will also make it easy to implement an Express server if you do decide to do that later.My second major change was refactoring
index.js
a bit to improve readability, especially using async functions to make code read synchronously!Let me know what you think, I hope you like some of my ideas!