A script to download posts and auxilliary post details from software engineering daily via the Wordpress api: https://softwareengineeringdaily.com/wp-json/wp/v2/posts and store it into the DB, to be accessed by the sedaily API.
- npm install
- cp .env.example .env
Note: Tested on Node version 7.10.1
node index.js
node getImg.js
node getMp3.js
node getTags.js
node addTags .js
Also make sure to run these to populate missing fields like featuredImage, etc.